View Single Post
  #2   Spotlight this post!  
Unread 28-12-2009, 21:44
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: quation Holonomic Drive use Windriver C++

Quote:
Originally Posted by yara92 View Post
MyRobot . Holonomic Drive (stick. GetMagnitude() ; stick.GetDirectionDegrees(); degree_90_fix);
use , not ; to seperate arguments. Also, I would have a variable turn (assuming joystick with twist):
MyRobot.HolonomicDrive(stick.GetMagnitude(),stick. GetDirectionDegrees(),stick.GetTwist());
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Reply With Quote