Public Member Functions | Private Attributes
rotors_hil::HilInterfaceNode Class Reference

#include <hil_interface_node.h>

List of all members.

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< HilInterfacehil_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.

Detailed Description

Definition at line 34 of file hil_interface_node.h.


Constructor & Destructor Documentation

Definition at line 21 of file hil_interface_node.cpp.

Definition at line 63 of file hil_interface_node.cpp.


Member Function Documentation

void rotors_hil::HilInterfaceNode::HilControlsCallback ( const mavros_msgs::HilControlsConstPtr &  hil_controls_msg)

Callback for handling HilControls messages.

Parameters:
[in]hil_controls_msgA 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.


Member Data Documentation

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.

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.

Object for spinning.

Definition at line 60 of file hil_interface_node.h.


The documentation for this class was generated from the following files:


rotors_hil_interface
Author(s): Pavel Vechersky
autogenerated on Thu Apr 18 2019 02:43:51