PX4 ROS 2 Interface Library
Library to interface with PX4 from a companion computer using ROS 2
|
Action to change mission settings (e.g. velocity) More...
#include <px4_ros2/mission/actions/default_actions.hpp>
Public Member Functions | |
std::string | name () const override |
bool | shouldStopAtWaypoint (const ActionArguments &arguments) override |
void | run (const std::shared_ptr< ActionHandler > &handler, const ActionArguments &arguments, const std::function< void()> &on_completed) override |
void | deactivate () override |
![]() | |
virtual bool | canRun (const ActionArguments &arguments, std::vector< std::string > &errors) |
virtual bool | supportsResumeFromLanded () |
Action to change mission settings (e.g. velocity)
|
overridevirtual |
This is called when the mission gets deactivated, i.e., the user switches to a different mode, or the mission finished. It can be used to disable continuous actions.
Reimplemented from px4_ros2::ActionInterface.
|
inlineoverridevirtual |
If this returns true, trajectory navigation stops the vehicle at the previous waypoint.
Reimplemented from px4_ros2::ActionInterface.