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

Mission definition. More...

#include <px4_ros2/mission/mission.hpp>

Public Member Functions

 Mission (std::vector< MissionItem > mission_items, MissionDefaults mission_defaults={})
 
const MissionDefaultsdefaults () const
 
const std::vector< MissionItem > & items () const
 
bool indexValid (int index) const
 
std::string checksum () const
 

Friends

void from_json (const nlohmann::json &j, Mission &o)
 
void to_json (nlohmann::json &j, const Mission &o)
 

Detailed Description

Mission definition.

Typically loaded from a JSON file


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