View Single Post
  #6   Spotlight this post!  
Unread 06-03-2006, 13:25
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,797
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Disabling the Radio Control

Quote:
Originally Posted by Guy_E
I want to write it in "User_Routines_fast" in the "Process_Data_From_Local_IO" (It's faster, isn't it?)
If I understand your question correctly...

You can only update your controls at the (slower) rate the data packets arrive and leave again, no faster. Those are the GetData/PutData calls you can see in the Autonomous loop. You cannot speed them up.

Process_Data_From_Local_IO runs much faster than the autonomous loop so you can do things like sample sensors. The CPU should be much faster than the rate you change your motors and stuff. You should always be able to think much faster than you can act.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote