06-23-2016 02:10 AM
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!
06-24-2016 11:03 AM
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?
06-26-2016 01:38 PM
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