No version for distro humble. Known supported distros are highlighted in the buttons above.
No version for distro jazzy. Known supported distros are highlighted in the buttons above.
No version for distro rolling. Known supported distros are highlighted in the buttons above.
Repository Summary
Checkout URI | https://github.com/tfoldi/ros2_qtcanbus.git |
VCS Type | git |
VCS Version | main |
Last Updated | 2024-05-29 |
Dev Status | UNMAINTAINED |
CI status | No Continuous Integration |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Packages
Name | Version |
---|---|
ros2_candecode | 0.1.0 |
ros2_qtcanbus | 0.1.0 |
README
ros2_qtcanbus
QT5 QSerialBus / QCanBus support for ROS2
This package is designed to bridge the gap between CAN buses and ROS2 by publishing CAN bus data through QSerialBus / QCanBus interfaces (including Qt5 QSerial plugins). It has a module for decoding messages (ros2_candecode) and share them as Twist
, NavSatFix
or DiagnosticArray
.
Features
- Read data from CAN buses via QSerialBus / QCanBus interfaces.
- Publish data to ROS2 topics.
- Seamless integration with existing ROS2 setups.
Dependencies
- ROS2 Foxy, Galactic, or Rolling (or later).
main
should work on all of these. - Qt 5.12 or later
Installation
- Clone the repository into your ROS2 workspace:
git clone https://github.com/tfoldi/ros2_qtcanbus.git
- Build the package using colcon:
colcon build
Usage
- Source your ROS2 workspace:
source install/setup.bash
- Run the CAN bus data publisher node:
ros2 run ros2_qtcanbus qtcanbus_sender --ros-args -p canbus_plugin:=<your_qt_plugin> -p canbus_interface:=<your_can_if>
- Run the decode node:
ros2 launch ros2_candecode standalone.py
Configuration
You can configure the decoder mappings and rules by modifying the ros2_candecode/config/candecode.yaml
file to match your CAN bus setup.
Contributing
We welcome contributions, PRs are welcome.
License
This project is licensed under the BSD 3-clause.
CONTRIBUTING
No CONTRIBUTING.md found.
No version for distro noetic. Known supported distros are highlighted in the buttons above.
No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.
No version for distro eloquent. Known supported distros are highlighted in the buttons above.
No version for distro dashing. Known supported distros are highlighted in the buttons above.
No version for distro galactic. Known supported distros are highlighted in the buttons above.
No version for distro foxy. Known supported distros are highlighted in the buttons above.
No version for distro iron. Known supported distros are highlighted in the buttons above.
No version for distro lunar. Known supported distros are highlighted in the buttons above.
No version for distro jade. Known supported distros are highlighted in the buttons above.
No version for distro indigo. Known supported distros are highlighted in the buttons above.
No version for distro hydro. Known supported distros are highlighted in the buttons above.
No version for distro kinetic. Known supported distros are highlighted in the buttons above.
No version for distro melodic. Known supported distros are highlighted in the buttons above.