Giter VIP home page Giter VIP logo

system_monitor_ros's Introduction

system_monitor_ros

Build and Test package

system_monitor_ros is a ROS 2 package to publish onboard companion status messages to the flight controller through px4_ros_com micro-RTPS bridge. Similarly, this is a reference implementation of the Mavlink message ONBOARD_COMPUTER_STATUS, but following the message definition of the uORB message onboard_computer_status, which ROS counter-part is defined in px4_msgs. This same message is published by this node in the /fmu/onboard_computer_status/in topic.

Requirements

  • ROS 2 Dashing or Eloquent - follow the install guide;
  • Colcon build tool: apt install python3-colcon-common-extensions
  • px4_ros_com built on the same workspace or on a different workspace that can be overlayed;
  • px4_msgs built on the same workspace or on a different workspace that can be overlayed;

Building

If px4_ros_com and px4_msgs were not built on another workspace, they can be built together with this package using the build_ros2_workspace.bash script for that purpose:

    $ mkdir -p colcon_ws/src
    $ cd colcon_ws/src
    $ git clone https://github.com/Auterion/system_monitor_ros.git -b ros2
    $ git clone https://github.com/PX4/px4_ros_com.git
    $ git clone https://github.com/PX4/px4_msgs.git
    $ ./px4_ros_com/scripts/build_ros2_workspace.bash

Setup the workspace

    $ source colcon_ws/install/setup.bash

Running the monitor node

The monitor can be run by the following ros2 launch command. The parameters can be edited in the monitor_parameters.yaml file.

    $ ros2 launch system_monitor_ros system_monitor.launch.py

To communicate with the autopilot, make sure that the micrortps_agent of px4_ros_com and the micrortps_client on the autopilot are both running.

system_monitor_ros's People

Contributors

tsc21 avatar jaeyoung-lim avatar nicovanduijn avatar paulerikf avatar b1n-ch1kn avatar jkflying 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.