Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   autonomus mode (http://www.chiefdelphi.com/forums/showthread.php?t=74199)

tomy 11-02-2009 20:04

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

tomy 11-02-2009 20:05

Re: autonomus mode
 
please help

Greg McKaskle 11-02-2009 20:27

Re: autonomus mode
 
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

tomy 12-02-2009 16:19

Re: autonomus mode
 
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:

Alan Anderson 12-02-2009 16:51

Re: autonomus mode
 
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?

tomy 12-02-2009 19:48

Re: autonomus mode
 
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

airnate 12-02-2009 22:50

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

Alan Anderson 12-02-2009 23:27

Re: autonomus mode
 
Quote:

Originally Posted by tomy (Post 819534)
Quote:

Does it control 4 motors in teleoperated mode?
Did you change anything in the Basic robot code to make it do that?
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

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.

tomy 13-02-2009 17:25

Re: autonomus mode
 
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...id=3&Itemid=50

that is the best pictures i can give you

please let me know if you want to see my code

Alan Anderson 14-02-2009 08:40

Re: autonomus mode
 
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.

tomy 14-02-2009 10:51

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


All times are GMT -5. The time now is 10:41.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi