Go to Post I hope you realize that by starting this thread you have earned yourself a permanent place at the "WOEWITWISTFT" ("What On Earth Was I Thinking When I Started THAT FIRST Trend?") table. It's members are few, but the conversation is the most honest and amusing in the entire place. ;) - Jessica Boucher [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 30-03-2014, 03:33
Longrange97's Avatar
Longrange97 Longrange97 is offline
Keyboard Warrior
FRC #2907 (TRECC)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Auburn Washington
Posts: 9
Longrange97 is an unknown quantity at this point
Re: [FTC]: Need help programing HS-785HB (1260) Servo in RobotC

I was looking at the servo product page:
https://www.servocity.com/html/hs-78...l#.UzfFvvldV8E

(the standard KOP one is this one)
http://www.servocity.com/html/hs-311...l#.UzfF4PldV8E

and I noticed that it says it only rotates clockwise. I'm not sure if that means that it needs to be manually reset, or if that means that if you try to set it back to 0 it will keep going until it's encoder reads back 0. one thing you may try to do is (if you have one) use an arduino and just test the basic functionality of the servo on that. the arduino IDE comes with example servo programs that should work and give you more of an idea if your programming is wrong or it is just a very abnormal servo.
Reply With Quote
  #2   Spotlight this post!  
Unread 31-03-2014, 15:20
Wingus&Dingus Wingus&Dingus is offline
Registered User
FTC #7440
 
Join Date: Dec 2013
Rookie Year: 2009
Location: New Zealand
Posts: 11
Wingus&Dingus is an unknown quantity at this point
Re: [FTC]: Need help programing HS-785HB (1260) Servo in RobotC

Just don't use zero (or perhaps < 5 to be safe). When they hit zero on the internal encoder the speed is reduced and it just keeps rotating forever. Once you've hit zero position it resets the encoder end point and starts counting up from there once you rotate the other way.
Reply With Quote
Reply


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 12:42.

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