|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Advice for code integration
now there are no wires connected to the begin.vi and there are no nodes to connect them too..... this problem is separate from the other one. This just happened
|
|
#2
|
||||
|
||||
|
Re: Advice for code integration
Has the code ever worked?
Have you ever had anything on the robot work? Joysticks Dead? Try the Joystick example project to confirm there is no problem there. Then move on to the Tank drive example project to confirm that works. If that does not work, then we here on Chief Delphi will be better able to trouble that code than we will be able to trouble shoot your code which we have no clue as to what you are doing in your code. Get the Tank Drive example working first then try your code again. |
|
#3
|
|||||
|
|||||
|
Re: Advice for code integration
Quote:
If nothing is working the way you want it to right now, then I think your best course of action is to start a new robot project and see if it functions as expected. You'll need to make sure you have your motor PWM connections where the code expects them to be. As Omar suggests, we can help troubleshoot your robot better if you begin with software we know to be okay. |
|
#4
|
||||
|
||||
|
Re: Advice for code integration
You can also post your project as a zip file here. I personally won't be able to check it until tomorrow night, but I'm sure someone else can.
When zipping the project up, make sure all files are included. You can do this by clicking and dragging files from the Files tab in the Project Explorer to one common folder. I also believe there is a packaging took built into LabVIEW, but it takes a little bit of setting up. Things I'm guessing are wrong with your code would be while loops in your teleop code, misspelled refnames, missing open statements, or timers in the teleop code. |
|
#5
|
|||
|
|||
|
Re: Advice for code integration
Also, don't forget that you have to run the driver station and enable the robot in order for the code to control anything.
Greg McKaskle |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|