View Single Post
  #8   Spotlight this post!  
Unread 27-01-2011, 22:30
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,880
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: Watch Dog stopping robot from working?

Quote:
Originally Posted by xYinx161 View Post
This is team 1208's time from an elapsed time function. With default code (on the right) the time is 40 miliseconds and with our code (on the left) it is on 90 miliseconds on average. We have also included our teleop.vi. Is this a problem and if so what can we do to fix this.
If it's an average of 90ms, that will be a problem. It's right on the edge of the Safety vi timeout at 100ms and since it's an average nearly half will be beyond the tripping point.
I don't see anything obvious that's slowing you down, although it's easy to isolate the slowdown using Disable structures on the stand-alone blocks of code.

It looks like you are also setting your motors in two different places. Those two conflicting sets will be fighting for control of your robot when the time comes. You need a way to choose one or the other, not both at the same time.

Quote:
Originally Posted by DavidGitz View Post
Since we are pulling the same reference (default "Left and Right Motors") and using Arcade on one mode and Tank on another mode that can be changed back and forth, could this result in the error noted above due to the Arcade/Tank difference?
The Arcade/Tank mixture shouldn't be a problem. They don't remember who was called last and they both reset the Safety vi.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 27-01-2011 at 22:34.
Reply With Quote