-
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 github.com:masskro0/px4flow_node_ros2
- Loading branch information
Showing
82 changed files
with
179 additions
and
14,746 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 |
---|---|---|
@@ -1,8 +1,29 @@ | ||
px-ros-pkg | ||
---------- | ||
# px-ros-pkg for ROS2 | ||
|
||
A repository for PIXHAWK open source code running on ROS. | ||
## Description | ||
Original code from: <a>http://wiki.ros.org/px4flow_node </a><br><br> | ||
A repository for PIXHAWK open source code running on ROS. There was no ROS2 implementation of the px4flow_node and the | ||
official repository seems to be dead. Hence, I ported it to ROS 2. | ||
|
||
Notes: | ||
## Supported Platforms | ||
Tested on Ubuntu 22.04 with ROS Humble. Other ROS2 distributions and Ubuntu releases <i>might</i> work. | ||
|
||
1. The master branch uses catkin. If you wish to use rosbuild, please use the rosbuild branch. | ||
## Prerequisites: | ||
- Boost library: ```sudo apt install libboost-dev``` | ||
- Eigen3: ```sudo apt install libeigen3-dev``` | ||
- ROS Humble (or others): <a>https://docs.ros.org/en/humble/Installation.html </a> | ||
|
||
## Installation: | ||
Put the whole folder into your ROS workspace and run<br> | ||
```colcon build && . install/setup.bash```<br><br> | ||
Preferably, add this repository as a submodule:<br> | ||
```git submodule add -b main https://github.com/masskro0/px4flow_node_ros2 src/px4flow_node``` | ||
|
||
## Usage: | ||
First, connect your px4flow sensor and then either launch the mavlink_serial_client:<br> | ||
```ros2 launch mavlink_serial_client mavlink_launch.py```<br><br> | ||
or the px4flow node:<br> | ||
```ros2 launch px4flow px4flow_launch.py``` | ||
|
||
Both nodes use messages from the <b>px_comm</b> folder. Also, you can modify configuration parameters of both nodes | ||
in <i>drivers/<pkg<pkg>>/config/default.yaml</i> |
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
drivers/mavlink_serial_client/.idea/mavlink_serial_client.iml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Empty file.
Empty file removed
0
drivers/mavlink_serial_client/cmake-build-debug/.cmake/api/v1/query/cmakeFiles-v1
Empty file.
Empty file removed
0
drivers/mavlink_serial_client/cmake-build-debug/.cmake/api/v1/query/codemodel-v2
Empty file.
Empty file removed
0
drivers/mavlink_serial_client/cmake-build-debug/.cmake/api/v1/query/toolchains-v1
Empty file.
Oops, something went wrong.