Servo angles

Questions about Marilou Open Devices Access (MODA)
Post Reply
Martin
Posts: 25
Joined: Tue Mar 19, 2013 11:41 pm

Servo angles

Post by Martin » Mon Aug 18, 2014 10:14 pm

Hello!!!

I´m using a servo at a hinge and i need that it retrieves the angular position in deg. However , the data is not what i expected. Have i been using the functions correctly? i'm not using mantain absolute angle.

int test;

_pServo2->GoPositionDeg(90);
test = _pServo2->GetPositionDeg();
_cprintf("The angle is %i \n", test);

Thank you very much. :D

Martin
Posts: 25
Joined: Tue Mar 19, 2013 11:41 pm

Re: Servo angles

Post by Martin » Tue Aug 19, 2014 12:31 am

I have just solve it thanks any way. :D

LR
Posts: 305
Joined: Mon Feb 12, 2007 11:55 pm
Location: FR

Re: Servo angles

Post by LR » Fri Aug 29, 2014 11:42 am

Sorry, we were on holidays, hoping all is good now :)
LR

Post Reply