17 #ifndef ROTORS_HIL_INTERFACE_NODE_H_ 18 #define ROTORS_HIL_INTERFACE_NODE_H_ 67 #endif // ROTORS_HIL_INTERFACE_NODE_H_
ros::Rate rate_
Object for spinning.
std::unique_ptr< HilInterface > hil_interface_
Pointer to the HIL interface object.
ros::Publisher actuators_pub_
ROS publisher for sending actuator commands.
void MainTask()
Main execution loop.
static constexpr double kDefaultBodyToSensorsRoll
static const std::string kDefaultMavlinkPubTopic
static constexpr bool kDefaultSensorLevelHil
static const std::string kDefaultHilControlsSubTopic
void HilControlsCallback(const mavros_msgs::HilControlsConstPtr &hil_controls_msg)
Callback for handling HilControls messages.
virtual ~HilInterfaceNode()
ros::Subscriber hil_controls_sub_
ROS subscriber for handling HilControls messages.
static constexpr double kDefaultBodyToSensorsYaw
static constexpr double kDefaultBodyToSensorsPitch
static constexpr double kDefaultHilFrequency
ros::NodeHandle nh_
ROS node handle.
ros::Publisher mavlink_pub_
ROS publisher for sending MAVLINK messages.