Wrapper for representing the state of a CHRONO_Robot.
More...
#include <chrono_robot_pose.h>
|
| | CHRONO_RobotPose (std::shared_ptr< chrono::ChBody > robot_ptr=nullptr) |
| | Constructor. Initialize by passing a pointer to the chrono::ChBody to monitor.
|
| void | set_body (std::shared_ptr< chrono::ChBody > robot_ptr) |
| const chrono::ChVector3d & | position () const |
| | Return the position vector. This is the position of the CoM of the body.
|
| const chrono::ChVector3d & | velocity () const |
| const chrono::ChVector3d & | acceleration () const |
| const chrono::ChMatrix33d & | rotation_matrix () const |
| | Return the rotation matrix.
|
| chrono::ChVector3d | to_world_coords (chrono::ChVector3d point) |
| | Return the transformation of the local to the world coordinats.
|
| chrono::ChVector3d | to_local_coords (chrono::ChVector3d point) |
| | Transform the world point to local coordinates.
|
Wrapper for representing the state of a CHRONO_Robot.
◆ CHRONO_RobotPose()
| bitsim::rb::bitsim_chrono::CHRONO_RobotPose::CHRONO_RobotPose |
( |
std::shared_ptr< chrono::ChBody > | robot_ptr = nullptr | ) |
|
|
inlineexplicit |
Constructor. Initialize by passing a pointer to the chrono::ChBody to monitor.
◆ acceleration()
| const chrono::ChVector3d & bitsim::rb::bitsim_chrono::CHRONO_RobotPose::acceleration |
( |
| ) |
const |
|
inline |
- Returns
- The linear velocity of the monitored body
◆ position()
| const chrono::ChVector3d & bitsim::rb::bitsim_chrono::CHRONO_RobotPose::position |
( |
| ) |
const |
|
inline |
Return the position vector. This is the position of the CoM of the body.
◆ rotation_matrix()
| const chrono::ChMatrix33d & bitsim::rb::bitsim_chrono::CHRONO_RobotPose::rotation_matrix |
( |
| ) |
const |
|
inline |
Return the rotation matrix.
◆ set_body()
| void bitsim::rb::bitsim_chrono::CHRONO_RobotPose::set_body |
( |
std::shared_ptr< chrono::ChBody > | robot_ptr | ) |
|
|
inline |
Set/Reset the chrono::ChBody to monitor
- Parameters
-
◆ to_local_coords()
| chrono::ChVector3d bitsim::rb::bitsim_chrono::CHRONO_RobotPose::to_local_coords |
( |
chrono::ChVector3d | point | ) |
|
|
inline |
Transform the world point to local coordinates.
◆ to_world_coords()
| chrono::ChVector3d bitsim::rb::bitsim_chrono::CHRONO_RobotPose::to_world_coords |
( |
chrono::ChVector3d | point | ) |
|
|
inline |
Return the transformation of the local to the world coordinats.
◆ velocity()
| const chrono::ChVector3d & bitsim::rb::bitsim_chrono::CHRONO_RobotPose::velocity |
( |
| ) |
const |
|
inline |
- Returns
- The linear velocity of the monitored body
The documentation for this class was generated from the following file: