TO RUN THE CODE FOLLOW THE FOLLOWING INSTRUCTIONS:
- Go into the catkin_ws into the src folder and clone the node
cd catkin_ws/src
git clone https://github.com/mananmadan/Motor-Control
- Compile by running
cd ..
catkin_make
- Run roscore
roscore
- Run the socket
cd catkin_ws/src/motor_control
cd src
python2 reciever.py
- Run the node
rosrun motor_commands motor_commands.py
- Temporalily publish the command on the /test topic
rostopic pub -1 /test std_msgs/Int16 -- 1.0