|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
using limit_switch_max/min in autonomus
when the entire project is compilied will functions in user_routines.c be accessable in user_routines_fast.c. mainly the limit_switch_max defintion, and the limit_switch_min definition.
|
|
#2
|
|||||
|
|||||
|
Re: using limit_switch_max/min in autonomus
Quote:
|
|
#3
|
|||||
|
|||||
|
Re: using limit_switch_max/min in autonomus
somewhat related.... why does the limit max funxtion require that you add 2000, only to disregard it in the function itself?
|
|
#4
|
||||
|
||||
|
Re: using limit_switch_max/min in autonomus
Quote:
Code:
int right_drive_speed, left_drive_speed right_drive_speed = (int)Oi_drive_y + (int)Oi_drive_x - 127; MIN(right_drive_speed, 0); MAX(right_drive_speed, 254); left_drive_speed = (int)Oi_drive_y - (int)Oi_drive_x + 127; MIN(left_drive_speed, 0); MAX(left_drive_speed, 254); |
|
#5
|
||||
|
||||
|
Re: using limit_switch_max/min in autonomus
Quote:
This question was asked on the FIRST Greater Toronto Regional forum a while ago, and I've attached a link below to the response there. http://www.firstcanadianregional.org...opic.php?t=500 -SlimBoJones... |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FIRST Time Autonomus Help | rcubes85 | Programming | 1 | 22-01-2005 11:52 |
| autonomus mode | zooballski | Rules/Strategy | 2 | 13-01-2005 17:23 |
| cant get into autonomus | blindguyinanorg | Programming | 7 | 20-02-2004 17:06 |