View Single Post
  #1   Spotlight this post!  
Unread 10-07-2006, 17:58
jakk jakk is offline
Jonathan Kobayashi
FRC #0368 (Kika Mana)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Hawaii
Posts: 39
jakk has a spectacular aura aboutjakk has a spectacular aura about
Arcade Mode (12) does NOT work

Hi,

I help teach a VEX class and I am having trouble programming the Arcade Mode into the robot.

void main(void)
{
while(1)
{
Arcade2(0,2,1,1,2,0,0);
}
}

This is just a sample. When I test the robot, it seems that Channel 1 controls motor port 1 and Channel 2 controls motor port 2. I don't want it like that. I want it like how the default program mixes Channel 1 and 2.

In the Default code, 12 mode mixes both channels. When you push forward, it goes straight, when you move sideways, it turns on a dime. I don't know how to program this type of drive mixing using easyC 2.0.

Someone please helpe me. I need an answer in 24 hours. Thank you very much.
__________________
http://www.mckinleyrobotics.org