TrajectoryFollowingSimulation::Sample Struct Reference

#include <armarx/navigation/simulation/TrajectoryFollowingSimulation.h>

Public Attributes

bool accelerationSaturated {false}
 True when a limit was binding, i.e. the base could not follow the command.
 
float angularAcceleration {0.F}
 
Eigen::VectorXf appliedMotorTorques
 Motor torque after clipping [N m]. Only set for OmniWheelTorque.
 
float commandedAngular {0.F}
 
Eigen::Vector2f commandedLinearLocal {Eigen::Vector2f::Zero()}
 Filtered twist as commanded to the platform, in the robot frame.
 
Eigen::Vector2f commandedVelocityGlobal {Eigen::Vector2f::Zero()}
 Commanded linear velocity in the global frame, i.e. what the mass is asked for.
 
Eigen::VectorXf commandedWheelVelocities
 Wheel speeds the command asks for [rev/s]. Only set for the omni-wheel model.
 
float distanceToGoal {0.F}
 Distance to the last trajectory point [mm].
 
float dropPointVelocity {0.F}
 Velocity of the trajectory point the controller is currently tracking.
 
core::Pose global_T_robot {core::Pose::Identity()}
 
float linearAcceleration {0.F}
 Acceleration actually applied, bounded by PlatformDynamics.
 
Eigen::ArrayXi motorSaturated
 Which motors hit their torque bound. Only set for OmniWheelTorque.
 
float orientationError {0.F}
 
float requiredAngularAcceleration {0.F}
 
float requiredLinearAcceleration {0.F}
 Acceleration needed to match the command within one cycle, ignoring the limit.
 
Eigen::VectorXf requiredMotorTorques
 Motor torque the command asks for [N m]. Only set for OmniWheelTorque.
 
Eigen::VectorXf requiredWheelAccelerations
 Per-wheel acceleration the command asks for [rev/s^2], ignoring the limit.
 
float speed {0.F}
 
float time {0.F}
 
float trackingError {0.F}
 Distance from the robot to the trajectory point it is tracking [mm].
 
Eigen::Vector2f velocityGlobal {Eigen::Vector2f::Zero()}
 Achieved linear velocity in the global frame, after the acceleration limit.
 
Eigen::ArrayXi wheelSaturated
 Which wheels hit their acceleration bound. Only set for OmniWheelVelocity.
 
Eigen::ArrayXi wheelSpeedSaturated
 Which wheels hit their speed bound. Only set for OmniWheelTorque.
 
Eigen::VectorXf wheelVelocities
 Wheel speeds actually reached [rev/s]. Only set for the omni-wheel model.
 

Detailed Description

Definition at line 261 of file TrajectoryFollowingSimulation.h.

Member Data Documentation

◆ accelerationSaturated

bool accelerationSaturated {false}

True when a limit was binding, i.e. the base could not follow the command.

Definition at line 291 of file TrajectoryFollowingSimulation.h.

◆ angularAcceleration

float angularAcceleration {0.F}

Definition at line 288 of file TrajectoryFollowingSimulation.h.

◆ appliedMotorTorques

Eigen::VectorXf appliedMotorTorques

Motor torque after clipping [N m]. Only set for OmniWheelTorque.

Definition at line 309 of file TrajectoryFollowingSimulation.h.

◆ commandedAngular

float commandedAngular {0.F}

Definition at line 270 of file TrajectoryFollowingSimulation.h.

◆ commandedLinearLocal

Eigen::Vector2f commandedLinearLocal {Eigen::Vector2f::Zero()}

Filtered twist as commanded to the platform, in the robot frame.

Definition at line 268 of file TrajectoryFollowingSimulation.h.

◆ commandedVelocityGlobal

Eigen::Vector2f commandedVelocityGlobal {Eigen::Vector2f::Zero()}

Commanded linear velocity in the global frame, i.e. what the mass is asked for.

Definition at line 273 of file TrajectoryFollowingSimulation.h.

◆ commandedWheelVelocities

Eigen::VectorXf commandedWheelVelocities

Wheel speeds the command asks for [rev/s]. Only set for the omni-wheel model.

Definition at line 294 of file TrajectoryFollowingSimulation.h.

◆ distanceToGoal

float distanceToGoal {0.F}

Distance to the last trajectory point [mm].

This is what the controller itself reports as positionError, despite the name.

Definition at line 326 of file TrajectoryFollowingSimulation.h.

◆ dropPointVelocity

float dropPointVelocity {0.F}

Velocity of the trajectory point the controller is currently tracking.

Definition at line 318 of file TrajectoryFollowingSimulation.h.

◆ global_T_robot

core::Pose global_T_robot {core::Pose::Identity()}

Definition at line 265 of file TrajectoryFollowingSimulation.h.

◆ linearAcceleration

float linearAcceleration {0.F}

Acceleration actually applied, bounded by PlatformDynamics.

Definition at line 284 of file TrajectoryFollowingSimulation.h.

◆ motorSaturated

Eigen::ArrayXi motorSaturated

Which motors hit their torque bound. Only set for OmniWheelTorque.

Definition at line 312 of file TrajectoryFollowingSimulation.h.

◆ orientationError

float orientationError {0.F}

Definition at line 328 of file TrajectoryFollowingSimulation.h.

◆ requiredAngularAcceleration

float requiredAngularAcceleration {0.F}

Definition at line 286 of file TrajectoryFollowingSimulation.h.

◆ requiredLinearAcceleration

float requiredLinearAcceleration {0.F}

Acceleration needed to match the command within one cycle, ignoring the limit.

Definition at line 281 of file TrajectoryFollowingSimulation.h.

◆ requiredMotorTorques

Eigen::VectorXf requiredMotorTorques

Motor torque the command asks for [N m]. Only set for OmniWheelTorque.

Definition at line 306 of file TrajectoryFollowingSimulation.h.

◆ requiredWheelAccelerations

Eigen::VectorXf requiredWheelAccelerations

Per-wheel acceleration the command asks for [rev/s^2], ignoring the limit.

Definition at line 300 of file TrajectoryFollowingSimulation.h.

◆ speed

float speed {0.F}

Definition at line 278 of file TrajectoryFollowingSimulation.h.

◆ time

float time {0.F}

Definition at line 263 of file TrajectoryFollowingSimulation.h.

◆ trackingError

float trackingError {0.F}

Distance from the robot to the trajectory point it is tracking [mm].

This is the cross-track error, i.e. how far the robot has drifted off the path.

Definition at line 322 of file TrajectoryFollowingSimulation.h.

◆ velocityGlobal

Eigen::Vector2f velocityGlobal {Eigen::Vector2f::Zero()}

Achieved linear velocity in the global frame, after the acceleration limit.

Definition at line 276 of file TrajectoryFollowingSimulation.h.

◆ wheelSaturated

Eigen::ArrayXi wheelSaturated

Which wheels hit their acceleration bound. Only set for OmniWheelVelocity.

Definition at line 303 of file TrajectoryFollowingSimulation.h.

◆ wheelSpeedSaturated

Eigen::ArrayXi wheelSpeedSaturated

Which wheels hit their speed bound. Only set for OmniWheelTorque.

Definition at line 315 of file TrajectoryFollowingSimulation.h.

◆ wheelVelocities

Eigen::VectorXf wheelVelocities

Wheel speeds actually reached [rev/s]. Only set for the omni-wheel model.

Definition at line 297 of file TrajectoryFollowingSimulation.h.


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