Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   We have robot comm, robot code, and joysticks, why doesnt the robot move? (http://www.chiefdelphi.com/forums/showthread.php?t=112927)

cgranata 06-02-2013 19:41

We have robot comm, robot code, and joysticks, why doesnt the robot move?
 
Hey Chief Delphi, our team is having an issue and I'm hoping someone out there can lend us a hand.

Our 2013 robot has Robot communication, robot code and joysticks connection. In the driver station each of these displays a green light. However, whenever we move the joysticks or press any buttons on the joysticks, nothing happens.

We have tried different joysticks/usb ports on multiple computers. We have the latest version of everything from Driver Station to Windriver Workbench.

The electronics and cRio are connected properly and have been checked, double checked, triple checked, etc. This leads me to believe it is a programming error.

Anyone have an idea? Any help would be greatly appreciated and my team and I thank you in advance for your support.

ferret_guy 06-02-2013 21:19

Re: We have robot comm, robot code, and joysticks, why doesnt the robot move?
 
Couple things to check:
  1. Is the robot enabled? (in tele-op mode)
  2. Are you correctly using the safety VIs?
  3. Is your joystick showing up as connected?
  4. Have you correctly initialized all your motors ect...

ekapalka 06-02-2013 21:27

Re: We have robot comm, robot code, and joysticks, why doesnt the robot move?
 
Can you post your code?

cgranata 07-02-2013 10:20

Re: We have robot comm, robot code, and joysticks, why doesnt the robot move?
 
Quote:

Originally Posted by ferret_guy (Post 1229101)
Couple things to check:
  1. Is the robot enabled? (in tele-op mode)
  2. Are you correctly using the safety VIs?
  3. Is your joystick showing up as connected?
  4. Have you correctly initialized all your motors ect...

1. Yes
2. What do you mean by VIs?
3. Yes
4. Yes

Alan Anderson 07-02-2013 11:16

Re: We have robot comm, robot code, and joysticks, why doesnt the robot move?
 
Quote:

Originally Posted by cgranata (Post 1229323)
2. What do you mean by VIs?

VI stands for Virtual Instrument. It's the LabVIEW equivalent of a function. The question was probably meant to ask whether you were enabling any motor safeties, or disabling the drive safety. You'd be getting diagnostic error messages on the driver station if it were a motor safety issue.

A better question might be: what motor speed controllers are you using, and what do the status LEDs on them do when you try to run the robot? Also, what pattern is the orange Robot Signal Light blinking?

nightpool 10-02-2013 18:03

Re: We have robot comm, robot code, and joysticks, why doesnt the robot move?
 
Quote:

Originally Posted by ferret_guy (Post 1229101)
Couple things to check:
  1. Are you correctly using the safety VIs?

*cough* This IS the Windriver C++ forum...

tomy 10-02-2013 18:08

Re: We have robot comm, robot code, and joysticks, why doesnt the robot move?
 
Check the Diagnostics Tab on your driver station and see what errors you are getting there.

ferret_guy 10-02-2013 18:33

Quote:

Originally Posted by nightpool (Post 1231136)
*cough* This IS the Windriver C++ forum...

ya ya i know didn't see that when i skimmed the new posts

cgranata 11-02-2013 17:33

Re: We have robot comm, robot code, and joysticks, why doesnt the robot move?
 
Thanks guys for all your help. My team looked at the error messages in the driver station and it led them to check the code. Apparently, our lead programmer put the "compressor command" in the operator control section of the code which constantly repeats over and over. When it was enabled, the robot didn't move because the code was being overflowed with this one command and "shut off"

Excuse me for my lack of technical explanation concerning the problem, I'm not in the programming department.

But thanks again guys! My team and I greatly appreciate your help.


All times are GMT -5. The time now is 18:23.

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