Search found 31 matches

by nickosinski
Sat Dec 31, 2016 6:13 am
Forum: Velocity and Position Control
Topic: Novice Velocity PID Instructions?
Replies: 13
Views: 18284

Re: Novice Velocity PID Instructions?

Thank you so much!!!

I think that is one of the fundamental things that I didn't understand - that the motors may have completely different P values even if they're identical motors.

Again, thank you for taking the time to answer all my questions; it's very much appreciated! Happy New Year!

Nick.
by nickosinski
Thu Dec 29, 2016 12:06 pm
Forum: Velocity and Position Control
Topic: Novice Velocity PID Instructions?
Replies: 13
Views: 18284

Re: Novice Velocity PID Instructions?

Hello again, My next question... in playing with the P value and leaving D/I at 0 (zero), I'm able to get 2 motors to traverse the same distance, but one will always run faster than the other - so one always seems to reach the desired distance total sooner/earlier than the other motor. I obviously w...
by nickosinski
Thu Dec 29, 2016 11:29 am
Forum: Velocity and Position Control
Topic: Novice Velocity PID Instructions?
Replies: 13
Views: 18284

Re: Novice Velocity PID Instructions?

Thank you, but per my earlier messages in this thread, I have the older 2x5a models that do not have on-board USB capability, so there's no way to connect to your software. Yes, the library has the last variable for buffer, but it's an optional value, I understand - is that not correct? Thanks again...
by nickosinski
Wed Dec 28, 2016 11:55 am
Forum: Velocity and Position Control
Topic: Novice Velocity PID Instructions?
Replies: 13
Views: 18284

Re: Novice Velocity PID Instructions?

Thank you again for your reply and assistance. Here are the settings that I'm using... as a starting point: #define Kp_1 1.0 #define Ki_1 0.5 #define Kd_1 0.25 #define qpps_1 32000 in the Setup(), I have roboclaw.SetM1VelocityPID(address,Kd_1,Kp_1,Ki_1,32500); roboclaw.SetM2VelocityPID(address,Kd_1,...
by nickosinski
Fri Dec 23, 2016 1:33 pm
Forum: Velocity and Position Control
Topic: Novice Velocity PID Instructions?
Replies: 13
Views: 18284

Re: Novice Velocity PID Instructions?

Sorry... one more question.

The library I have (yes, I know it's old) shows the function as follows:

bool SetM1VelocityPID(uint8_t address, float Kd, float Kp, float Ki, uint32_t qpps);

...so the order is DPI, not PID, correct?

Thanks again,

Nick.
by nickosinski
Fri Dec 23, 2016 12:52 pm
Forum: Velocity and Position Control
Topic: Novice Velocity PID Instructions?
Replies: 13
Views: 18284

Re: Novice Velocity PID Instructions?

Thank you again for your instructions - they were very helpful. I do have a follow-up question, however. The PID values that I set, seem to work well for a given distance - say a distance value of 80,000, but when I use the same PID values with a distance much shorter, such as 10,000, then the dista...
by nickosinski
Mon Dec 05, 2016 1:05 pm
Forum: General Discussion
Topic: 24v Input for both Motor & Logic?
Replies: 7
Views: 8413

Re: 24v Input for both Motor & Logic?

This is a perfect explanation. Again, thank you for taking the time to explain and elaborate on the "why" and "how" for best case usage. I know that they're older boards, but they work... for now, and I'm learning so much from you guys. I've been recommending RoboClaws to everyon...
by nickosinski
Mon Dec 05, 2016 1:01 pm
Forum: Velocity and Position Control
Topic: Novice Velocity PID Instructions?
Replies: 13
Views: 18284

Re: Novice Velocity PID Instructions?

Thank you so much!

Let me give this a try and hopefully I don't have to bug you again :P

Again, very much appreciated!

Nick.
by nickosinski
Mon Dec 05, 2016 5:44 am
Forum: Velocity and Position Control
Topic: Novice Velocity PID Instructions?
Replies: 13
Views: 18284

Novice Velocity PID Instructions?

Hello, I've hunted through these forums as well as on Google so I apologize if this information is already posted somewhere, but I've been unable to locate it. I'm a complete novice when it comes to PID and configuring motor controllers like the RoboClaws. I have two old 2x5a RCs each running two mo...
by nickosinski
Fri Dec 02, 2016 9:26 am
Forum: General Discussion
Topic: 24v Input for both Motor & Logic?
Replies: 7
Views: 8413

Re: 24v Input for both Motor & Logic?

I found an old thread that suggests the old 2x5a shouldn't be run any higher than 18v... so if that is, in fact, the case, I have a 2 related follow-up questions: 1) When powering the RoboClaw logic and motor's separately, is there an order to how the power should be delivered. For example, should t...