Search found 18 matches

by bsorel
Wed May 11, 2016 10:39 am
Forum: Velocity and Position Control
Topic: Autotune causing IonMotion v 1.66 to hang
Replies: 4
Views: 6540

Re: Autotune causing IonMotion v 1.66 to hang

I should have given you more information. I am using linear actuators but I have quadrature encoders on each of them. One runs around 140 qpps and the other around 130. I thought that by running command 37 run M1 and M2 with signed speed around 130 they would just sync. It appears that this isn't th...
by bsorel
Fri May 06, 2016 3:12 pm
Forum: Velocity and Position Control
Topic: Autotune causing IonMotion v 1.66 to hang
Replies: 4
Views: 6540

Re: Autotune causing IonMotion v 1.66 to hang

I'll add what I'm attempting to do. maybe in this context this will help. I am trying to get the motors to sync with each other which is a mixture of position and velocity control. When you get a pair of linear actuators no matter what the quality of them one is always faster than the other. If it w...
by bsorel
Fri May 06, 2016 10:07 am
Forum: Velocity and Position Control
Topic: Autotune causing IonMotion v 1.66 to hang
Replies: 4
Views: 6540

Autotune causing IonMotion v 1.66 to hang

As soon as I hit the command to autotune, whether it is in velocity or position control the program freezes. I not only have to restart the program but also power cycle the RoboClaw. As I said before I'm using v1.66. The Roboclaw model is an 2x7a and firmware is 4.1.16. I have no problems in PWM man...
by bsorel
Fri Feb 05, 2016 6:53 pm
Forum: General Discussion
Topic: CRC Issues in Serial Packet Mode
Replies: 26
Views: 26038

Re: CRC Issues in Serial Packet Mode

strangely enough with no pots connected to either encoder pin on ion motion one value seems to float ~1200 and the other around 220.
by bsorel
Thu Feb 04, 2016 11:39 am
Forum: General Discussion
Topic: CRC Issues in Serial Packet Mode
Replies: 26
Views: 26038

Re: CRC Issues in Serial Packet Mode

Not sure if this still belongs in this post but I'm attempting to tune the motors in my design. They are both linear actuators with pot feedback. I am using the Ion Motion program. I have confirmed that they are both set to absolute modes. Direction is confirmed under PWM settings. The problem is th...
by bsorel
Mon Feb 01, 2016 5:30 pm
Forum: General Discussion
Topic: CRC Issues in Serial Packet Mode
Replies: 26
Views: 26038

Re: CRC Issues in Serial Packet Mode

To be perfectly honest. I gave up. I read values for both the high byte and low byte, even though only 10 bits should be in the register. I was able to read battery voltage, although I had to reverse the order of the MSB and LSB sent from roboclaw. I applied the same technique to the encoder reads a...
by bsorel
Wed Jan 27, 2016 12:12 pm
Forum: General Discussion
Topic: CRC Issues in Serial Packet Mode
Replies: 26
Views: 26038

Re: CRC Issues in Serial Packet Mode

I've tried running at 9600 with the 10K pull up resistor and no go on the receiving end. The pull-up still only brings it up to 3.3V which may not be enough for a 5V Pic to read although it's I/O min high is 2V. Can't seem to find any data about the UART. There is a fair amount of noise visible (1V ...
by bsorel
Tue Jan 26, 2016 10:41 am
Forum: General Discussion
Topic: CRC Issues in Serial Packet Mode
Replies: 26
Views: 26038

Re: CRC Issues in Serial Packet Mode

I was a little frustrated last night. Everything that could go wrong seemed to. For that, I apologize. There may have been some user error due to working too late last night. Today, the TTL TX is working no problems. I measured the S2 pin with and without the pull up. Without it S2 is approximately ...
by bsorel
Mon Jan 25, 2016 2:43 pm
Forum: General Discussion
Topic: CRC Issues in Serial Packet Mode
Replies: 26
Views: 26038

Re: CRC Issues in Serial Packet Mode

Could I please get in touch with someone for phone support??? I'm really in a time crunch here and i need some resolution. And no I can't call the 1-800 number from Canada. I'm happy to give you mine though. I will answer these questions again: No it is not in mult-unit mode. I pulled up S2 to 5V on...
by bsorel
Sun Jan 24, 2016 10:29 am
Forum: General Discussion
Topic: CRC Issues in Serial Packet Mode
Replies: 26
Views: 26038

Re: CRC Issues in Serial Packet Mode

Update: I tried lowering the baud rate and still the problem remains. I can sent ttl level commands but don't appear to be receiving any telemetry. Since I know my UART works and the encoders can be read on the USB end of the RoboClaw could there be a problem with the TTL level function of the RoboC...