OCCRA
Go to Post Moral of the story: Keep something you can power on gamepieces at all times. Leaving them "to do their own thing" will only lead to heartbreak. - Ian Curtis [more]
Home
Go Back   Chief Delphi > Technical > Programming > WindRiver C++
CD-Events   CD-Media   CD-Spy   FRC-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-08-2009, 05:02 AM
kiettyyyy's Avatar
kiettyyyy kiettyyyy is offline
Registered User
FRC #1538 (The Holy Cows)
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2005
Location: San Diego, CA
Posts: 134
kiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond repute
Send a message via AIM to kiettyyyy
Setting inverted motor help

Hi all,

I'm trying to call the function "SetInvertedMotor".

I can't really find any documentation on this... Has anyone used this successfully?

Thanks!
__________________
-Kiet Chau

2004-2008 - Software Developer/Driver on Team #968
2008-2011 - Software Developer/Coach/Mentor/"Engineer" on Team #968
2011-Present - Mentor & Engineer on Team #1538
www.team1538.com
Reply With Quote
  #2   Spotlight this post!  
Unread 01-14-2009, 06:09 PM
Anshu C. Anshu C. is offline
Programming Lead - Team #1351 (TKO)
AKA: Anshu Chimala
FRC #1351 (TKO)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2006
Location: California
Posts: 2
Anshu C. is an unknown quantity at this point
Send a message via Skype™ to Anshu C.
Re: Setting inverted motor help

SetInvertedMotor takes two parameters: the first is of type "MotorType", which is a typedef'd enumeration defined in RobotDrive.h. The second is a boolean value.

This is how we used it:

Code:
myRobot.SetInvertedMotor(myRobot.kFrontLeftMotor, true);
Reply With Quote
Reply


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
i need help w/ setting up a palm pilot for dashboard youngWilliam14 General Forum 12 04-01-2007 03:11 PM
I need help setting up BuddyB309 3D Animation and Competition 6 09-19-2005 09:43 PM
IR signals inverted Atheist Electrical 10 02-08-2004 03:27 PM
Setting motor in cradle Stormhammer Motors 4 01-20-2004 02:51 PM
Need help setting up phpBB on a coolfreepages.com website LBK Rules Website Design/Showcase 5 03-30-2003 07:02 PM


All times are GMT -5. The time now is 10:47 AM.

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


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