tried building, didn't work
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
// generated from rosidl_adapter/resource/msg.idl.em
|
||||
// with input from px4_msgs/msg/EstimatorAidSource1d.msg
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
|
||||
module px4_msgs {
|
||||
module msg {
|
||||
struct EstimatorAidSource1d {
|
||||
@verbatim (language="comment", text=
|
||||
"time since system start (microseconds)")
|
||||
uint64 timestamp;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"the timestamp of the raw data (microseconds)")
|
||||
uint64 timestamp_sample;
|
||||
|
||||
uint8 estimator_instance;
|
||||
|
||||
uint32 device_id;
|
||||
|
||||
uint64 time_last_fuse;
|
||||
|
||||
float observation;
|
||||
|
||||
float observation_variance;
|
||||
|
||||
float innovation;
|
||||
|
||||
float innovation_variance;
|
||||
|
||||
float test_ratio;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"true when measurements are being fused")
|
||||
boolean fusion_enabled;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"true if the observation has been rejected")
|
||||
boolean innovation_rejected;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"true if the sample was successfully fused")
|
||||
boolean fused;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,47 @@
|
||||
// generated from rosidl_adapter/resource/msg.idl.em
|
||||
// with input from px4_msgs/msg/EstimatorAidSource2d.msg
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
|
||||
module px4_msgs {
|
||||
module msg {
|
||||
typedef float float__2[2];
|
||||
struct EstimatorAidSource2d {
|
||||
@verbatim (language="comment", text=
|
||||
"time since system start (microseconds)")
|
||||
uint64 timestamp;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"the timestamp of the raw data (microseconds)")
|
||||
uint64 timestamp_sample;
|
||||
|
||||
uint8 estimator_instance;
|
||||
|
||||
uint32 device_id;
|
||||
|
||||
uint64 time_last_fuse;
|
||||
|
||||
float__2 observation;
|
||||
|
||||
float__2 observation_variance;
|
||||
|
||||
float__2 innovation;
|
||||
|
||||
float__2 innovation_variance;
|
||||
|
||||
float__2 test_ratio;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"true when measurements are being fused")
|
||||
boolean fusion_enabled;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"true if the observation has been rejected")
|
||||
boolean innovation_rejected;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"true if the sample was successfully fused")
|
||||
boolean fused;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,47 @@
|
||||
// generated from rosidl_adapter/resource/msg.idl.em
|
||||
// with input from px4_msgs/msg/EstimatorAidSource3d.msg
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
|
||||
module px4_msgs {
|
||||
module msg {
|
||||
typedef float float__3[3];
|
||||
struct EstimatorAidSource3d {
|
||||
@verbatim (language="comment", text=
|
||||
"time since system start (microseconds)")
|
||||
uint64 timestamp;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"the timestamp of the raw data (microseconds)")
|
||||
uint64 timestamp_sample;
|
||||
|
||||
uint8 estimator_instance;
|
||||
|
||||
uint32 device_id;
|
||||
|
||||
uint64 time_last_fuse;
|
||||
|
||||
float__3 observation;
|
||||
|
||||
float__3 observation_variance;
|
||||
|
||||
float__3 innovation;
|
||||
|
||||
float__3 innovation_variance;
|
||||
|
||||
float__3 test_ratio;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"true when measurements are being fused")
|
||||
boolean fusion_enabled;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"true if the observation has been rejected")
|
||||
boolean innovation_rejected;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"true if the sample was successfully fused")
|
||||
boolean fused;
|
||||
};
|
||||
};
|
||||
};
|
||||
42
build/px4_msgs/rosidl_adapter/px4_msgs/msg/EstimatorBias.idl
Normal file
42
build/px4_msgs/rosidl_adapter/px4_msgs/msg/EstimatorBias.idl
Normal file
@@ -0,0 +1,42 @@
|
||||
// generated from rosidl_adapter/resource/msg.idl.em
|
||||
// with input from px4_msgs/msg/EstimatorBias.msg
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
|
||||
module px4_msgs {
|
||||
module msg {
|
||||
struct EstimatorBias {
|
||||
@verbatim (language="comment", text=
|
||||
"time since system start (microseconds)")
|
||||
uint64 timestamp;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"the timestamp of the raw data (microseconds)")
|
||||
uint64 timestamp_sample;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"unique device ID for the sensor that does not change between power cycles")
|
||||
uint32 device_id;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"estimated barometric altitude bias (m)")
|
||||
float bias;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"estimated barometric altitude bias variance (m^2)")
|
||||
float bias_var;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"innovation of the last measurement fusion (m)")
|
||||
float innov;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"innovation variance of the last measurement fusion (m^2)")
|
||||
float innov_var;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"normalized innovation squared test ratio")
|
||||
float innov_test_ratio;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,43 @@
|
||||
// generated from rosidl_adapter/resource/msg.idl.em
|
||||
// with input from px4_msgs/msg/EstimatorBias3d.msg
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
|
||||
module px4_msgs {
|
||||
module msg {
|
||||
typedef float float__3[3];
|
||||
struct EstimatorBias3d {
|
||||
@verbatim (language="comment", text=
|
||||
"time since system start (microseconds)")
|
||||
uint64 timestamp;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"the timestamp of the raw data (microseconds)")
|
||||
uint64 timestamp_sample;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"unique device ID for the sensor that does not change between power cycles")
|
||||
uint32 device_id;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"estimated barometric altitude bias (m)")
|
||||
float__3 bias;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"estimated barometric altitude bias variance (m^2)")
|
||||
float__3 bias_var;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"innovation of the last measurement fusion (m)")
|
||||
float__3 innov;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"innovation variance of the last measurement fusion (m^2)")
|
||||
float__3 innov_var;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"normalized innovation squared test ratio")
|
||||
float__3 innov_test_ratio;
|
||||
};
|
||||
};
|
||||
};
|
||||
158
build/px4_msgs/rosidl_adapter/px4_msgs/msg/FailsafeFlags.idl
Normal file
158
build/px4_msgs/rosidl_adapter/px4_msgs/msg/FailsafeFlags.idl
Normal file
@@ -0,0 +1,158 @@
|
||||
// generated from rosidl_adapter/resource/msg.idl.em
|
||||
// with input from px4_msgs/msg/FailsafeFlags.msg
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
|
||||
module px4_msgs {
|
||||
module msg {
|
||||
@verbatim (language="comment", text=
|
||||
"Input flags for the failsafe state machine set by the arming & health checks." "\n"
|
||||
"" "\n"
|
||||
"Flags must be named such that false == no failure (e.g. _invalid, _unhealthy, _lost)" "\n"
|
||||
"The flag comments are used as label for the failsafe state machine simulation")
|
||||
struct FailsafeFlags {
|
||||
@verbatim (language="comment", text=
|
||||
"time since system start (microseconds)")
|
||||
uint64 timestamp;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Per-mode requirements")
|
||||
uint32 mode_req_angular_velocity;
|
||||
|
||||
uint32 mode_req_attitude;
|
||||
|
||||
uint32 mode_req_local_alt;
|
||||
|
||||
uint32 mode_req_local_position;
|
||||
|
||||
uint32 mode_req_local_position_relaxed;
|
||||
|
||||
uint32 mode_req_global_position;
|
||||
|
||||
uint32 mode_req_mission;
|
||||
|
||||
uint32 mode_req_offboard_signal;
|
||||
|
||||
uint32 mode_req_home_position;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"if set, mode cannot be entered if wind or flight time limit exceeded")
|
||||
uint32 mode_req_wind_and_flight_time_compliance;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"if set, cannot arm while in this mode")
|
||||
uint32 mode_req_prevent_arming;
|
||||
|
||||
uint32 mode_req_manual_control;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"other requirements, not covered above (for external modes)")
|
||||
uint32 mode_req_other;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Mode requirements" "\n"
|
||||
"Angular velocity invalid")
|
||||
boolean angular_velocity_invalid;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Attitude invalid")
|
||||
boolean attitude_invalid;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Local altitude invalid")
|
||||
boolean local_altitude_invalid;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Local position estimate invalid")
|
||||
boolean local_position_invalid;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Local position with reduced accuracy requirements invalid (e.g. flying with optical flow)")
|
||||
boolean local_position_invalid_relaxed;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Local velocity estimate invalid")
|
||||
boolean local_velocity_invalid;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Global position estimate invalid")
|
||||
boolean global_position_invalid;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"No mission available")
|
||||
boolean auto_mission_missing;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Offboard signal lost")
|
||||
boolean offboard_control_signal_lost;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"No home position available")
|
||||
boolean home_position_invalid;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Control links" "\n"
|
||||
"Manual control (RC) signal lost")
|
||||
boolean manual_control_signal_lost;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"GCS connection lost")
|
||||
boolean gcs_connection_lost;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Battery" "\n"
|
||||
"Battery warning level")
|
||||
uint8 battery_warning;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Low battery based on remaining flight time")
|
||||
boolean battery_low_remaining_time;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Battery unhealthy")
|
||||
boolean battery_unhealthy;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Other" "\n"
|
||||
"Primary Geofence breached")
|
||||
boolean primary_geofence_breached;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Mission failure")
|
||||
boolean mission_failure;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"vehicle in fixed-wing system failure failsafe mode (after quad-chute)")
|
||||
boolean vtol_fixed_wing_system_failure;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Wind limit exceeded")
|
||||
boolean wind_limit_exceeded;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Maximum flight time exceeded")
|
||||
boolean flight_time_limit_exceeded;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Local position estimate has dropped below threshold, but is currently still declared valid")
|
||||
boolean local_position_accuracy_low;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Failure detector" "\n"
|
||||
"Critical failure (attitude/altitude limit exceeded, or external ATS)")
|
||||
boolean fd_critical_failure;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"ESC failed to arm")
|
||||
boolean fd_esc_arming_failure;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Imbalanced propeller detected")
|
||||
boolean fd_imbalanced_prop;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Motor failure")
|
||||
boolean fd_motor_failure;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,55 @@
|
||||
// generated from rosidl_adapter/resource/msg.idl.em
|
||||
// with input from px4_msgs/msg/FollowTargetEstimator.msg
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
|
||||
module px4_msgs {
|
||||
module msg {
|
||||
typedef float float__3[3];
|
||||
struct FollowTargetEstimator {
|
||||
@verbatim (language="comment", text=
|
||||
"time since system start (microseconds)")
|
||||
uint64 timestamp;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"time of last filter reset (microseconds)")
|
||||
uint64 last_filter_reset_timestamp;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"True if estimator states are okay to be used")
|
||||
boolean valid;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"True if estimator stopped receiving follow_target messages for some time. The estimate can still be valid, though it might be inaccurate.")
|
||||
boolean stale;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Estimated target latitude")
|
||||
double lat_est;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Estimated target longitude")
|
||||
double lon_est;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Estimated target altitude")
|
||||
float alt_est;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Estimated target NED position (m)")
|
||||
float__3 pos_est;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Estimated target NED velocity (m/s)")
|
||||
float__3 vel_est;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Estimated target NED acceleration (m^2/s)")
|
||||
float__3 acc_est;
|
||||
|
||||
uint64 prediction_count;
|
||||
|
||||
uint64 fusion_count;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,51 @@
|
||||
// generated from rosidl_adapter/resource/msg.idl.em
|
||||
// with input from px4_msgs/msg/FollowTargetStatus.msg
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
|
||||
module px4_msgs {
|
||||
module msg {
|
||||
typedef float float__3[3];
|
||||
struct FollowTargetStatus {
|
||||
@verbatim (language="comment", text=
|
||||
"time since system start")
|
||||
@unit (value="microseconds")
|
||||
uint64 timestamp;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Tracked target course in NED local frame (North is course zero)")
|
||||
@unit (value="rad")
|
||||
float tracked_target_course;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Current follow angle setting")
|
||||
@unit (value="rad")
|
||||
float follow_angle;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Current orbit angle setpoint from the smooth trajectory generator")
|
||||
@unit (value="rad")
|
||||
float orbit_angle_setpoint;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Angular rate commanded from Jerk-limited Orbit Angle trajectory for Orbit Angle")
|
||||
@unit (value="rad/s")
|
||||
float angular_rate_setpoint;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Raw 'idealistic' desired drone position if a drone could teleport from place to places")
|
||||
@unit (value="m")
|
||||
float__3 desired_position_raw;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"True when doing emergency ascent (when distance to ground is below safety altitude)")
|
||||
@unit (value="bool")
|
||||
boolean in_emergency_ascent;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Gimbal pitch commanded to track target in the center of the frame")
|
||||
@unit (value="rad")
|
||||
float gimbal_pitch;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,26 @@
|
||||
// generated from rosidl_adapter/resource/msg.idl.em
|
||||
// with input from px4_msgs/msg/GimbalControls.msg
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
|
||||
module px4_msgs {
|
||||
module msg {
|
||||
typedef float float__3[3];
|
||||
module GimbalControls_Constants {
|
||||
const uint8 INDEX_ROLL = 0;
|
||||
const uint8 INDEX_PITCH = 1;
|
||||
const uint8 INDEX_YAW = 2;
|
||||
};
|
||||
struct GimbalControls {
|
||||
@verbatim (language="comment", text=
|
||||
"time since system start (microseconds)")
|
||||
uint64 timestamp;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"the timestamp the data this control response is based on was sampled")
|
||||
uint64 timestamp_sample;
|
||||
|
||||
float__3 control;
|
||||
};
|
||||
};
|
||||
};
|
||||
22
build/px4_msgs/rosidl_adapter/px4_msgs/msg/Gripper.idl
Normal file
22
build/px4_msgs/rosidl_adapter/px4_msgs/msg/Gripper.idl
Normal file
@@ -0,0 +1,22 @@
|
||||
// generated from rosidl_adapter/resource/msg.idl.em
|
||||
// with input from px4_msgs/msg/Gripper.msg
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
|
||||
module px4_msgs {
|
||||
module msg {
|
||||
module Gripper_Constants {
|
||||
const int8 COMMAND_GRAB = 0;
|
||||
const int8 COMMAND_RELEASE = 1;
|
||||
};
|
||||
@verbatim (language="comment", text=
|
||||
"Used to command an actuation in the gripper, which is mapped to a specific output in the control allocation module")
|
||||
struct Gripper {
|
||||
uint64 timestamp;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Commanded state for the gripper")
|
||||
int8 command;
|
||||
};
|
||||
};
|
||||
};
|
||||
36
build/px4_msgs/rosidl_adapter/px4_msgs/msg/HealthReport.idl
Normal file
36
build/px4_msgs/rosidl_adapter/px4_msgs/msg/HealthReport.idl
Normal file
@@ -0,0 +1,36 @@
|
||||
// generated from rosidl_adapter/resource/msg.idl.em
|
||||
// with input from px4_msgs/msg/HealthReport.msg
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
|
||||
module px4_msgs {
|
||||
module msg {
|
||||
struct HealthReport {
|
||||
@verbatim (language="comment", text=
|
||||
"time since system start (microseconds)")
|
||||
uint64 timestamp;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"bitfield for each flight mode (NAVIGATION_STATE_*) if arming is possible")
|
||||
uint64 can_arm_mode_flags;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"bitfield for each flight mode if it can run")
|
||||
uint64 can_run_mode_flags;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"flags for each health_component_t")
|
||||
uint64 health_is_present_flags;
|
||||
|
||||
uint64 health_warning_flags;
|
||||
|
||||
uint64 health_error_flags;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"A component is required but missing, if present==0 and error==1")
|
||||
uint64 arming_check_warning_flags;
|
||||
|
||||
uint64 arming_check_error_flags;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,18 @@
|
||||
// generated from rosidl_adapter/resource/msg.idl.em
|
||||
// with input from px4_msgs/msg/LandingGearWheel.msg
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
|
||||
module px4_msgs {
|
||||
module msg {
|
||||
struct LandingGearWheel {
|
||||
@verbatim (language="comment", text=
|
||||
"time since system start (microseconds)")
|
||||
uint64 timestamp;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"negative is turning left, positive turning right [-1, 1]")
|
||||
float normalized_wheel_setpoint;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,29 @@
|
||||
// generated from rosidl_adapter/resource/msg.idl.em
|
||||
// with input from px4_msgs/msg/LaunchDetectionStatus.msg
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
|
||||
module px4_msgs {
|
||||
module msg {
|
||||
module LaunchDetectionStatus_Constants {
|
||||
@verbatim (language="comment", text=
|
||||
"waiting for launch")
|
||||
const uint8 STATE_WAITING_FOR_LAUNCH = 0;
|
||||
@verbatim (language="comment", text=
|
||||
"launch detected, but keep motor(s) disabled (e.g. because it can't spin freely while on catapult)")
|
||||
const uint8 STATE_LAUNCH_DETECTED_DISABLED_MOTOR = 1;
|
||||
@verbatim (language="comment", text=
|
||||
"launch detected, use normal takeoff/flying configuration")
|
||||
const uint8 STATE_FLYING = 2;
|
||||
};
|
||||
@verbatim (language="comment", text=
|
||||
"Status of the launch detection state machine (fixed-wing only)")
|
||||
struct LaunchDetectionStatus {
|
||||
@verbatim (language="comment", text=
|
||||
"time since system start (microseconds)")
|
||||
uint64 timestamp;
|
||||
|
||||
uint8 launch_detection_state;
|
||||
};
|
||||
};
|
||||
};
|
||||
32
build/px4_msgs/rosidl_adapter/px4_msgs/msg/ModeCompleted.idl
Normal file
32
build/px4_msgs/rosidl_adapter/px4_msgs/msg/ModeCompleted.idl
Normal file
@@ -0,0 +1,32 @@
|
||||
// generated from rosidl_adapter/resource/msg.idl.em
|
||||
// with input from px4_msgs/msg/ModeCompleted.msg
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
|
||||
module px4_msgs {
|
||||
module msg {
|
||||
module ModeCompleted_Constants {
|
||||
const uint8 RESULT_SUCCESS = 0;
|
||||
@verbatim (language="comment", text=
|
||||
": reserved" "\n" " Mode failed (generic error)")
|
||||
const uint8 RESULT_FAILURE_OTHER = 100;
|
||||
};
|
||||
@verbatim (language="comment", text=
|
||||
"Mode completion result, published by an active mode." "\n"
|
||||
"Note that this is not always published (e.g. when a user switches modes or on" "\n"
|
||||
"failsafe activation)")
|
||||
struct ModeCompleted {
|
||||
@verbatim (language="comment", text=
|
||||
"time since system start (microseconds)")
|
||||
uint64 timestamp;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"One of RESULT_*")
|
||||
uint8 result;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Source mode")
|
||||
uint8 nav_state;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,18 @@
|
||||
// generated from rosidl_adapter/resource/msg.idl.em
|
||||
// with input from px4_msgs/msg/NormalizedUnsignedSetpoint.msg
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
|
||||
module px4_msgs {
|
||||
module msg {
|
||||
struct NormalizedUnsignedSetpoint {
|
||||
@verbatim (language="comment", text=
|
||||
"time since system start (microseconds)")
|
||||
uint64 timestamp;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"[0, 1]")
|
||||
float normalized_setpoint;
|
||||
};
|
||||
};
|
||||
};
|
||||
90
build/px4_msgs/rosidl_adapter/px4_msgs/msg/Px4ioStatus.idl
Normal file
90
build/px4_msgs/rosidl_adapter/px4_msgs/msg/Px4ioStatus.idl
Normal file
@@ -0,0 +1,90 @@
|
||||
// generated from rosidl_adapter/resource/msg.idl.em
|
||||
// with input from px4_msgs/msg/Px4ioStatus.msg
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
|
||||
module px4_msgs {
|
||||
module msg {
|
||||
typedef uint16 uint16__8[8];
|
||||
typedef uint16 uint16__18[18];
|
||||
struct Px4ioStatus {
|
||||
@verbatim (language="comment", text=
|
||||
"time since system start (microseconds)")
|
||||
uint64 timestamp;
|
||||
|
||||
uint16 free_memory_bytes;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Servo rail voltage in volts")
|
||||
float voltage_v;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"RSSI pin voltage in volts")
|
||||
float rssi_v;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"PX4IO status flags (PX4IO_P_STATUS_FLAGS)")
|
||||
boolean status_arm_sync;
|
||||
|
||||
boolean status_failsafe;
|
||||
|
||||
boolean status_fmu_initialized;
|
||||
|
||||
boolean status_fmu_ok;
|
||||
|
||||
boolean status_init_ok;
|
||||
|
||||
boolean status_outputs_armed;
|
||||
|
||||
boolean status_raw_pwm;
|
||||
|
||||
boolean status_rc_ok;
|
||||
|
||||
boolean status_rc_dsm;
|
||||
|
||||
boolean status_rc_ppm;
|
||||
|
||||
boolean status_rc_sbus;
|
||||
|
||||
boolean status_rc_st24;
|
||||
|
||||
boolean status_rc_sumd;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"px4io safety button was pressed for longer than 1 second")
|
||||
boolean status_safety_button_event;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"PX4IO alarms (PX4IO_P_STATUS_ALARMS)")
|
||||
boolean alarm_pwm_error;
|
||||
|
||||
boolean alarm_rc_lost;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"PX4IO arming (PX4IO_P_SETUP_ARMING)")
|
||||
boolean arming_failsafe_custom;
|
||||
|
||||
boolean arming_fmu_armed;
|
||||
|
||||
boolean arming_fmu_prearmed;
|
||||
|
||||
boolean arming_force_failsafe;
|
||||
|
||||
boolean arming_io_arm_ok;
|
||||
|
||||
boolean arming_lockdown;
|
||||
|
||||
boolean arming_termination_failsafe;
|
||||
|
||||
uint16__8 pwm;
|
||||
|
||||
uint16__8 pwm_disarmed;
|
||||
|
||||
uint16__8 pwm_failsafe;
|
||||
|
||||
uint16__8 pwm_rate_hz;
|
||||
|
||||
uint16__18 raw_inputs;
|
||||
};
|
||||
};
|
||||
};
|
||||
24
build/px4_msgs/rosidl_adapter/px4_msgs/msg/QshellReq.idl
Normal file
24
build/px4_msgs/rosidl_adapter/px4_msgs/msg/QshellReq.idl
Normal file
@@ -0,0 +1,24 @@
|
||||
// generated from rosidl_adapter/resource/msg.idl.em
|
||||
// with input from px4_msgs/msg/QshellReq.msg
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
|
||||
module px4_msgs {
|
||||
module msg {
|
||||
typedef uint8 uint8__100[100];
|
||||
module QshellReq_Constants {
|
||||
const uint32 MAX_STRLEN = 100;
|
||||
};
|
||||
struct QshellReq {
|
||||
@verbatim (language="comment", text=
|
||||
"time since system start (microseconds)")
|
||||
uint64 timestamp;
|
||||
|
||||
uint8__100 cmd;
|
||||
|
||||
uint32 strlen;
|
||||
|
||||
uint32 request_sequence;
|
||||
};
|
||||
};
|
||||
};
|
||||
18
build/px4_msgs/rosidl_adapter/px4_msgs/msg/QshellRetval.idl
Normal file
18
build/px4_msgs/rosidl_adapter/px4_msgs/msg/QshellRetval.idl
Normal file
@@ -0,0 +1,18 @@
|
||||
// generated from rosidl_adapter/resource/msg.idl.em
|
||||
// with input from px4_msgs/msg/QshellRetval.msg
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
|
||||
module px4_msgs {
|
||||
module msg {
|
||||
struct QshellRetval {
|
||||
@verbatim (language="comment", text=
|
||||
"time since system start (microseconds)")
|
||||
uint64 timestamp;
|
||||
|
||||
int32 return_value;
|
||||
|
||||
uint32 return_sequence;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,68 @@
|
||||
// generated from rosidl_adapter/resource/msg.idl.em
|
||||
// with input from px4_msgs/msg/SensorOpticalFlow.msg
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
|
||||
module px4_msgs {
|
||||
module msg {
|
||||
typedef float float__2[2];
|
||||
typedef float float__3[3];
|
||||
module SensorOpticalFlow_Constants {
|
||||
const uint8 MODE_UNKNOWN = 0;
|
||||
const uint8 MODE_BRIGHT = 1;
|
||||
const uint8 MODE_LOWLIGHT = 2;
|
||||
const uint8 MODE_SUPER_LOWLIGHT = 3;
|
||||
};
|
||||
struct SensorOpticalFlow {
|
||||
@verbatim (language="comment", text=
|
||||
"time since system start (microseconds)")
|
||||
uint64 timestamp;
|
||||
|
||||
uint64 timestamp_sample;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"unique device ID for the sensor that does not change between power cycles")
|
||||
uint32 device_id;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"(radians) optical flow in radians where a positive value is produced by a RH rotation about the body axis")
|
||||
float__2 pixel_flow;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"(radians) accumulated gyro radians where a positive value is produced by a RH rotation about the body axis. Set to NaN if flow sensor does not have 3-axis gyro data.")
|
||||
float__3 delta_angle;
|
||||
|
||||
boolean delta_angle_available;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"(meters) Distance to the center of the flow field")
|
||||
float distance_m;
|
||||
|
||||
boolean distance_available;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"(microseconds) accumulation timespan in microseconds")
|
||||
uint32 integration_timespan_us;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"quality, 0: bad quality, 255: maximum quality")
|
||||
uint8 quality;
|
||||
|
||||
uint32 error_count;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"(radians/s) Magnitude of maximum angular which the optical flow sensor can measure reliably")
|
||||
float max_flow_rate;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"(meters) Minimum distance from ground at which the optical flow sensor operates reliably")
|
||||
float min_ground_distance;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"(meters) Maximum distance from ground at which the optical flow sensor operates reliably")
|
||||
float max_ground_distance;
|
||||
|
||||
uint8 mode;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,22 @@
|
||||
// generated from rosidl_adapter/resource/msg.idl.em
|
||||
// with input from px4_msgs/msg/TiltrotorExtraControls.msg
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
|
||||
module px4_msgs {
|
||||
module msg {
|
||||
struct TiltrotorExtraControls {
|
||||
@verbatim (language="comment", text=
|
||||
"time since system start (microseconds)")
|
||||
uint64 timestamp;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Collective tilt angle of motors of tiltrotor, 0: vertical, 1: horizontal [0, 1]")
|
||||
float collective_tilt_normalized_setpoint;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Collective thrust setpoint [0, 1]")
|
||||
float collective_thrust_normalized_setpoint;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,56 @@
|
||||
// generated from rosidl_adapter/resource/msg.idl.em
|
||||
// with input from px4_msgs/msg/VehicleOpticalFlow.msg
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
|
||||
module px4_msgs {
|
||||
module msg {
|
||||
typedef float float__2[2];
|
||||
typedef float float__3[3];
|
||||
@verbatim (language="comment", text=
|
||||
"Optical flow in XYZ body frame in SI units.")
|
||||
struct VehicleOpticalFlow {
|
||||
@verbatim (language="comment", text=
|
||||
"time since system start (microseconds)")
|
||||
uint64 timestamp;
|
||||
|
||||
uint64 timestamp_sample;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"unique device ID for the sensor that does not change between power cycles")
|
||||
uint32 device_id;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"(radians) accumulated optical flow in radians where a positive value is produced by a RH rotation about the body axis")
|
||||
float__2 pixel_flow;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"(radians) accumulated gyro radians where a positive value is produced by a RH rotation about the body axis. (NAN if unavailable)")
|
||||
float__3 delta_angle;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"(meters) Distance to the center of the flow field (NAN if unavailable)")
|
||||
float distance_m;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"(microseconds) accumulation timespan in microseconds")
|
||||
uint32 integration_timespan_us;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"Average of quality of accumulated frames, 0: bad quality, 255: maximum quality")
|
||||
uint8 quality;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"(radians/s) Magnitude of maximum angular which the optical flow sensor can measure reliably")
|
||||
float max_flow_rate;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"(meters) Minimum distance from ground at which the optical flow sensor operates reliably")
|
||||
float min_ground_distance;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"(meters) Maximum distance from ground at which the optical flow sensor operates reliably")
|
||||
float max_ground_distance;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,44 @@
|
||||
// generated from rosidl_adapter/resource/msg.idl.em
|
||||
// with input from px4_msgs/msg/VehicleOpticalFlowVel.msg
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
|
||||
module px4_msgs {
|
||||
module msg {
|
||||
typedef float float__2[2];
|
||||
typedef float float__3[3];
|
||||
struct VehicleOpticalFlowVel {
|
||||
@verbatim (language="comment", text=
|
||||
"time since system start (microseconds)")
|
||||
uint64 timestamp;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"the timestamp of the raw data (microseconds)")
|
||||
uint64 timestamp_sample;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"velocity obtained from gyro-compensated and distance-scaled optical flow raw measurements in body frame(m/s)")
|
||||
float__2 vel_body;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"same as vel_body but in local frame (m/s)")
|
||||
float__2 vel_ne;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"integrated optical flow measurement (rad)")
|
||||
float__2 flow_uncompensated_integral;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"integrated optical flow measurement compensated for angular motion (rad)")
|
||||
float__2 flow_compensated_integral;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"gyro measurement synchronized with flow measurements (rad/s)")
|
||||
float__3 gyro_rate;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"gyro measurement integrated to flow rate and synchronized with flow measurements (rad)")
|
||||
float__3 gyro_rate_integral;
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user