Can you help me out with autonomous code in intake Labview

Can you help me out I have try everything I have
try this to find the intake Team358.org - Robotic Eagles - FIRST® Robotics Competition it didn’t have the Autonomous intake, then I try getting rid of the saftey code in Autonomous id didn’t work I try many joysticks for the intake a see if that has something to do with it in teleop and it didn’t work The intake work when we actitvate the teleop it work fine but when we try Autonomous the robot moves but the intake won’t move at all. So can anyone tell me what should I do because I have know I ideas on what to do. Right now I am about to try a timed loop and see if it work let hope, but does anyone out there have any other ideas.

1 Like

Could you make a zip of your Autonomous Independent.vi and one of your Begin.vi and post those?
I’d like to see what else is happening in that vi.

Did you try setting the Intake motor safety to “Disabled” before removing it entirely?
Is a motor safety Enabled for Intake in Begin.vi?

How do I create a zip of my Autonomous Independent.vi and my Begin.vi and also I did try disable it and it didn’t work.

Here is a free zip app you can use: Download

To use it:

  • start the 7zip app
  • You’ll see a list (Computer, Documents, Network, \)
  • Double-click “Documents”
  • Then double-click “LabVIEW Data”
  • You should see your LabVIEW project there
  • SINGLE-click your project folder (don’t double-click and open it)
  • Choose Add from the top menu bar
  • You’ll see a popup Add to Archive. It will have a default archive name in the first field, just click “OK”
  • You now have a zip of your whole project that can be posted. You may have to scroll down in the window to see the new file. It will have the same name as your project with “.7z” as the file extension, and won’t be a folder.
  • You can drag that zip file out to your desktop or right onto a Chiefdelphi post to share it with us.

It won’t work I try to drag the zip files and it won’t work and I also don’t see the new file you are talking about.

Here are screen shots of each of the steps to see if this helps:

  • Start the 7zip app

  • Double-click on “Documents”

  • Double-click on “LabVIEW Data”

  • SINGLE-click on 2022 Test Robot to highlight it (my project name)
  • Click on Add in the top menu bar

  • Click on OK

  • Click and drag 2022 Test Robot.7z to your desktop

For some reason It won’t let me but the code into it can I just take a photo of the code so that you can se it

It’s what’s not in the photo that I want to see.
I think there is something else going on and it takes a minute to track it down if we can see it.

Let’s try something different.

Can you go to Documents → LabVIEW Data → your project file

Copy Begin.vi and Autonomous Independent.vi onto your desktop (don’t drag it out of the folder-just right-click copy, then right-click paste on the desktop)

Add “.txt” extension to the end of each file name

Then you should be able to post those.

Begin.zip (20.8 KB) Autonomous Independent.zip (39.0 KB) Here the two files you need

You are setting the Safety Config on your Intake Motor in Begin.vi
Change that to Disabled instead.

okay anything else I need to do

You don’t have any way to execute that code in the “Your Turn” case.
It won’t run in Autonomous.

The other cases can be run but they have bugs that will prevent them from working fully.

So what should I do to fix it and make it work then

You can fix “Alternative 1” by changing “Enabled” to “Disabled”

(This assumes you fix the same problem in Begin.vi too)

Do you know how to select the different autonomous cases from the Dashboard?

Alternative 2 has joysticks in it.
Those do not work during Autonomous

I think you have to choose the different case and deploy it what case you have choosen.

Can I replace what I have in Your Turn frame and replace it into Alternative 2 to get it to work

All your code gets deployed, and you can switch between those autonomous setups you have using the Dashboard.

It’s here on the Dashboard:

okay can I replace what I have in Your Turn frame and replace it into Alternative 2 to get it to work

1 Like

Yes, that would work.

Later I can describe how you add more cases like “Your Turn” to that pull down list.