|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
labview help
Before when I had it wired without the multiply symbol I only had constant and when I booted that in to the robot it would go by itself every time the button is pressed and there was no joystick control as seen in pic
![]() Now I redid it according to help from others and would this allow the joystick to be half as sensitive and let me control the robot with the joystick until button one is pressed to allow a turbo mode ![]() |
|
#2
|
|||||
|
|||||
|
Re: labview help
The way you currently have it (in the second picture) the robot will run using the joystick up to full speed when button one is not pressed.
When button 1 is pressed the joystick controls will be scaled down by the constant (.75 in your picture). Last edited by Vikesrock : 16-02-2010 at 18:34. |
|
#3
|
|||
|
|||
|
Re: labview help
In the first picture, when I press button 1 the robot moves forward in one direction and is not affected by moving the joysticks.
|
|
#4
|
|||||
|
|||||
|
Re: labview help
Yes, this is because you are wiring a constant .5 into the Tank Drive VI. When I referred to the "way you have it" I was referring to the second picture.
|
|
#5
|
|||
|
|||
|
Re: labview help
OK with the second picture it will run at full speed without button one being pressed but when pressed the joystick values get cut in half. Also should I leave the axis value unbundled outside the case structure.
Last edited by zip100 : 16-02-2010 at 18:38. |
|
#6
|
|||||
|
|||||
|
Re: labview help
Quote:
Yes, the Axis unbundle can remain outside the case structure. That is probably the most clear as the unbundled value is needed in both cases. |
|
#7
|
|||
|
|||
|
Re: labview help
How would I go about cutting the motor speed in half instead of messing with the joystick. The wheels and they slip and slide a lot with the power and are uncontrollable.
|
|
#8
|
|||||
|
|||||
|
Re: labview help
I'm not sure I understand what you want to do here. Why don't you want to modify the joystick inputs before they go into the Tank Drive VI, is there something about this approach that isn't the way you want?
|
|
#9
|
|||
|
|||
|
Re: labview help
Sorry for the confusion, I was asking will cutting the joystick values in half give me the same effect as cutting the motor speed in half. So the max motor speed is .5 instead of one. Which one do you think is more beneficial if the robot has to much power? If it is cutting the motor speed in half how would go about doing that?
|
|
#10
|
|||||
|
|||||
|
Re: labview help
Quote:
The code you have is the easy way to slow down your drive motors. |
|
#11
|
|||
|
|||
|
Re: labview help
Ok I will try it tomorrow and will report on how it went.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Labview help | pedro696 | General Forum | 14 | 06-02-2010 19:34 |
| HELP!!!! we need help w/ compressors/pneumatics for teleop/autonomous in LABVIEW | rokenboker | NI LabVIEW | 9 | 05-02-2010 17:10 |
| Question|Help in LabVIEW | Rafael2215 | NI LabVIEW | 2 | 20-01-2010 10:47 |
| Labview Help, Rookie | Joraus | NI LabVIEW | 8 | 07-02-2009 17:08 |
| help: cannot get the picture in the labVIEW program .. (was: need help!! quickly!) | liad | LabView and Data Acquisition | 8 | 18-01-2006 12:20 |