TeensyNanoExoCode
Loading...
Searching...
No Matches
Public Member Functions | List of all members
InclinationDetector Class Reference

Given stance and ankle angle data, return the current estimate of inclination. More...

#include <InclinationDetector.h>

Public Member Functions

 InclinationDetector ()
 
void set_decline_angle (float threshold)
 Set the decline angle object.
 
void set_incline_angle (float threshold)
 Set the incline angle threshold.
 
Inclination check (const bool is_stance, const bool fsr_calibrating, const float norm_angle)
 check the current data
 

Detailed Description

Given stance and ankle angle data, return the current estimate of inclination.

Constructor & Destructor Documentation

◆ InclinationDetector()

InclinationDetector::InclinationDetector ( )

Member Function Documentation

◆ check()

Inclination InclinationDetector::check ( const bool  is_stance,
const bool  fsr_calibrating,
const float  norm_angle 
)

check the current data

Parameters
is_stance
norm_angle
Returns
Inclination

◆ set_decline_angle()

void InclinationDetector::set_decline_angle ( float  threshold)

Set the decline angle object.

Parameters
threshold

◆ set_incline_angle()

void InclinationDetector::set_incline_angle ( float  threshold)

Set the incline angle threshold.

Parameters
threshold

The documentation for this class was generated from the following files: