Go to Post I don't care if you use hot dogs for wheels. If you're scoring points, and you fit the strategy, it's fine. - evanperryg [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-02-2017, 18:57
ColbySamuelson ColbySamuelson is offline
Registered User
FRC #6320
 
Join Date: Feb 2017
Location: Florida
Posts: 2
ColbySamuelson is an unknown quantity at this point
How to program the movement

Yesterday the robot finally moved but no one was in control. I pressed enable on teleop mode but it just went. So how do I use labview to program it so I have to use the microsoft flight stick to guide the robot? Please help.
Reply With Quote
  #2   Spotlight this post!  
Unread 09-02-2017, 19:07
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

Did the robot move while it was Disabled, before you Enabled it, or only after it was Enabled?

For these tests put the robot up on blocks so moving just spins the elevated wheels.

1st test:
- Disconnect the joystick from the PC.
- Make sure no one is touching it while you do this-don't even hold it-just leave it sitting on table
- Reconnect the joystick
- Check on the Driver Station USB tab that the joystick appears and is in the correct USB position (you might need to click the Rescan button on that tab).
- Enable the robot and see if it still moves.

2nd Test (if Test 1 didn't work):
- Start by creating a new robot project.
- Don't change anything in the project-anything.
- Build it
- Run as startup
- Enable the robot and see if it still moves.

Tell us the results.
__________________
"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:11.
Reply With Quote
  #3   Spotlight this post!  
Unread 09-02-2017, 19:10
ColbySamuelson ColbySamuelson is offline
Registered User
FRC #6320
 
Join Date: Feb 2017
Location: Florida
Posts: 2
ColbySamuelson is an unknown quantity at this point
Re: How to program the movement

It was after I clicked enable. No one was touching it.
Reply With Quote
  #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
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 19:50.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi