Search found 36 matches

by robof
Wed Sep 06, 2017 11:47 am
Forum: General Discussion
Topic: Forum Search Change Request
Replies: 3
Views: 4914

Re: Forum Search Change Request

After some research it appears this is a common problem with phpbb. It looks like changing the threshold to 0 and then deleting index and re-creating index might fix it. https://www.phpbb.com/community/viewtopic.php?f=46&t=1441385 I wouldn't worry too much about it at this point since I can cont...
by robof
Wed Sep 06, 2017 1:08 am
Forum: General Discussion
Topic: Serial Communications problem using Linux Kernel 4.10 and 4.12
Replies: 27
Views: 27907

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

I'm not sure what the pyserial library is doing behind the scenes, but I wonder if this issue was tested in c++ on the 4.10 kernel if it would have any different result? If that worked, then the c++ library could be wrapped and called from Python with the existing python library. This may be exactly...
by robof
Wed Sep 06, 2017 12:27 am
Forum: General Discussion
Topic: All Stop command
Replies: 14
Views: 16292

Re: All Stop command

This may not help Chuck-Yeo, but here are my findings. I can say that I have no problem performing a 'Stop All' using the DutyM1, DutyM2, and/or DutyM1M2 commands with a value of 0 and the motors are not holding position (I can freely move); however, there is a problem with these functions in the Py...
by robof
Tue Sep 05, 2017 3:09 pm
Forum: General Discussion
Topic: Forum Search Change Request
Replies: 3
Views: 4914

Forum Search Change Request

Would it be possible for you to update the settings on the forum search feature? More often than not, I can not search for help due to this error message: The following words in your search query were ignored because they are too common words: I assume there is some setting in phpBB that will let yo...
by robof
Tue Sep 05, 2017 3:02 pm
Forum: General Discussion
Topic: Serial Communications problem using Linux Kernel 4.10 and 4.12
Replies: 27
Views: 27907

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

I can confirm that closing/re-opening the connection after any number of cycles does not prevent the problem. I put some debug statements in and have found that the python library is stopping on here, if that helps any def _sendcommand(self, address, command): .... self._port.write(bytes([command]))
by robof
Tue Sep 05, 2017 11:26 am
Forum: General Discussion
Topic: Packet Serial Read Loop
Replies: 6
Views: 7494

Re: Packet Serial Read Loop

@gdoisy, I am on 4.10 (Ubuntu 16.04)

So it sounds like that the cause of my issue.
by robof
Thu Aug 31, 2017 11:44 pm
Forum: General Discussion
Topic: Packet Serial Read Loop
Replies: 6
Views: 7494

Re: Packet Serial Read Loop

The code is essentially just any Read command inside a while loop. Am I correct in thinking with the python code shown below it wouldn't be possible to send another read command until the previous was finished? I can put a sleep in the while loop, >=10ms, and the problem appears to go away. I'm curi...
by robof
Thu Aug 31, 2017 11:10 pm
Forum: General Discussion
Topic: Need command to read serial number
Replies: 1
Views: 2896

Need command to read serial number

I couldn't find this command so assuming this may be a feature request, I'll preface it with my need for this command. I will be deploying a large number of Roboclaws (maybe eventually MCPs too) in an industrial setting where I will need to uniquely identify the devices via packet serial mode, for a...
by robof
Thu Aug 31, 2017 2:53 am
Forum: General Discussion
Topic: Packet Serial Read Loop
Replies: 6
Views: 7494

Packet Serial Read Loop

I'm currently reading all the main status variables (the ones shown on 'Device Status' page in Ion Studio) in a loop, but I've found that without a sleep() inside the loop, the reads will stutter and eventually hang. I can restart the script and it will work again for a few seconds, but eventually i...
by robof
Thu Aug 24, 2017 1:25 pm
Forum: General Discussion
Topic: MCP vs Roboclaw
Replies: 1
Views: 4598

MCP vs Roboclaw

Is there a guide/document/discussion somewhere lining out the differences between the MCP and the Roboclaw?

I'm currently using Roboclaw, but I'm wondering if the MCP line would benefit me.