Search found 1366 matches

by Basicmicro Support
Tue Dec 01, 2015 8:41 am
Forum: Velocity and Position Control
Topic: Absolute position control
Replies: 7
Views: 6816

Re: Absolute position control

The keypad lib probably uses the PCINT interrupt which the roboclaw library also uses which then causes a compiler error when both try to use it at the same time. But I would need to see your code to be sure. An error message would also help. Please provide the code and a link to the version of the ...
by Basicmicro Support
Fri Nov 27, 2015 8:59 am
Forum: Velocity and Position Control
Topic: [Solved] Commands 65, 66, 67 seem hobbled.
Replies: 20
Views: 14048

Re: Commands 65, 66, 67 seem hobbled.

1. I cant remember if you said you are using our arduino lirbary or are coding your own from scratch. Please confirm one or the other. If you are coding your own please show the code you use for commands 61/62 2. If looks like your SetM#PositionPID arguments are in the wrong order(baseed on your bin...
by Basicmicro Support
Fri Nov 27, 2015 8:46 am
Forum: Velocity and Position Control
Topic: How to fit Encoder on Roboclaw?
Replies: 1
Views: 3402

Re: How to fit Encoder on Roboclaw?

You have to use one of the Speed commands if you want the Roboclaw to adjust the speed for you. The PWM/Duty cycle commands do not use the feedback information. You could get complex and read the encoder speeds and then calculate what to change the PWMs to get them to run at constnat speed all the t...
by Basicmicro Support
Fri Nov 27, 2015 8:39 am
Forum: Velocity and Position Control
Topic: Absolute position control
Replies: 7
Views: 6816

Re: Absolute position control

You can do everything but autotune through the TTL serial packet serial commands. Manual tuning isnt too difficult and if you have any questions please call in or post a new thread specific to tuning. Are you using a 2x5A or is your board a really old 2x15/2x30 that didnt have USB? If the latter you...
by Basicmicro Support
Mon Nov 23, 2015 2:38 pm
Forum: General Discussion
Topic: Could you please provide a C++ example
Replies: 1
Views: 2036

Re: Could you please provide a C++ example

Technically the arduino libraries are C++. You need a serial port library for whatever device(Im guess a PC since you didnt say but did mention the C#)) you are using. With some minor changes and the addition of a C++ serialport library it shouldnt take much to get a C++ program talking to the Roboc...
by Basicmicro Support
Mon Nov 23, 2015 2:34 pm
Forum: Velocity and Position Control
Topic: [Solved] Commands 65, 66, 67 seem hobbled.
Replies: 20
Views: 14048

Re: Commands 65 and 66 seem hobbled.

I plugged in your exact data and it did work. Using the currently available version. This would lead me to beleive the problem is something out side of the raw data. Could be how its being sent? Follow along with what I did: 1. I used RealTerm specifically to elliminate the method of sending the dat...
by Basicmicro Support
Mon Nov 23, 2015 2:25 pm
Forum: Velocity and Position Control
Topic: Absolute position control
Replies: 7
Views: 6816

Re: Absolute position control

Except for changing the encoder type(go to General Settings in IonMotion and change the type(s) to Absolute for the specific motor channel(s)) the Absolute enocder wiring(eg analog POT) information starts on page 56 of the manual and leads into manual tuning and then auto tuning. For packet serial m...
by Basicmicro Support
Thu Nov 19, 2015 2:00 pm
Forum: General Discussion
Topic: [Solved] Issue with update v4.1.15 not taking.
Replies: 4
Views: 3584

Re: [Solved] Issue with update v4.1.15 not taking.

Yes, I made some minor changes to the chart scaling for the Velocity/Setpoint displays. Sync Motors should disable one slider(motor 2s slider) and use the Mixed commands(eg the dual motor commands) for PWM,Speed or Position depending which window you are in. That way both individual and dual command...
by Basicmicro Support
Thu Nov 19, 2015 1:58 pm
Forum: Velocity and Position Control
Topic: Absolute position control
Replies: 7
Views: 6816

Re: Absolute position control

Im going to assume you want to use an RC signal to control a motors position like a giant servo? If you want to use a different control method(Analog signal,Packet Serial) please let me know. Your post is somewhat limited on info. First thing you need to do is get your motor and encoders wired up. D...
by Basicmicro Support
Thu Nov 19, 2015 1:55 pm
Forum: Velocity and Position Control
Topic: [Solved] Commands 65, 66, 67 seem hobbled.
Replies: 20
Views: 14048

Re: Commands 65 and 66 seem hobbled.

Ok. Now that you are on 4.1.15... 1. The position commands do not take signed speed arguments(absolute speed only, direction is determined by the relative position change. Im just noting this for confirmation, since you say you did try a positive speed as well. 2. I moved my M2 motor to 14462 using ...