|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: We Need Serious Robot Help!
I followed your advice, but it still doesn't work.
|
|
#2
|
||||||
|
||||||
|
Re: We Need Serious Robot Help!
What did you do? When you removed the DB-37 cable, which power LEDs (if any were still lit). List them by name. How did you verify power to a 20 amp breaker on the PDB? Find a mentor who is proficient with a multi-meter to verify 12 volts at the Digital Sidecar power connector.
Your programming is also wrong, as pointed out by other people. However, do not ignore the power LEDs on the Digital Sidecar, even if the software changes "fix" your immediate problem. You need to get the Digital sidecar power fixed or else you will have more problems down the road. Last edited by Joe Ross : 21-01-2014 at 18:45. |
|
#3
|
|||
|
|||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|