After attempting to unlock the secrets of autonomous programming, I believe I have hit a dead end. The example written out as default in LabVIEW for autonomous only confuses me more. To get my program to run the robot’s drive, then call up a single motor to shoot, given the signal by a sensor (which I am also clueless on how to program) would I use a case structure, no structure, or another structure whch I do not know of?
Thank you,
Madeline
The first thing I’d recommend is to describe the goal as specifically as you can. Programming tools are called languages because they are used to describe and convey the steps and details, ultimately to the computer, but often to other programmers. Until you are more fluent in this new language, use the one you know. The computer won’t understand it, but the other people will, and it will help you to clarify the steps you want it to take.
The next thing is to translate where you can into LV. If you aren’t sure or have questions, give the description and post the questions here or run them by your mentors.
Greg McKaskle
Primarily, I wish to call up the drive motors and run them for a short period of time, stop the drive, and then call up the single motor which will eventually be acting as out shooter, and run this single motor for a short period of time. Nothing crazy, I just want to write a basic code to see what wil need adjusting.
Thank you,
Madeline
I attached a possible translation based on the template autonomous.
Greg McKaskle
Thank you! That helps to clear things up.