PX4 ROS 2 Interface Library
Library to interface with PX4 from a companion computer using ROS 2
px4_ros2::default_actions::Rtl Class Reference

Default action to trigger the RTL mode. More...

#include <px4_ros2/mission/actions/default_actions.hpp>

Inheritance diagram for px4_ros2::default_actions::Rtl:
px4_ros2::ActionInterface

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
 
- Public Member Functions inherited from px4_ros2::ActionInterface
virtual bool canRun (const ActionArguments &arguments, std::vector< std::string > &errors)
 
virtual bool supportsResumeFromLanded ()
 
virtual void deactivate ()
 

Detailed Description

Default action to trigger the RTL mode.

Member Function Documentation

◆ shouldStopAtWaypoint()

bool px4_ros2::default_actions::Rtl::shouldStopAtWaypoint ( const ActionArguments arguments)
inlineoverridevirtual

If this returns true, trajectory navigation stops the vehicle at the previous waypoint.

Reimplemented from px4_ros2::ActionInterface.


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