PX4 ROS 2 Interface Library
Library to interface with PX4 from a companion computer using ROS 2
px4_ros2::SetpointBase Class Referenceabstract
Inheritance diagram for px4_ros2::SetpointBase:
px4_ros2::AttitudeSetpointType px4_ros2::DirectActuatorsSetpointType px4_ros2::GotoSetpointType px4_ros2::RatesSetpointType px4_ros2::TrajectorySetpointType

Classes

struct  Configuration
 

Public Types

using ShouldActivateCB = std::function< void()>
 

Public Member Functions

 SetpointBase (Context &context)
 
std::shared_ptr< SetpointBasegetSharedPtr ()
 
virtual Configuration getConfiguration ()=0
 
virtual float desiredUpdateRateHz ()
 
void setShouldActivateCallback (const ShouldActivateCB &should_activate_cb)
 
void setActive (bool active)
 

Protected Member Functions

void onUpdate ()
 

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