Bridge to integrate rover-firmware to ROS. Received telemetry through custom serial protocol is republished using ROS paradigm and some some commands are exposed as ROS services. This package is related to:
and:
Keywords: rover, ros, raspberrypi, arduino.
- Robot Operating System (ROS) (middleware for robotics).
To build from source, clone the latest version from this repository into your catkin workspace and compile the package using:
cd catkin_workspace/src
git clone (https://github.com/nhorro/roverbridge)
cd ../
rosdep install --from-paths . --ignore-src
catkin_make
Typical usage scenario is in Rover (Raspberry Pi) together with a camera node:
export ROS_IP="RASPBERRY_PI_IP"
export ROS_MASTER_URI="http://LAPTOP_IP:11311"
roslaunch roverbridge bridgecam.launch
or to run bridge only:
export ROS_IP="RASPBERRY_PI_IP"
export ROS_MASTER_URI="http://LAPTOP_IP:11311"
roslaunch roverbridge bridge.launch
-
bridgecam.launch: Launch bridge and camera(typical usage scenario)
Argument set
port
Serial port.baudrate
Baudrate.vehicle_id
vehicle_id used as prefix in pub/sub messages.
Acts as a bridge between rover and ROS.
-
/cmd_vel
([geometry_msgs/cmd_vel])This should be desired Rover linear and angular speeds. However, in the current version as no PID is implemented throttle and angular values are mapped directly to voltage values applied to the motors.
-
odom
([nav_msg/imu])Odometry.
-
imu
([sensor_msgs/imu])Readings from IMU sensor.