View Single Post
  #4   Spotlight this post!  
Unread 26-01-2011, 14:24
sjspry sjspry is offline
Registered User
FRC #1984
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Kansas
Posts: 125
sjspry has a spectacular aura aboutsjspry has a spectacular aura aboutsjspry has a spectacular aura about
Re: HS-322HD and Digital Sidecar PWM output

@ratdude747 I'll be checking the cables, but the sidecar should be fine. PWM and module are correct, as it just fails otherwise (module, anyway).

Quote:
Originally Posted by omalleyj View Post
I am assuming the servo is not connected to anything (mechanically) and therefore not stalling.
Have you tried not setting the period and using set rather than set raw?

I have two servos running using the 'set', so there isn't anything broken there (library-wise) that I have seen, but I am not at the robot and can't look at the raw commands until later. If I haven't seen a resolution by then I'll try them this afternoon.
Yeah, it's not jamming. Will turn fine with the load I'm placing on it. I'll look later, but I didn't see anything other than "setRaw" and "setPosition".


EDIT: Thanks everyone for their help, it turns out the PWM was initializing correctly even though the module was not in the right slot (?!?!). I moved it and now it works

Last edited by sjspry : 26-01-2011 at 16:56.