Vehicle Model base class.
More...
#include <VehicleModel.h>
Vehicle Model base class.
This class implements a base vehicle model class, it is used in the RobotModel class in order to implement the manipulators moving platform.
◆ VehicleModel()
| rml::VehicleModel::VehicleModel |
( |
const std::string |
id | ) |
|
Default constructor.
- Parameters
-
◆ ~VehicleModel()
| virtual rml::VehicleModel::~VehicleModel |
( |
| ) |
|
|
virtual |
◆ AccelerationVector() [1/2]
set the vehicle acceleration expressed wrt to the vehicle frame
- Parameters
-
| fbkAcc | vehicle acceleration |
◆ AccelerationVector() [2/2]
| auto rml::VehicleModel::AccelerationVector |
( |
| ) |
const -> const Eigen::Vector6d& |
|
inline |
Method returning the acceleration wrt to the vehicle frame.
- Returns
- acceleration vector
◆ AttachRigidBodyFrame()
Method adding a rigid body frame to the vehicle.
- Parameters
-
| ID | Id of the frame. |
| TMat | Transformation matrix of the frame. |
◆ ControlVector() [1/2]
Method setting the control vector.
- Parameters
-
| controlRef | control vector. |
◆ ControlVector() [2/2]
Method returning the vehicle control vector.
- Returns
- vehicle control vector
◆ ID() [1/2]
| auto rml::VehicleModel::ID |
( |
| ) |
-> std::string& |
|
inline |
Method setting the id.
- Parameters
-
◆ ID() [2/2]
| auto rml::VehicleModel::ID |
( |
| ) |
const -> const std::string& |
|
inline |
Method returning the id.
- Returns
- vehicle id.
◆ IsModelInizialized()
| auto rml::VehicleModel::IsModelInizialized |
( |
| ) |
const -> bool |
|
inline |
Method returning whether the model is initialized.
- Returns
- true if the model is initialized, false otherwise.
◆ Jacobian() [1/2]
| Eigen::MatrixXd rml::VehicleModel::Jacobian |
( |
const std::string & |
ID | ) |
|
Method returning the jacobian related to the frame id in input.
- Parameters
-
- Returns
- transformation matrix.
◆ Jacobian() [2/2]
◆ PositionOnInertialFrame() [1/2]
Get the inertialF_T_vehicleF independently from the DOF of the vehicle.
- Returns
- inertialF_T_vehicleF the postion of the vehicle w.r.t the inertial frame
◆ PositionOnInertialFrame() [2/2]
Set the base position The method updates the internal base position state. This method should be called before the evaluate methods in order to have the updated values.
- Parameters
-
| [in] | inertialF_T_vehicleF | the postion of the vehicle w.r.t the inertial frame |
◆ TransformationMatrix() [1/2]
Method returning the transformation matrix related to the frame id in input.
- Parameters
-
- Returns
- transformation matrix.
◆ TransformationMatrix() [2/2]
Method returing a transformation matrix from frameID_j to frameID_k, i.e. jTk.
- Parameters
-
| [in] | frameID_j | first frame; |
| [in] | framID_k | second frame; |
- Returns
- Transformation Matrix jTk.
◆ VelocityVector() [1/2]
Set the base position The method updates the internal base velocity state. This method should be called before the evaluate methods in order to have the updated value.
◆ VelocityVector() [2/2]
Get the complete 6D velocity, in the form of [x_dot y_dot z_dot wx wy wz], independently from the Dof of the vehicle.
- Returns
- The vehicle velocity
◆ acceleration_
◆ controlRef_
◆ I3_
◆ id_
| std::string rml::VehicleModel::id_ |
|
protected |
◆ inertialF_T_vehicleF_
vehicle position w.r.t the inertial frame
◆ isMapInitialized_
| bool rml::VehicleModel::isMapInitialized_ |
|
protected |
boolean stating whether the transformation and jacobian maps are initialized
◆ jacobians_
| std::unordered_map<std::string, Eigen::MatrixXd> rml::VehicleModel::jacobians_ |
|
protected |
◆ modelInitialized_
| bool rml::VehicleModel::modelInitialized_ |
|
protected |
boolean stating whether the model is initialized
◆ rigidBodyFrames_
map of the attached body frames
◆ transformation_
map of vehicle transformations
◆ velocity_
◆ vJv_
The documentation for this class was generated from the following file: