#include <hil_interface.h>

Public Member Functions | |
| virtual std::vector< mavros_msgs::Mavlink > | CollectData ()=0 |
| Gather data collected from ROS messages into MAVLINK messages. More... | |
| virtual EIGEN_MAKE_ALIGNED_OPERATOR_NEW | ~HilInterface () |
| Destructor. More... | |
Protected Attributes | |
| ros::Subscriber | air_speed_sub_ |
| ROS air speed subscriber. More... | |
| ros::Subscriber | gps_sub_ |
| ROS GPS subscriber. More... | |
| ros::Subscriber | ground_speed_sub_ |
| ROS ground speed subscriber. More... | |
| HilData | hil_data_ |
| Object for storing the latest data. More... | |
| HilListeners | hil_listeners_ |
| Object with callbacks for receiving data. More... | |
| ros::Subscriber | imu_sub_ |
| ROS IMU subscriber. More... | |
| ros::Subscriber | mag_sub_ |
| ROS magnetometer subscriber. More... | |
| boost::mutex | mtx_ |
| Mutex lock for thread safety of reading hil data. More... | |
| ros::NodeHandle | nh_ |
| ROS node handle. More... | |
| ros::Subscriber | pressure_sub_ |
| ROS air pressure subscriber. More... | |
| Eigen::Quaterniond | q_S_B_ |
| Rotation, in quaternion form, from body into sensor (NED) frame. More... | |
| Eigen::Matrix3f | R_S_B_ |
| Rotation, in matrix form, from body into sensor (NED) frame. More... | |
Definition at line 48 of file hil_interface.h.
|
inlinevirtual |
Destructor.
Definition at line 53 of file hil_interface.h.
|
pure virtual |
Gather data collected from ROS messages into MAVLINK messages.
Implemented in rotors_hil::HilStateLevelInterface, and rotors_hil::HilSensorLevelInterface.
|
protected |
ROS air speed subscriber.
Definition at line 64 of file hil_interface.h.
|
protected |
ROS GPS subscriber.
Definition at line 67 of file hil_interface.h.
|
protected |
ROS ground speed subscriber.
Definition at line 70 of file hil_interface.h.
|
protected |
Object for storing the latest data.
Definition at line 88 of file hil_interface.h.
|
protected |
Object with callbacks for receiving data.
Definition at line 91 of file hil_interface.h.
|
protected |
ROS IMU subscriber.
Definition at line 73 of file hil_interface.h.
|
protected |
ROS magnetometer subscriber.
Definition at line 76 of file hil_interface.h.
|
protected |
Mutex lock for thread safety of reading hil data.
Definition at line 94 of file hil_interface.h.
|
protected |
ROS node handle.
Definition at line 61 of file hil_interface.h.
|
protected |
ROS air pressure subscriber.
Definition at line 79 of file hil_interface.h.
|
protected |
Rotation, in quaternion form, from body into sensor (NED) frame.
Definition at line 82 of file hil_interface.h.
|
protected |
Rotation, in matrix form, from body into sensor (NED) frame.
Definition at line 85 of file hil_interface.h.