Provides a way to control an OpenRover robot using ROS and the OpenRover JavaSDK
-OpenRover JavaSDK 2.0.02 or above
-ROS Kinetic or above
-Ubuntu 16.04 or above
cd ~/catkin_ws/src
git clone https://github.com/RoverRobotics/rr_openrover_pro.git
cd ~/catkin_ws
catkin_make
source /devel/setup.bash
roslaunch rr_openrover_pro openrover_startup.launch
roslaunch rr_openrover_pro joystick_example.launch
-
/openrover/battery/cell1/soc: Publishesstd_msgs/Int32, battery cell 1 state of charge as a percentage [1 to 100] -
/openrover/battery/cell2/soc: Publishesstd_msgs/Int32, battery cell 2 state of charge as a percentage [1 to 100] -
/openrover/charging: Publishesstd_msgs/Int32, not very robust yet yet. This topic publishes charge state of the robot -
/openrover/enc: Publishesgeometry_msgs/Vector3Stampedencoder feedback in [counts] -
/openrover/motor1/temp: Publishesstd_msgs/Int32motor 1 temp in [C] -
/openrover/motor2/temp: Publishesstd_msgs/Int32motor 2 temp in [C] -
/openrover/odom: Publishesnav_msgs/Odometryencoder feedback in [m/s] and [rad/s], usefull as odometry source for kalman filter. Not accurate yet. -
/openrover/odom_diff: Publishesgeometry_msgs/Vector3Stampedprovides the difference in commanded and measured odometry -
/openrover/status: Publishesstd_msgs/Stringun-parsed string used for publishing the other topics
-
/led: Subscribes tostd_msgs/Int32to turn the LED on and off -
/cmd_vel: Subscribes togeometry_msgs/Twistused to command the wheels. linear.x is used to move forward and back, angular.z is used to turn left and right. -
/openrover/charging_override: Subscribes tostd_msgs/Int32since /openrover/charging is not robust this provides a way to manually change the /openrover/charging topic. This is useful if the topic is used in a state machine
-
ip_address: IP Address of SwiftNav Piksi, use the SwiftNAv console to check what this is set to -
tcp_port: The tcp port of SwiftNav Piksi, use the SwiftNav console to check what this is set to