![]() |
autonomous mode
hi im the programmer for team 867, i was wondering is there any default code for autonomous. and i have another question, how can we activate autonomous mode for testing.
|
Re: autonomous mode
This thread may help you out
http://www.chiefdelphi.com/forums/sh...threadid=53137 |
Re: autonomous mode
ok kool i got it. this has nothing to do with this but i want to add a dead zone on the joystick. so like the robot wont move the split second you touch the joystick, how can i do this.
|
Re: autonomous mode
1 Attachment(s)
Quote:
You could try something simple like this, to basically ignore the values near the centre of travel: Code:
if ((joy >= 120) && (joy <= 140)) joy = 127;Code:
speed = joy - 127;Good luck, Mike |
Re: autonomous mode
i have 2 questions
1. where do i splice in the code you gave me i was looking through the code i cant see where to put it. 2. do i connect the user interface to my computer for running the labview program. |
Re: autonomous mode
Quote:
Code:
#define JOYSTICK_DEADZONE 5Code:
#define JOYSTICK_DEADZONE 5Quote:
Quote:
|
Re: autonomous mode
1 Attachment(s)
Quote:
Labview is a graphical development environment that runs on your PC. A copy of Student Labview was included in the KOP this year. I am attaching a screen shot of the Labview program running the Joystick application - you will get the idea that it is only useful to ILLUSTRATE how joystick values might be processed. The simulated joystick input is the horizontal slider at upper left. The three scales below show linear (direct), exponential, and logarithmic conversions. |
| All times are GMT -5. The time now is 11:27. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi