forked from PX4/px4_msgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/1.15' into v1.15/jazzy
- Loading branch information
Showing
68 changed files
with
565 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,27 +3,38 @@ name: Build package | |
# CI runs over all branches that do not contain 'ros1' in the name | ||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
build: | ||
name: "Build" | ||
focal: | ||
name: "Build on Ubuntu Focal" | ||
runs-on: ubuntu-20.04 | ||
container: px4io/px4-dev-ros2-${{ matrix.ros2_distro }}:2021-05-31 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ros-tooling/[email protected] | ||
with: | ||
required-ros-distributions: foxy | ||
- uses: ros-tooling/[email protected] | ||
with: | ||
package-name: px4_msgs | ||
target-ros2-distro: foxy | ||
jammy: | ||
name: "Build on Ubuntu Jammy" | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
ros2_distro: [foxy, humble, rolling] | ||
ros2_distro: [humble, rolling] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: build | ||
run: | | ||
source /opt/ros/${{ matrix.ros2_distro }}/setup.bash | ||
mkdir -p ~/colcon_ws/src | ||
cd ~/colcon_ws | ||
ln -s ${GITHUB_WORKSPACE} src/px4_msgs | ||
colcon build --cmake-args --symlink-install --event-handlers console_direct+ | ||
- uses: actions/checkout@v4 | ||
- uses: ros-tooling/[email protected] | ||
with: | ||
required-ros-distributions: ${{ matrix.ros2_distro }} | ||
- uses: ros-tooling/[email protected] | ||
with: | ||
package-name: px4_msgs | ||
target-ros2-distro: ${{ matrix.ros2_distro }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
uint64 timestamp # time since system start (microseconds) | ||
|
||
uint8 request_id | ||
uint8 registration_id | ||
|
||
uint8 HEALTH_COMPONENT_INDEX_NONE = 0 | ||
uint8 HEALTH_COMPONENT_INDEX_AVOIDANCE = 19 | ||
|
||
uint8 health_component_index # HEALTH_COMPONENT_INDEX_* | ||
bool health_component_is_present | ||
bool health_component_warning | ||
bool health_component_error | ||
|
||
bool can_arm_and_run # whether arming is possible, and if it's a navigation mode, if it can run | ||
|
||
uint8 num_events | ||
|
||
Event[5] events | ||
|
||
# Mode requirements | ||
bool mode_req_angular_velocity | ||
bool mode_req_attitude | ||
bool mode_req_local_alt | ||
bool mode_req_local_position | ||
bool mode_req_local_position_relaxed | ||
bool mode_req_global_position | ||
bool mode_req_mission | ||
bool mode_req_home_position | ||
bool mode_req_prevent_arming | ||
bool mode_req_manual_control | ||
|
||
|
||
uint8 ORB_QUEUE_LENGTH = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
uint64 timestamp # time since system start (microseconds) | ||
|
||
# broadcast message to request all registered arming checks to be reported | ||
|
||
uint8 request_id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
uint64 timestamp # time since system start (microseconds) | ||
|
||
uint8 len # length of data | ||
uint32 MAX_BUFLEN = 128 | ||
|
||
uint8[128] data # data | ||
|
||
# TOPICS voxl2_io_data | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
uint64 timestamp # time since system start (microseconds) | ||
uint8 interface | ||
|
||
uint64 io_errors | ||
uint64 frames_tx | ||
uint64 frames_rx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Configurable overrides by (external) modes or mode executors | ||
uint64 timestamp # time since system start (microseconds) | ||
|
||
bool disable_auto_disarm # Prevent the drone from automatically disarming after landing (if configured) | ||
|
||
bool defer_failsafes # Defer all failsafes that can be deferred (until the flag is cleared) | ||
int16 defer_failsafes_timeout_s # Maximum time a failsafe can be deferred. 0 = system default, -1 = no timeout | ||
|
||
|
||
int8 SOURCE_TYPE_MODE = 0 | ||
int8 SOURCE_TYPE_MODE_EXECUTOR = 1 | ||
int8 source_type | ||
|
||
uint8 source_id # ID depending on source_type | ||
|
||
uint8 ORB_QUEUE_LENGTH = 4 | ||
|
||
# TOPICS config_overrides config_overrides_request |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
uint64 timestamp # time since system start (microseconds) | ||
|
||
uint8 client_id | ||
uint8 request_type # id/read/write/clear | ||
uint8 item # dm_item_t | ||
uint32 index | ||
uint8[56] data | ||
uint32 data_length |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
uint64 timestamp # time since system start (microseconds) | ||
|
||
uint8 client_id | ||
uint8 request_type # id/read/write/clear | ||
uint8 item # dm_item_t | ||
uint32 index | ||
uint8[56] data | ||
|
||
uint8 STATUS_SUCCESS = 0 | ||
uint8 STATUS_FAILURE_ID_ERR = 1 | ||
uint8 STATUS_FAILURE_NO_DATA = 2 | ||
uint8 STATUS_FAILURE_READ_FAILED = 3 | ||
uint8 STATUS_FAILURE_WRITE_FAILED = 4 | ||
uint8 STATUS_FAILURE_CLEAR_FAILED = 5 | ||
uint8 status |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
uint64 timestamp # time since system start (microseconds) | ||
|
||
float32 speed # [m/s] collective roll-off speed in body x-axis | ||
bool closed_loop_speed_control # true if speed is controlled using estimator feedback, false if direct feed-forward | ||
float32 yaw_rate # [rad/s] yaw rate | ||
bool closed_loop_yaw_rate_control # true if yaw rate is controlled using gyroscope feedback, false if direct feed-forward | ||
|
||
# TOPICS differential_drive_setpoint differential_drive_control_output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
uint64 timestamp # time since system start (microseconds) | ||
float32 major_radius # Major axis radius of the figure eight [m]. Positive values orbit clockwise, negative values orbit counter-clockwise. | ||
float32 minor_radius # Minor axis radius of the figure eight [m]. | ||
float32 orientation # Orientation of the major axis of the figure eight [rad]. | ||
uint8 frame # The coordinate system of the fields: x, y, z. | ||
int32 x # X coordinate of center point. Coordinate system depends on frame field: local = x position in meters * 1e4, global = latitude in degrees * 1e7. | ||
int32 y # Y coordinate of center point. Coordinate system depends on frame field: local = y position in meters * 1e4, global = latitude in degrees * 1e7. | ||
float32 z # Altitude of center point. Coordinate system depends on frame field. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
uint64 timestamp # time since system start (microseconds) | ||
|
||
uint8 flight_phase # Estimate of current flight phase | ||
|
||
uint8 FLIGHT_PHASE_UNKNOWN = 0 # vehicle flight phase is unknown | ||
uint8 FLIGHT_PHASE_LEVEL = 1 # Vehicle is in level flight | ||
uint8 FLIGHT_PHASE_DESCEND = 2 # vehicle is in descend | ||
uint8 FLIGHT_PHASE_CLIMB = 3 # vehicle is climbing |
Oops, something went wrong.