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

#include <hil_interface.h>

Inheritance diagram for rotors_hil::HilSensorLevelInterface:
Inheritance graph
[legend]

List of all members.

Public Member Functions

std::vector< mavros_msgs::Mavlink > CollectData ()
 Gather data collected from ROS messages into MAVLINK messages.
 HilSensorLevelInterface (const Eigen::Quaterniond &q_S_B)
 Constructor.
virtual ~HilSensorLevelInterface ()
 Destructor.

Private Attributes

uint64_t gps_interval_nsec_
 Interval between outgoing HIL_GPS messages.
mavlink_hil_gps_t hil_gps_msg_
 MAVLINK HIL_GPS message.
mavlink_hil_sensor_t hil_sensor_msg_
 MAVLINK HIL_SENSOR message.
uint64_t last_gps_pub_time_nsec_
 Nanosecond portion of the last HIL_GPS message timestamp.

Detailed Description

Definition at line 97 of file hil_interface.h.


Constructor & Destructor Documentation

rotors_hil::HilSensorLevelInterface::HilSensorLevelInterface ( const Eigen::Quaterniond &  q_S_B)

Constructor.

Parameters:
[in]q_S_BQuaternion rotation from body frame to NED frame.

Definition at line 21 of file hil_sensor_level_interface.cpp.

Destructor.

Definition at line 80 of file hil_sensor_level_interface.cpp.


Member Function Documentation

std::vector< mavros_msgs::Mavlink > rotors_hil::HilSensorLevelInterface::CollectData ( ) [virtual]

Gather data collected from ROS messages into MAVLINK messages.

Returns:
Vector of MAVLINK messages (in MAVROS format) to be publised.

Implements rotors_hil::HilInterface.

Definition at line 83 of file hil_sensor_level_interface.cpp.


Member Data Documentation

Interval between outgoing HIL_GPS messages.

Definition at line 116 of file hil_interface.h.

MAVLINK HIL_GPS message.

Definition at line 110 of file hil_interface.h.

MAVLINK HIL_SENSOR message.

Definition at line 113 of file hil_interface.h.

Nanosecond portion of the last HIL_GPS message timestamp.

Definition at line 119 of file hil_interface.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