How to run the vision code for ROS - lukehsiao/RobotSoccer GitHub Wiki
We've been using the Eclipse IDE for vision code development for convenience. However, in competitions, we run the ROS version of the vision code using the terminal. This means that we have two version of the code, one for development, and one for competition. After development changes are finalized in development, we migrate it over to the ROS code located in /Documents/RobotSoccer/catkin_ws/.
- Open terminal and change directory to /Documents/RobotSoccer/catkin_ws
- Build the files by running
catmake
- Make sure the roscore is running in a separate terminal. To do this, open a separate terminal, change to the same directory, and run
roscore
. - Run
rossetup
- Run
rosrun robot_soccer computer_vision