This is the repository containing the ROS code for the GreenBot
Do catkin_make
on the workspace to install the whole thing. This should create the build/ and devel/ folders.
To perform teleoperation on the GreenBot, perform the following steps:
Make sure that the command center (main PC) and the Udoo board (GreenBot computer) are in the same network and can talk to each other.
ip a
) of each computer and ping each other.netcat -l <port e.g. 1234>
and on the main PC, do netcat <greenbot ip address> <port>
. This should allow both computers to send messages to each other.ros_master_setup.sh
and ros_node_setup.sh
files and populate the appropriate IP addressesSource the ros_master_setup
file on the main pc and Start ROS Master (source config/ros_master_config.sh; roscore
)
source devel/setup.bash
Source the ros_node_setup
file on GreenBot
source devel/setup.bash
Start the teleop_twist_keyboard.py
script on the main PC rosrun teleop_twist_keyboard teleop_twist_keyboard.py
Start the teleop_greenbot.py
script on GreenBot rosrun teleop_greenbot teleop_greenbot.py
Mash some buttons!