Search found 13 matches

by ejunkins
Wed Dec 11, 2019 10:06 am
Forum: General Discussion
Topic: Firmware update 4.1.34 broke speed control function
Replies: 4
Views: 4654

Re: Firmware update 4.1.34 broke speed control function

All settings are correct and verified yes, the PID tunings and all other settings. PWM control functions as expected and encoders are verified. I have reset and re-entered the parameters, and re-tuned the motors as well. It happens if I use the BasionMotion studio, In my 2nd post on this thread I d...
by ejunkins
Wed Dec 11, 2019 8:36 am
Forum: General Discussion
Topic: Firmware update 4.1.34 broke speed control function
Replies: 4
Views: 4654

Re: Firmware update 4.1.34 speed function

To illustrate my problem in more clear terms I have this test script: from roboclaw import Roboclaw import serial import time address = 0x80 rc = Roboclaw("/dev/ttyTHS1", 115200) rc.Open() rc.SpeedM1(address, 0) rc.SpeedM2(address, 0) time.sleep(2) rc.ForwardM1(address, 0) rc.ForwardM2(add...
by ejunkins
Tue Dec 10, 2019 6:14 pm
Forum: General Discussion
Topic: Firmware update 4.1.34 broke speed control function
Replies: 4
Views: 4654

Firmware update 4.1.34 broke speed control function

Hi, I have a project that I have been using the Roboclaw 2x7a on, and has been running on what I believe was 4.1.33 firmware version (whatever the number is the previous version was). It has been working for quite a few weeks now. I today upgraded to 4.1.34 version and the system no longer works. Sp...
by ejunkins
Wed Oct 23, 2019 9:31 am
Forum: General Discussion
Topic: Current Reading
Replies: 1
Views: 2759

Current Reading

Hi, I'm curious when I ask the RoboClaw for the current from each motor phase what the number reported actually is. Is it the instantaneous current measured at that moment, or some average over a time period, or something else
by ejunkins
Tue Jun 18, 2019 8:37 am
Forum: General Discussion
Topic: Home switch State
Replies: 6
Views: 4733

Re: Home switch State

Great, all working now, thanks!
by ejunkins
Fri Jun 14, 2019 11:30 am
Forum: General Discussion
Topic: Home switch State
Replies: 6
Views: 4733

Re: Home switch State

The function I'm using is: def _get_Errors(self): ' '' Gets the error status of the motor controllers return: list [2] (int): Error code per motor controller ' '' errors = [0] * 2 for i in range(2): errors = self.rc.ReadError(self.address )[1] return errors self.address = [0x80, 0x81] The element [1...
by ejunkins
Thu Jun 13, 2019 5:06 pm
Forum: General Discussion
Topic: Home switch State
Replies: 6
Views: 4733

Re: Home switch State

I am using Basicmicro Motion Stuido, using firmware version 4.1.33. The python library was downloaded on Tuesday 6/11/2019.
by ejunkins
Wed Jun 12, 2019 5:56 pm
Forum: General Discussion
Topic: Home switch State
Replies: 6
Views: 4733

Home switch State

Hi, I am having issues with being able to query the state of my home switch using the python software given in roboclaw.py . Reading the user manual on page 74 it says that the error code for the home switches is 0x4000 and 0x8000. When I use the function Read Status (from the python library ReadErr...
by ejunkins
Tue Apr 09, 2019 2:49 pm
Forum: General Discussion
Topic: Problem with Serial communication
Replies: 9
Views: 7705

Re: Problem with Serial communication

The Hub is not attached to a PC when the system powers on. I think my plan is going to be to add a switch on the power of the USB hub that will only turn on when I need to debug the system, so I won't have to worry about this during normal operation
by ejunkins
Mon Apr 01, 2019 2:46 pm
Forum: General Discussion
Topic: Problem with Serial communication
Replies: 9
Views: 7705

Re: Problem with Serial communication

Yes the problem seems to be when I have Rooboclaws attached to the USB hub. It is a powered USB hub, that I use to connect to 5 seperate RoboClaws. Testing I just did yielded the following result: On Boot of robot: - When USB hub is powered and connected to RoboClaws - Unable to establish serial con...