LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Mecanum Frame velocities to Wheel Motion

Hello,

 

Newbie question which I could not find an answer to by searching so apologies if it has been asked before.

 

I am creating a mecanum frame and would like to know how I can convert the outputs of the wheel velocities to actual motion on the wheels (Wheels are driven by a 30:1 dc gear motor and is controlled via PWM from myRio). So far I have been able to do this by scaling the output velocities from the "frame to wheels" VI to a pwm value that is then fed in to the PWM Express VI but I was wondering if the there is a cleaner way to do this?

I have also come across the motor communication VIs but think this is not relevant to simple DC motors?

 

Any help would be greatly appreciated!

 

0 Kudos
Message 1 of 3
(3,026 Views)

 HI Rick,

 

Would you mind posting an examples of what you are trying to do in code? Also, are you using an encoder with the DC Motor?

A Johnson
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(2,989 Views)

Rick,

 

     We cannot see your VIs to get an idea of what you are doing and where you are having difficulties if you don't attach them!  Please attach the VIs themselves, not pictures of them -- we need to be able to "poke around" in them, and potentially to execute them.  If you have a bunch of VIs, compress the folder that contains them and attach the resulting .ZIP file.

 

Bob Schor

0 Kudos
Message 3 of 3
(2,961 Views)