Rosserial_python on samd21
Hi, I am using a "modified" version of rosserial_arduino so that it works with samd21 chip. I can send/receive topics and services successfully using the terminal, but when I try to receive a topic from a ros package, it doesn't work! To be more exact, the steps I am doing are.....
- Upload a simple subscriber and a publisher to my samd21 chip.
- Connect to it using rosserial_python (this step is successful)
- publish a topic from the terminal using rostopic pub .......
- the samd21 chip listen to the topic and relays it back (using its publisher)
- listen to the published topic using rostopic echo... The mentioned procedure works fine, I am trying it currently with std_msgs/Bool
However, when I try to publish the a topic from a rosnode (my custom package), rosserial_python gives me multiple errors:
Mismatched protocol version in packet: lost sync or rosserial_python is from different ros release than the rosserial client
Protocol version of client is Rev 0 (rosserial 0.4 and earlier), expected Rev 1 (rosserial 0.5+)
wrong checksum for topic id and msg
wrong checksum for topic id and msg
And the errors keep on repeating (not always in the same order).
Any idea what is causing this? I have the same versions of rosserial_python and rosserial_arduino: 0.7.7