ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Capt_Crunch's profile - activity

2022-07-30 11:51:34 -0500 received badge  Teacher (source)
2022-07-30 11:51:34 -0500 received badge  Self-Learner (source)
2021-11-01 04:56:31 -0500 commented answer Rosserial_python on samd21

Hi. It has been a while since the post, so I don't remember exactly the steps. From what I recall, you have to generate

2020-12-18 13:33:30 -0500 marked best answer 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.....

  1. Upload a simple subscriber and a publisher to my samd21 chip.
  2. Connect to it using rosserial_python (this step is successful)
  3. publish a topic from the terminal using rostopic pub .......
  4. the samd21 chip listen to the topic and relays it back (using its publisher)
  5. 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

2020-10-22 10:43:38 -0500 received badge  Notable Question (source)
2020-10-22 10:43:38 -0500 received badge  Famous Question (source)
2019-08-23 08:38:35 -0500 received badge  Enthusiast
2019-08-19 08:10:01 -0500 received badge  Popular Question (source)
2019-07-17 08:10:57 -0500 edited answer Rosserial_python on samd21

I think I have found the solution, I added sleep() inside the loop after spinOnce() and it seems to do the trick. The we

2019-07-17 08:10:41 -0500 edited answer Rosserial_python on samd21

I think I have found the solution, I added sleep() inside the loop after spinOnce() and it seems to do the trick. The we

2019-07-17 08:09:46 -0500 answered a question Rosserial_python on samd21

I think I have found the solution, I added r.slee() inside the loop after spinOnce() and it seems to do the trick. The w

2019-07-17 08:09:46 -0500 received badge  Rapid Responder (source)
2019-07-17 03:53:51 -0500 edited question Rosserial_python on samd21

Rosserial_python on samd21 Hi, I am using a "modified" version of rosserial_arduino so that it works with samd21 chip. I

2019-07-17 03:53:51 -0500 received badge  Editor (source)
2019-07-17 03:53:21 -0500 edited question Rosserial_python on samd21

Rosserial_python on samd21 Hi, I am using a "modified" version of rosserial_arduino so that it works with samd21 chip. I

2019-07-17 03:52:56 -0500 asked a question Rosserial_python on samd21

Rosserial_python on samd21 Hi, I am using a "modified" version of rosserial_arduino so that it works with samd21 chip. I