Go to Post Instant Replay??? AAAAAAUUUUUGGGGGHHHHHH!!! - Bill Moore [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 30-04-2013, 09:46
ekapalka's Avatar
ekapalka ekapalka is offline
Registered User
FRC #3216
 
Join Date: Dec 2012
Location: Bermuda
Posts: 277
ekapalka has a spectacular aura aboutekapalka has a spectacular aura about
Syncronous motor speed with encoders

Hello! We're considering using building another robot with Mecanum wheels for an off-season project to apply what we know as far as programming, but there may be a problem.... From what I've read, there can be a lot of problems when using holonomic steering if the motors aren't spinning at exactly the correct speed. I'm fairly certain that the absolute value of the wheel speed always has to be the same. I know that the simplest code for holonomic drive is
Code:
public void mecanumDrive_Cartesian(double x, double y, double rotation, double gyroAngle)
but, as far as I know, that code wouldn't allow us to control the motor speed independently. Do I have to modify the mecanumDrive_Cartesian.cpp file? I assume that I'll need PID loops somewhere in the program (which I have no idea how to write) to interpret the data from the encoders. Thanks!
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:54.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi