Search found 33 matches

by gdoisy
Mon Sep 04, 2017 3:52 am
Forum: General Discussion
Topic: Serial Communications problem using Linux Kernel 4.10 and 4.12
Replies: 27
Views: 27307

Re: Losing communication with Roboclaw,TTL serial and Raspberry PI

I am connected to the board directly to the usb port. As you suspected a timing issue, I inserted a delay not every loop, but between every read of encoder or speed (i.e. in practice every _sendcommand call) as the I am using roboclaw_read.py which performs 4 reads in a row. So far, with a delay of:...
by gdoisy
Thu Aug 31, 2017 3:04 am
Forum: General Discussion
Topic: Serial Communications problem using Linux Kernel 4.10 and 4.12
Replies: 27
Views: 27307

Re: Losing communication with Roboclaw,TTL serial and Raspberry PI

All problems are from kernel 4.10 (tested with 4.12, same issues). I don't have the issue with the roboclaw_readversion.py example (cycles are too slow i guess), but with roboclaw_read.py (fails in less than 2 minutes). I traced the blocking point to the function "def _sendcommand(self,address,...
by gdoisy
Wed Aug 30, 2017 3:05 am
Forum: General Discussion
Topic: Serial Communications problem using Linux Kernel 4.10 and 4.12
Replies: 27
Views: 27307

Re: Losing communication with Roboclaw,TTL serial and Raspberry PI

Same issue when using ubuntu 17.04 (kernel 4.10 by default)
by gdoisy
Wed Aug 30, 2017 12:41 am
Forum: General Discussion
Topic: Serial Communications problem using Linux Kernel 4.10 and 4.12
Replies: 27
Views: 27307

Re: Losing communication with Roboclaw,TTL serial and Raspberry PI

FYI, in order to check if it was ROS dependent, I dowloaded the last python library available on your website and tried:

Code: Select all

python roboclaw_read.py 
With kernel 4.8, no problem, with kernel 4.10 and 4.12, it stops after a few cycles.
by gdoisy
Thu Aug 24, 2017 4:29 am
Forum: General Discussion
Topic: Serial Communications problem using Linux Kernel 4.10 and 4.12
Replies: 27
Views: 27307

Re: Losing communication with Roboclaw,TTL serial and Raspberry PI

Okay,
I will report my findings here when I will have time to debug.
For now I can just tell you that the node is not crashing, the cummunication just stops.
by gdoisy
Tue Aug 22, 2017 9:00 am
Forum: General Discussion
Topic: Serial Communications problem using Linux Kernel 4.10 and 4.12
Replies: 27
Views: 27307

Re: Losing communication with Roboclaw,TTL serial and Raspberry PI

Turn out that it is going to be an issue for us not to be able to use linux kernel 4.10. Should I open a separate thread ?
by gdoisy
Thu Aug 17, 2017 5:37 am
Forum: General Discussion
Topic: Serial Communications problem using Linux Kernel 4.10 and 4.12
Replies: 27
Views: 27307

Re: Losing communication with Roboclaw,TTL serial and Raspberry PI

Hello, Having a similar problem with my custom ROS driver which uses the python driver. I traced back the issue to the update of the linux kernel. Same computer, ubuntu 16.04. With kernel 4.8 it works perfectly, with kernel 4.10, the communication stops after few seconds. Connected directly to the U...
by gdoisy
Tue Nov 22, 2016 2:40 am
Forum: General Discussion
Topic: Python mixed SpeedAccel command not working
Replies: 5
Views: 6833

Re: Python mixed SpeedAccel command not working

Just had a new look on this. I manage to get the desired behavior using the following function (i missed it last time):

SpeedAccelDistanceM1M2_2
by gdoisy
Fri Nov 18, 2016 12:27 am
Forum: General Discussion
Topic: Roboclaw 2x60A V5 usb slot came off
Replies: 8
Views: 9449

Re: Roboclaw 2x60A V5 usb slot came off

Thanks for your answer, we ordered a new one in order not too loose too much time but I sent an email to the customer support to make a repair anyway. We will take extra care of the usb slot from now, but for your information, we used a 2x15a roboclaw in the exact same configuration and never had an...