Open Sree-Aslesh opened 6 years ago
Your arduino code has a typo: Serial.begin(11520); instead of Serial.begin(115200);
@Sree-Aslesh Was your issue solved ?
@adbidwai yes it was, it was the typo that caused the loss of sync but besides that, my ROS master was forced to run at a higher rate due to which also the problem of sync had occurred.
i am working on an autonomous quadrotor having a raspberrypi on board wiht ubuntu mate 16.04 and laptop on ubuntu with 16.04 as well. The arduino code is as shown.
I have define 3 services , arm, disarm , land . and the node is just providing speeds. I execute the commands in the following order -
rosrun rosserial_python serial_node.py _baud:=115200 _port=/dev/ttyACM1
rosrun quadrotor quad-node
rosservice call /arm arm
and for that as soon as i call the service the terminal in which i connected my arduino it hangs and then shows this -
lost sync with device .. restarting ..
please help me out on this @mikepurvis @blubbi321