Go to Post FIRST itself is simply a mechanism, not the real goal. - msd [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 07-01-2009, 15:35
RKElectricalman's Avatar
RKElectricalman RKElectricalman is offline
Meezy the Mentor
AKA: Rameez
FRC #0384 (Sparky 384)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2004
Location: Richmond, Va
Posts: 88
RKElectricalman is just really niceRKElectricalman is just really niceRKElectricalman is just really niceRKElectricalman is just really nice
Send a message via AIM to RKElectricalman
Question Basic functions in windriver

I've searched, and searched but I just frustrate myself more. I can't see to find out how to do a few basic things I was able to do in MpLab on the old control system. I don't know how to use WPILib to my advantage just yet, and through all this complexity I just need to know how to do a few simple things!

First off, how would I go about writing code for a joystick in which an axis controls the speed of the motor?

how would assign a joystick to a pwm? (Same as above pretty much)

how would I invert a motor in code?

where can I find out what variables I can use for C++ in Windriver?

How do I program a button?

In most posts people have been directed to the FRC control systems page, but I don't see anything helpful. Maybe i'm missing something, but if anyone could show me some sample code or pass some links to show me the right direction I would be eternally grateful. And if you're really in the mood to help, maybe you everyone could throw in some extra bit with other "simple" functions that people could reference from this post.

Thanks in advance!
-Rameez
__________________
ahhh Division Finalists!!
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Debug Windriver issue..... programmr C/C++ 12 06-02-2011 13:47
Windriver LAC McGurky C/C++ 12 25-02-2009 18:38
compiling in windriver koreabell Programming 4 05-01-2009 15:32
windriver projects nickmagus Programming 4 01-12-2008 23:29


All times are GMT -5. The time now is 13:40.

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