Go to Post Who has time for boredom? - Dr Theta [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #31   Spotlight this post!  
Unread 22-01-2014, 08:38
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: We Need Serious Robot Help!

If you believe the electronics are in better shape, lets talk about how to debug SW.

If you go to RobotMain and press the run button, the code will download and start running. At that point you can open TeleOp and other subVIs and see values on their panels. You can open their diagrams and right-click to probe wire values.

So, after you are running your code, go to the Driver Station and Enable the robot for TeleOp mode. Open the TeleOp VI and determine if the joystick is making it to the robot and tracks physical joystick input values. If so, move to the Robot Drive code. It actually returns the values that it sent to the motors and by default those were being written to the SmartDashboard so that your could see what the SW was sending. Since that code has been deleted, you may want to wire it to indicators. Right click on the outputs and create indicators.

Determine if the SW is sending useful values to the motor controllers.

If you aren't making progress, you may want to open an example, set the PWM values and verify your electronics with that. You may also want to create a new robot project, set your PWM values in Begin, but don't delete and decorate the code so much until you know that it works.

Greg McKaskle
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 16:20.

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