Search found 1594 matches
- Wed Dec 14, 2016 9:18 am
- Forum: General Discussion
- Topic: library bug found
- Replies: 10
- Views: 10718
Re: library bug found
Does it work in IonMotion(eg when testing in the Position Settings window it uses that command for M1)?
Did you tune the Velocity PID as well as the Position PID?
Are you using the latest firmware(4.1.19).
Please show your code.
Thanks.
Did you tune the Velocity PID as well as the Position PID?
Are you using the latest firmware(4.1.19).
Please show your code.
Thanks.
- Wed Dec 14, 2016 9:16 am
- Forum: General Discussion
- Topic: example roboclaw_speeddistance.py
- Replies: 3
- Views: 3982
Re: example roboclaw_speeddistance.py
Yes, the values are in encoder counts. For position control a min and max must be set(even if you have quadrature encoders with no limit. The min and max at as software limits as well as providing a range to map RC and Analog controls to position values. In most cases distance commands are used for ...
- Wed Dec 14, 2016 9:14 am
- Forum: Velocity and Position Control
- Topic: Encoder error threshold?
- Replies: 1
- Views: 3728
Re: Encoder error threshold?
There is currently no encoder threshold limit in the Roboclaw. If you are using packet serial mode you could check the actual position against the expected position in your own program. Please send in a CRM request with the suggested function. We will look at if it is feasible(eg is there room in th...
- Mon Dec 12, 2016 9:33 am
- Forum: General Discussion
- Topic: example roboclaw_speeddistance.py
- Replies: 3
- Views: 3982
Re: example roboclaw_speeddistance.py
You should set the min and max position limits when you tune the Position PID for the motor. I recommend you tune the PID using IonMotion on a Windows PC and then save the settings to the Roboclaws NVM. Trying to tune the PID in a program is painful and can only be done manually where IonMotion has ...
- Mon Dec 12, 2016 9:31 am
- Forum: General Discussion
- Topic: Arduino Library Programming
- Replies: 1
- Views: 3083
Re: Arduino Library Programming
Assigning a value to something in the signature(when using C++) sets a default value to that variable. That means that argument is optional. If you dont use the argument the compiler will use NULL instead when you call the function. However to actually use it(which I recommend). Create a boolean var...
- Mon Dec 12, 2016 9:25 am
- Forum: General Discussion
- Topic: [SOLVED] S4/S5 enable
- Replies: 20
- Views: 25609
Re: [SOLVED] S4/S5 enable
Ah. We added the manual homing option at a customer request not long ago. The manual is in the process of being updated but that takes longer(has to go through several different peoples hands) where adding a function to the unit only requires it to go through my hands.
Sorry about the confusion.
Sorry about the confusion.
- Fri Dec 09, 2016 9:51 am
- Forum: Velocity and Position Control
- Topic: Can I use a pot for position feedback without an encoder?
- Replies: 4
- Views: 5719
Re: Can I use a pot for position feedback without an encoder?
No. A pot driven by the motor(eg like a RC servo or like on some linear acuators IS an encoder. Its just an absolute encoder(eg limited range and produces and absolute position value).
You do not sue both types of encoders at the same time(atleast with a Roboclaw controller).
You do not sue both types of encoders at the same time(atleast with a Roboclaw controller).
- Fri Dec 09, 2016 9:49 am
- Forum: General Discussion
- Topic: Speed control used as a brake
- Replies: 0
- Views: 2841
Re: Speed control used as a brake
With a properly tuned PID, yes the Roboclaw will fight against a external force to keep the speed or position. Atleast upto the maximum torque the motor.
- Fri Dec 09, 2016 9:47 am
- Forum: General Discussion
- Topic: Python Library Question
- Replies: 1
- Views: 2911
Re: Python Library Question
The value returned is a 16bit word. Different bits in the value indicate different things. Look at page 52 of the Roboclaw manual for a list of chich bits do what.
99 decimal equal 0x0063 in hexidecimal. That indicates Packet serial mode and a baudrate of 38400, eg 0x0003 | 0x0060
99 decimal equal 0x0063 in hexidecimal. That indicates Packet serial mode and a baudrate of 38400, eg 0x0003 | 0x0060
- Wed Dec 07, 2016 9:01 am
- Forum: Velocity and Position Control
- Topic: Can I use a pot for position feedback without an encoder?
- Replies: 4
- Views: 5719
Re: Can I use a pot for position feedback without an encoder?
For velocity or position control you need an encoder on the motor. You can use a pot as an encoder for an absolute position control without the need for a home switch or homing(which you would need if you used a quadrature encoder). I expect the "embedded potentiometers" are on a linear ac...