Deadalus
|
Container class for Thrusts of four motors. More...
#include <resources.hh>
Public Member Functions | |
Thrust () | |
Default Constructor. | |
gazebo::math::Vector3 | vec3 (int nmb_motor) |
Return thrust in gazebo::math:Vector3 type. | |
gazebo::math::Vector3 | all_vec3 () |
Return sum of thrusts of all motors in gazebo::math::Vector3 type. | |
Public Attributes | |
double | motor [4] |
Private Attributes | |
gazebo::math::Vector3 | motor_vec3 [4] |
thrust in gazebo gazebo::math::Vector3 type |
Container class for Thrusts of four motors.
gazebo::math::Vector3 Thrust::vec3 | ( | int | nmb_motor | ) | [inline] |
Return thrust in gazebo::math:Vector3 type.
nmb_motor | Number of desired motor |