Public Member Functions | Public Attributes | List of all members
fuse_models::Unicycle2D::StateHistoryElement Struct Reference

Structure used to maintain a history of "good" pose estimates. More...

#include <unicycle_2d.h>

Public Member Functions

void print (std::ostream &stream=std::cout) const
 
void validate () const
 Validate the state components: pose, linear velocity, yaw velocity and linear acceleration. More...
 

Public Attributes

fuse_core::UUID acc_linear_uuid
 The uuid of the associated linear acceleration variable. More...
 
tf2_2d::Vector2 acceleration_linear
 Body-frame linear acceleration. More...
 
tf2_2d::Transform pose
 Map-frame pose. More...
 
fuse_core::UUID position_uuid
 The uuid of the associated position variable. More...
 
fuse_core::UUID vel_linear_uuid
 The uuid of the associated linear velocity variable. More...
 
fuse_core::UUID vel_yaw_uuid
 The uuid of the associated angular velocity variable. More...
 
tf2_2d::Vector2 velocity_linear
 Body-frame linear velocity. More...
 
double velocity_yaw { 0.0 }
 Body-frame yaw velocity. More...
 
fuse_core::UUID yaw_uuid
 The uuid of the associated orientation variable. More...
 

Detailed Description

Structure used to maintain a history of "good" pose estimates.

Definition at line 95 of file unicycle_2d.h.

Member Function Documentation

◆ print()

void fuse_models::Unicycle2D::StateHistoryElement::print ( std::ostream &  stream = std::cout) const

Definition at line 136 of file unicycle_2d.cpp.

◆ validate()

void fuse_models::Unicycle2D::StateHistoryElement::validate ( ) const

Validate the state components: pose, linear velocity, yaw velocity and linear acceleration.

This validates the state components are finite. It throws an exception if any validation check fails.

Definition at line 149 of file unicycle_2d.cpp.

Member Data Documentation

◆ acc_linear_uuid

fuse_core::UUID fuse_models::Unicycle2D::StateHistoryElement::acc_linear_uuid

The uuid of the associated linear acceleration variable.

Definition at line 101 of file unicycle_2d.h.

◆ acceleration_linear

tf2_2d::Vector2 fuse_models::Unicycle2D::StateHistoryElement::acceleration_linear

Body-frame linear acceleration.

Definition at line 105 of file unicycle_2d.h.

◆ pose

tf2_2d::Transform fuse_models::Unicycle2D::StateHistoryElement::pose

Map-frame pose.

Definition at line 102 of file unicycle_2d.h.

◆ position_uuid

fuse_core::UUID fuse_models::Unicycle2D::StateHistoryElement::position_uuid

The uuid of the associated position variable.

Definition at line 97 of file unicycle_2d.h.

◆ vel_linear_uuid

fuse_core::UUID fuse_models::Unicycle2D::StateHistoryElement::vel_linear_uuid

The uuid of the associated linear velocity variable.

Definition at line 99 of file unicycle_2d.h.

◆ vel_yaw_uuid

fuse_core::UUID fuse_models::Unicycle2D::StateHistoryElement::vel_yaw_uuid

The uuid of the associated angular velocity variable.

Definition at line 100 of file unicycle_2d.h.

◆ velocity_linear

tf2_2d::Vector2 fuse_models::Unicycle2D::StateHistoryElement::velocity_linear

Body-frame linear velocity.

Definition at line 103 of file unicycle_2d.h.

◆ velocity_yaw

double fuse_models::Unicycle2D::StateHistoryElement::velocity_yaw { 0.0 }

Body-frame yaw velocity.

Definition at line 104 of file unicycle_2d.h.

◆ yaw_uuid

fuse_core::UUID fuse_models::Unicycle2D::StateHistoryElement::yaw_uuid

The uuid of the associated orientation variable.

Definition at line 98 of file unicycle_2d.h.


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


fuse_models
Author(s): Tom Moore
autogenerated on Thu Apr 24 2025 02:19:08