Search found 4 matches

by stu
Thu Jul 11, 2019 4:52 pm
Forum: General Discussion
Topic: Python's Duty Acceleration functions
Replies: 1
Views: 2155

Python's Duty Acceleration functions

Python's Duty Accel functions are the only ones with accel first. The serial functions have duty first, and all the cpp code has duty first. Makes translating code pretty difficult! Python library: def DutyAccelM1(self,address,accel,duty): return self._writeS24(address,self.Cmd.M1DUTYACCEL,duty,acce...
by stu
Wed May 08, 2019 11:25 am
Forum: General Discussion
Topic: Roboclaw solo: serial communications straight out of the box
Replies: 1
Views: 2073

Roboclaw solo: serial communications straight out of the box

What is the default baud rate? Mine showed up with 38400, but all the python examples have 115200. If there isn't a default, is there a way to set or detect it over serial? I imagine the PC would have to try all the different baudrates until it receives some sort of success report, but I'm hoping th...
by stu
Wed May 08, 2019 11:00 am
Forum: General Discussion
Topic: Roboclaw Solo: Setting S3 mode via packet serial
Replies: 3
Views: 3219

Re: Roboclaw Solo: Setting S3 mode via packet serial

I figured it out by setting the functionality through the GUI then reading the pin modes using rc.ReadPinFunctions(0x80) It printed (1, 0, 34, 0) which is strange considering your post says reverse limit is 0x20, which is 32. Any idea what that's about? Thanks for the response by the way.
by stu
Wed May 08, 2019 8:34 am
Forum: General Discussion
Topic: Roboclaw Solo: Setting S3 mode via packet serial
Replies: 3
Views: 3219

Roboclaw Solo: Setting S3 mode via packet serial

S3 can be set to act as a limit switch (reverse) via the Basicmicro Motion Studio GUI, bms_gui.PNG however the user manual doesn't explain how to do so using packet serial. The user manual appears to be out of date for the solo: there's no S4 or S5 on this model. robo_user_man.PNG Essentially I'd li...