|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Camera servo
The "thing" between buttons 8 & 9 is called the Throttle ... a.k.a Axis-3.
It goes from -1 to 1 ... but IMO, it goes the wrong way. You can wire the Axis3 (throttle) axis directly into the Tilt servo's SET POSITION. You might want to throw a "negate" in between if it acts backwards. |
|
#2
|
|||
|
|||
|
Re: Camera servo
Quote:
btw(by the way), i created a post JUST like this, but I have code that does work(with the lightbulb on). I am still trying to figure out why the camera servo itself isnt working when we deploy the code. |
|
#3
|
|||
|
|||
|
Re: Camera servo
Thanks for all the quick replies! sorry i cant take screen shots of the programming i have already done. what i basically set up was button 8 going into a case structure. (in true) i called up the Get angle then added 10 to it the put that value into Set Angle. it showed a red dot at Set angle. we deployed this code and nothing happened. is there a way to fix the red dot or should we use another Vi such as Set Position and Get position?
Also i did get the Throttle to work. all we added was a negate because it was backwards. Again thanks for all the help. This is the second year I have been on the team and i am already the head programmer on my team. |
|
#4
|
|||||
|
|||||
|
Re: Camera servo
Quote:
|
|
#5
|
|||
|
|||
|
Re: Camera servo
Quote:
![]() |
|
#6
|
|||||
|
|||||
|
Re: Camera servo
I don't know why your robot is not responding. You haven't given enough information about how you're trying to make it do what you want it to.
|
|
#7
|
|||||
|
|||||
|
Re: Camera servo
Do you have the 6v power jumper installed next to the PWM pins going to the servo?
|
|
#8
|
|||
|
|||
|
Re: Camera servo
Quote:
Also I have a question: Im using axis 3 as a throttle to control the speed for our robot. Basically I wana be able to move it down to make our robots motors run slower so going over the bump isnt so fast and reckless. I did it with controls, but I wana do this with the actual axis 3 button. How would I go about doing it. These two are what I have: ![]() ![]() Last edited by ecnahc515 : 14-02-2010 at 18:15. |
|
#9
|
|||
|
|||
|
Re: Camera servo
Quote:
![]() |
|
#10
|
|||
|
|||
|
Re: Camera servo
Quote:
to take into account the -1 to 1, the value given by the axis was divided by 4, and then added .5, so the total value would go from .25 to .75(since we dont need the camera to go up and down all the way) |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Programing servo in Axis camera 206 | frcchile | NI LabVIEW | 6 | 18-01-2009 08:53 |
| Camera servo trouble | Demothesis | Electrical | 5 | 27-01-2007 17:15 |
| Camera Servo Problems | pi_guy578 | Programming | 2 | 28-01-2006 13:17 |
| Servo Strain With Camera | DanDon | Motors | 6 | 13-02-2005 08:49 |
| Camera Servo | Obi | Programming | 2 | 30-01-2005 17:09 |