Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   A couple of questions (http://www.chiefdelphi.com/forums/showthread.php?t=82848)

Dustin Shadbolt 16-02-2010 20:56

A couple of questions
 
I'm doing pretty well by myself with getting the basis of programming down. I just have some questions.

1) Is a gyro required for camera tracking? We are using encoders for the robot will that do it the camera tracking as well?

2) I modified the default programming to work with 2 joysticks, but when I use that code... the joysticks are really touchy. What I mean is sometimes it makes the robot move sometimes it don't. It's really sporadic and random. Any ideas on how to solve this?

Alan Anderson 16-02-2010 23:38

Re: A couple of questions
 
Quote:

Originally Posted by dShad (Post 921613)
1) Is a gyro required for camera tracking? We are using encoders for the robot will that do it the camera tracking as well?

You can try to replace the gyro's function with something else. Find the spot in the code where it gets the gyro heading, and change it to something that reads the encoders and computes a heading based on the difference between left and right encoder values.

Quote:

2) I modified the default programming to work with 2 joysticks, but when I use that code... the joysticks are really touchy. What I mean is sometimes it makes the robot move sometimes it don't. It's really sporadic and random. Any ideas on how to solve this?
Without seeing your code, I don't have any helpful ideas, only questions. Is there perhaps something else that is trying to control the robot motion? Are you getting watchdog timeouts that disable the robot briefly?

Dustin Shadbolt 17-02-2010 19:50

Re: A couple of questions
 
Thanks for the reply! I have fixed the issue with the joysticks... but now the Camera seems to freeze whenever we are testing teleop and move the joysticks... I'm not sure what the problem could be..


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

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