PX4 ROS 2 Interface Library
Library to interface with PX4 from a companion computer using ROS 2
|
Setpoint type for direct rate control. More...
#include <px4_ros2/control/setpoint_types/experimental/rates.hpp>
Public Member Functions | |
RatesSetpointType (Context &context) | |
Configuration | getConfiguration () override |
float | desiredUpdateRateHz () override |
void | update (const Eigen::Vector3f &rate_setpoints_ned_rad, const Eigen::Vector3f &thrust_setpoint_frd) |
Public Member Functions inherited from px4_ros2::SetpointBase | |
SetpointBase (Context &context) | |
std::shared_ptr< SetpointBase > | getSharedPtr () |
void | setShouldActivateCallback (const ShouldActivateCB &should_activate_cb) |
void | setActive (bool active) |
Additional Inherited Members | |
Public Types inherited from px4_ros2::SetpointBase | |
using | ShouldActivateCB = std::function< void()> |
Protected Member Functions inherited from px4_ros2::SetpointBase | |
void | onUpdate () |
Setpoint type for direct rate control.