Go to Post I'm not certain that I agree with me on this reasoning, either. - Richard Wallace [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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
  #2   Spotlight this post!  
Unread 29-01-2017, 23:40
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,770
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: ADXRS450 Straight Drive Not Working

We did mecanum code back in 2014, so I am not familiar with using it on the new gyro. However, unless you get better advice, the first thing I would try would be to remove the negative from the gyro input to mecanumDrive_Cartesian(). If your gyro input is of the incorrect sign (or moves rapidly in one direction independently of what is going on), this will cause a high-speed spin as the drive pushes farther and faster away from the desired set point.

Do you have trouble driving straight manually? When we implemented this in 2014 with 6 inch wheels, drivers were able to quickly adapt even to our prototype robot, which had about 6x as much weight on the right rear wheel as on the front left. (That prototype is the only team robot I drove for more than an hour, and it took me less than a minute to compensate for the pull.) If straight driving is difficult for people, you probably have some significant physical problem, whether swapped gearboxes or a gearbox which is not rotating freely. Having some of the roller bolts so tight so that they do not rotate freely might also cause this issue.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
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 13:16.

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