OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
navigation.orientation_estimator_if.OrientationEstimatorIf Class Reference

Convert sensor measurements into an orientation estimate. More...

Public Member Functions

None start (self, Vector3 acceleration_mps2)
 Initialize the estimator from the first sensor sample.
None stop (self)
 Release resources owned by the estimator.
Orientation update (self, Vector3 acceleration_mps2, Vector3 angular_velocity_rad_s, float elapsed_s)
 Update the orientation estimate.
None reset_heading (self, float heading_deg=0.0)
 Set the estimator's heading reference.

Detailed Description

Convert sensor measurements into an orientation estimate.

Member Function Documentation

◆ reset_heading()

None navigation.orientation_estimator_if.OrientationEstimatorIf.reset_heading ( self,
float heading_deg = 0.0 )

Set the estimator's heading reference.

Parameters
heading_degNew heading reference in degrees.

◆ start()

None navigation.orientation_estimator_if.OrientationEstimatorIf.start ( self,
Vector3 acceleration_mps2 )

Initialize the estimator from the first sensor sample.

Parameters
acceleration_mps2Initial x/y/z acceleration vector in m/s².

◆ update()

Orientation navigation.orientation_estimator_if.OrientationEstimatorIf.update ( self,
Vector3 acceleration_mps2,
Vector3 angular_velocity_rad_s,
float elapsed_s )

Update the orientation estimate.

Parameters
acceleration_mps2Current x/y/z acceleration vector in m/s².
angular_velocity_rad_sCurrent x/y/z angular velocity in rad/s.
elapsed_sSeconds elapsed since the previous update.
Returns
Heading, pitch, and roll in degrees.

The documentation for this class was generated from the following file:
  • controllers/navigation/orientation_estimator_if.py