This is my final year project
Please Add the file Hc-SR04 and motor from arduino codes to the arduino libraries. Connect the sensor and command
rosrun rosserial_arduino serial_node.py
Then to make it run autonomously using
rosrun swcr obstacle_avoidance.py