Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Adapted the code to copy over the versioned messages,

Signed-off-by: Claudio Chies <[email protected]>
  • Loading branch information
Claudio-Chies authored and bkueng committed Jan 31, 2025
1 parent 1ebaae4 commit eda0045
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ However, if you are using a custom PX4 version and you modified existing message
- Copy all `*.msg` and `*.srv` files from `PX4-Autopilot/msg/` and `PX4-Autopilot/srv/` in `msg/` and `srv/`, respectively. Assuming that this repository and the PX4-Autopilot repository are placed in your home folder, you can run:
```sh
rm -f ~/px4_msgs/msg/*.msg
rm -f ~/px4_msgs/msg/versioned/*.msg
rm -f ~/px4_msgs/srv/*.srv
cp ~/PX4-Autopilot/msg/*.msg ~/px4_msgs/msg/
cp ~/PX4-Autopilot/msg/versioned/*.msg ~/px4_msgs/msg/versioned/
cp ~/PX4-Autopilot/srv/*.srv ~/px4_msgs/srv/
```

Expand Down

0 comments on commit eda0045

Please sign in to comment.