View Single Post
  #4   Spotlight this post!  
Unread 09-02-2017, 19:52
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,945
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: How to program the movement

Quote:
Originally Posted by ColbySamuelson View Post
It was after I clicked enable. No one was touching it.
I assumed no one was touching it when you Enabled from what you said. That's not what I was talking about.

Test 1 investigates the possibility that earlier someone was holding the joystick or the joystick was lying on it's side or upside down or on a table with a jumble of parts, when it was first plugged into the PC before the robot even entered the picture.
Neutral on the joystick is established when it is first plugged in and powered up. If it isn't neutrally centered when it is first plugged in, then neutral on the joystick will be ordering the robot to move even when no one is using it.

Test 2 eliminates the possibility that it's a user code error.

Think about approaching problems like this to eliminate possibilities and to simplify and isolate what conditions cause the problem.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 09-02-2017 at 19:56.
Reply With Quote