#include <hil_interface.h>
Public Member Functions | |
std::vector< mavros_msgs::Mavlink > | CollectData () |
Gather data collected from ROS messages into MAVLINK messages. | |
HilStateLevelInterface (const Eigen::Quaterniond &q_S_B) | |
Constructor. | |
virtual | ~HilStateLevelInterface () |
Destructor. | |
Private Attributes | |
mavlink_hil_state_quaternion_t | hil_state_qtrn_msg_ |
MAVLINK HIL_STATE_QUATERNION message. |
Definition at line 122 of file hil_interface.h.
rotors_hil::HilStateLevelInterface::HilStateLevelInterface | ( | const Eigen::Quaterniond & | q_S_B | ) |
Constructor.
[in] | q_S_B | Quaternion rotation from body frame to NED frame. |
Definition at line 21 of file hil_state_level_interface.cpp.
Destructor.
Definition at line 61 of file hil_state_level_interface.cpp.
std::vector< mavros_msgs::Mavlink > rotors_hil::HilStateLevelInterface::CollectData | ( | ) | [virtual] |
Gather data collected from ROS messages into MAVLINK messages.
Implements rotors_hil::HilInterface.
Definition at line 64 of file hil_state_level_interface.cpp.
mavlink_hil_state_quaternion_t rotors_hil::HilStateLevelInterface::hil_state_qtrn_msg_ [private] |
MAVLINK HIL_STATE_QUATERNION message.
Definition at line 135 of file hil_interface.h.