ROBOTC.net forums
http://www.robotc.net/forums/

Need help solving a problem
http://www.robotc.net/forums/viewtopic.php?f=11&t=10043
Page 1 of 1

Author:  poypoy [ Thu Dec 18, 2014 3:46 pm ]
Post subject:  Need help solving a problem

We have a robot that we built code for to score points in auton mode. It works great through 2 points, but the 3rd point is causing us issues. The issues are related to code and i cannot figure out why it is not working properly. I have attached the file. I started adding items in for phase 2 of the auton (after 2 points are scored) to see if i could figure out what is taking place. It appears that (on line 363) everything goes well until i tell it to lift the arm again. I put the backup command in to make the robot move backwards and it does so, so that means it skips past the lift arm section. The controllers are at the latest revision of firmware, as is the cortex. (as of this morning) The robot runs fine to. I can drive it and lift the arms all day long. I just cannot figure out why it will not do the lift at line 363 when it does it at line 240 just fine.

Any thoughts would be greatly appreciated.

Attachments:
Auton Mode Two Points 12 18 14 TEST.c [10.16 KiB]
Downloaded 253 times

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/