how to interface a servo motor with an arduino mega2560 using ros ?
i'm trying to use the code in the follwing link: http://wiki.ros.org/rosserial_arduino... how to implement this program .please help me .
Whats' exactly your problem with the tutorial?
i'm unable to upload the ros code given to my arduino mega2560 board.
could you send more details about the error message you receive from the Arduino IDE ?
it doesnt show any error.. but the servo doesnt move even after following the commands to b used after uploading the code
ah, so you can actually upload the code on your Arduino board? You said you were unable to do it. In the "Testing" section I guess one part is missing: after starting roscore, type in a new terminal the command
rosrun rosserial_python serial_node.py /dev/ttyUSBX
(Make sure to use the correct USB)i already tried it. still it not moving.i connected an led to check whether there's any problem with the board,but that it isn't the problem. the servo progrm uploaded and rosrun n rostopic pub.. was also done even then its not happening..the ros core was also run
fixed it .. it was nt getting enough power to the board .. thanx anyway :)
what do u mean not enough power? how do you powering it before?