Git Product home page Git Product logo

px4_msgs's Introduction

px4_msgs

GitHub license Build package

Discord Shield

ROS 2 message definitions for the PX4 Autopilot project.

Building this package generates all the required interfaces to interface ROS 2 nodes with the PX4 internals.

Supported versions and compatibility

Depending on the PX4 and ROS versions you want to use, you need to checkout the appropriate branch of this package:

PX4 ROS 2 Ubuntu branch
v1.13 Foxy Ubuntu 20.04 release/1.13
v1.14 Foxy Ubuntu 20.04 release/1.14
v1.14 Humble Ubuntu 22.04 release/1.14
v1.14 Rolling Ubuntu 22.04 release/1.14
main Foxy Ubuntu 22.04 main
main Humble Ubuntu 22.04 main
main Rolling Ubuntu 22.04 main

Messages Sync from PX4

When PX4 message definitions in the main branch of PX4 Autopilot change, a CI/CD pipeline automatically copies and pushes updated ROS message definitions to this repository. This ensures that this repository main branch and the PX4-Autopilot main branch are always up to date. However, if you are using a custom PX4 version and you modified existing messages or created new one, then you have to manually synchronize them in this repository:

Manual Message Sync

  • Checkout the correct branch associated to the PX4 version from which you detached you custom version.
  • Delete all *.msg files in msg/ and copy all *.msg files from PX4-Autopilot/msg/ in it. Assuming that this repository and the PX4-Autopilot repository are placed in your home folder, you can run:
    rm -f ~/px4_msgs/msg/*.msg
    cp ~/PX4-Autopilot/msg/*.msg ~/px4_msgs/msg/

Install, build and usage

Check Using colcon to build packages to understand how this can be built inside a workspace. Check the PX4 ROS 2 User Guide section on the PX4 documentation for further details on how this integrates PX4 and how to exchange messages with the autopilot.

Bug tracking and feature requests

Use the Issues section to create a new issue. Report your issue or feature request here.

Questions and troubleshooting

Reach the PX4 development team on the PX4 Discord Server.

px4_msgs's People

Contributors

audrow avatar beniaminopozzan avatar dagar avatar dependabot[bot] avatar mortenfyhn avatar px4buildbot avatar tfoote avatar tsc21 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.