To run just type below command in Colour Detection root folder:
$: g++ main.cpp -o output pkg-config --cflags --libs opencv
$: ./output
To run just type below command in Contour Detection root folder:
$: g++ main.cpp -o app pkg-config --cflags --libs opencv
$: ./app
For Random Node just Type below commands:
First copy rand_node folder and move it to your src folder ros workspace directory:
Open a terminal in root folder (ros workspace) and run:
$: catkin_make
In a new terminal run:
$: roscore
In another terminal run:
run setup.bash
$: rosrun rand_node rand_pub_e
In another terminal eun:
run setup.bash
$: rosrun rand_node rand_sub_e