#include <hil_interface_node.h>
Public Member Functions | |
void | HilControlsCallback (const mavros_msgs::HilControlsConstPtr &hil_controls_msg) |
Callback for handling HilControls messages. | |
HilInterfaceNode () | |
void | MainTask () |
Main execution loop. | |
virtual | ~HilInterfaceNode () |
Private Attributes | |
ros::Publisher | actuators_pub_ |
ROS publisher for sending actuator commands. | |
ros::Subscriber | hil_controls_sub_ |
ROS subscriber for handling HilControls messages. | |
std::unique_ptr< HilInterface > | hil_interface_ |
Pointer to the HIL interface object. | |
ros::Publisher | mavlink_pub_ |
ROS publisher for sending MAVLINK messages. | |
ros::NodeHandle | nh_ |
ROS node handle. | |
ros::Rate | rate_ |
Object for spinning. |
Definition at line 34 of file hil_interface_node.h.
Definition at line 21 of file hil_interface_node.cpp.
rotors_hil::HilInterfaceNode::~HilInterfaceNode | ( | ) | [virtual] |
Definition at line 63 of file hil_interface_node.cpp.
void rotors_hil::HilInterfaceNode::HilControlsCallback | ( | const mavros_msgs::HilControlsConstPtr & | hil_controls_msg | ) |
Callback for handling HilControls messages.
[in] | hil_controls_msg | A HilControls message. |
Definition at line 80 of file hil_interface_node.cpp.
Main execution loop.
Definition at line 66 of file hil_interface_node.cpp.
ROS publisher for sending actuator commands.
Definition at line 51 of file hil_interface_node.h.
ROS subscriber for handling HilControls messages.
Definition at line 57 of file hil_interface_node.h.
std::unique_ptr<HilInterface> rotors_hil::HilInterfaceNode::hil_interface_ [private] |
Pointer to the HIL interface object.
Definition at line 63 of file hil_interface_node.h.
ROS publisher for sending MAVLINK messages.
Definition at line 54 of file hil_interface_node.h.
ROS node handle.
Definition at line 48 of file hil_interface_node.h.
ros::Rate rotors_hil::HilInterfaceNode::rate_ [private] |
Object for spinning.
Definition at line 60 of file hil_interface_node.h.