autonomus mode

i can not make the aotonomus mode to control all four motor. how do i do that. and how do i make it go different ways. i got 3 days please help

please help

If you are starting with the original code, the main change is to change the Open for Robot Drive. It is opened in either Begin for the Advanced template, or in Robot Main for the Basic framework.

Greg McKaskle

I am using the one off of the basic robot main. i can not get it to control 4 motors please help me i do not have a lot of time:ahh:

Does it control 4 motors in teleoperated mode?

Did you change anything in the Basic robot code to make it do that?

How are you trying to make it control 4 motors in autonomous?

What is it doing instead of what you want?

Do you understand Greg’s advice?

Does it control 4 motors in teleoperated mode?

Did you change anything in the Basic robot code to make it do that?

How are you trying to make it control 4 motors in autonomous?

What is it doing instead of what you want?

Do you understand Greg’s advice?

  1. it does use four motors in teleoperated
    2)i changed the basic robot to have three joysticks. one to control two sides one to control the the othere two
    3)i do not know how to make it control all four in autonomous mode
    4)all it is doing is moving the two motors on pwm 1 and 2
    5)i do not get gregs advice

i am knew to labview please help

Can you post your autonomous code (either a picture, or the actual VIs) so we can help you better?

The basic robot project only controls two motors. The only straightforward way to change that to control four motors is to replace the “open two motor drive” VI with an “open four motor drive” one. If you do that, the RobotDriveRef is supposed to automatically run four motors when you use any of the Drive, TankDrive, or ArcadeDrive VIs.

I don’t understand your joystick description. You said three joysticks, but you only listed two, and I can’t figure out what they’re controlling from what you said.

Let’s take a step back here. What exactly do you have these four motors connected to, both electrically and mechanically? Maybe we just don’t have the right idea of what you’re asking.

okay we have four black motors for our wheels. two on each side of the robot. on the right side we have 2 jaguars which are pwm 1 and 2. on the left we have 2 more jaguars which are pwm 3 and 4. if you want a pic of the code let me know and i will try to put it on here. otherwise go to

http://www.icerobotics.org/index.php?option=com_content&view=category&layout=blog&id=3&Itemid=50

that is the best pictures i can give you

please let me know if you want to see my code

At this point, I do need to look at your code in order to help you further. I specifically want to see how you are using the “Drive” VIs, and how that differs from the Basic Robot code you started with.

i will put my doe on here and mabey it will help just give me a while it is on another computer