View Single Post
  #1   Spotlight this post!  
Unread 02-02-2009, 23:02
ExarKun666's Avatar
ExarKun666 ExarKun666 is offline
Ben Error/MC Ben/NC Ben
AKA: Ben Kellogg
FRC #2429 (LCEC)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2008
Location: La Caņada, CA
Posts: 208
ExarKun666 is an unknown quantity at this point
Send a message via AIM to ExarKun666 Send a message via MSN to ExarKun666 Send a message via Yahoo to ExarKun666
Control Mapping problems in WindRiver

Okay we have tried several things, and are trying to mutate these functions, but are unable to and we are unsure of how.

We are trying to get it to several things:
1) when we use Joystick to do the function GetX() it says GetX() hasn't been defined, and we tried Joystick.GetX() and it says you need a parent class or something b4 Joystick, so how do I declare GetX??
2) We are trying to use the log function also in this, but we can't find a way to convert float to a non double number or a double number for use by myRobot.*.* ect...
3) How do you do a state machine with a button?

This is confusing, and I have looked through the header files to try and understand what is going on, but the files just call a bunch more header files and it just looks all stubbed out, and it seems really hard to mutate, so any help would be very nice!
__________________
Ben Kellogg




Team Sites: [LCEC Site] [FRC/FLL Site] [LCEC Blog]
Reply With Quote