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

Public Types

using CheckCallback = std::function< void(HealthAndArmingCheckReporter &)>
 

Public Member Functions

 HealthAndArmingChecks (rclcpp::Node &node, CheckCallback check_callback, const std::string &topic_namespace_prefix="")
 
 HealthAndArmingChecks (const HealthAndArmingChecks &)=delete
 
bool doRegister (const std::string &name)
 
void setModeRequirements (const RequirementFlags &mode_requirements)
 
RequirementFlagsmodeRequirements ()
 

Friends

class ModeBase
 
class ModeExecutorBase
 

Member Function Documentation

◆ doRegister()

bool px4_ros2::HealthAndArmingChecks::doRegister ( const std::string &  name)

Register the checks. Call this once on startup. This is a blocking method.

Parameters
nameregistration name. Should uniquely identify the component with length < 25 characters
Returns
true on success

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