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

Arguments passed to an action from the mission JSON definition. More...

#include <px4_ros2/mission/mission.hpp>

Public Member Functions

 ActionArguments (const nlohmann::json &json)
 
const nlohmann::json & json () const
 
bool contains (const std::string &key) const
 
template<typename T >
at (const std::string &key) const
 
bool resuming () const
 Check if the action is being resumed. More...
 

Detailed Description

Arguments passed to an action from the mission JSON definition.

Member Function Documentation

◆ resuming()

bool px4_ros2::ActionArguments::resuming ( ) const

Check if the action is being resumed.

This is set when the mission was interrupted and resumed while executing this specific action.


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