Go to Post Thinking (or the lack of it) will be our downfall. - sirbleedsalot [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Spotlight this post!  
Unread 03-11-2013, 01:53 PM
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Hi-Tec Servo Help

Quote:
Originally Posted by MI6 View Post
I want it so when i push left it goes left and when i stop it stays where it is.
So when the joystick X value is negative you want to constantly decrement the servo position, when the joystick X value is positive you want to constantly increment the servo position, and when the joystick X value is zero you want to leave the servo position alone.

Quote:
but i also want to be able to push left and up at the same time and have the camera do it.
Fine. On a second servo: for X above substitute Y.

Quote:
and i want it to move at the fastest speed without losing video quality
You'll have to determine this rate yourself. It'll define how often you need to check the joystick value and increment/decrement the servo position. If it makes sense, you can check less often but move the servo farther each increment.

Does that help?
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:52 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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