Skip to content

ROS Packages to interact with WiBotic Onboard Chargers over CAN

License

Notifications You must be signed in to change notification settings

husarion/wibotic_ros

 
 

Repository files navigation

wibotic_ros

The repository contains wibotic_connector_can and wibotic_msgs packages. It reads a CAN Bus thanks to the uavcan library and sends the measurements from Wibotic Wireless Charger to ROS 2.

Quick start

Add CAN interface

sudo slcand -o -s6 -t hw -S 3000000 /dev/ttyACM0
sudo ip link set up can0 type can bitrate 500000

Create workspace

mkdir ~/husarion_ws
cd ~/husarion_ws
git clone -b ros2 https://github.com/husarion/wibotic_ros.git src/wibotic_ros

Build

sudo rosdep init
rosdep update --rosdistro $ROS_DISTRO
rosdep install --from-paths src -y -i

source /opt/ros/$ROS_DISTRO/setup.bash
colcon build --symlink-install --packages-up-to wibotic_connector_can --cmake-args -DCMAKE_BUILD_TYPE=Release

source install/setup.bash

About

ROS Packages to interact with WiBotic Onboard Chargers over CAN

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 82.2%
  • CMake 12.7%
  • Python 5.1%