Hello, I need help, I need to change the values given equation grades to send to the actuators, as you can see the code I is made with the library servoShield.hy I need to use the library servo.h since I do not own a shield servo sorry for asking this but due to time and not able to investigate more :C
#include <servoShield.h>
servos.setposition( BAS_SERVO, 1715 );
servos.setposition( SHL_SERVO, 2100 );
servos.setposition( ELB_SERVO, 2100 );
servos.setposition( WRI_SERVO, 1800 );
servos.setposition( WRO_SERVO, 600 );
servos.setposition( GRI_SERVO, 900 );
......
float bas_servopulse = 1500.0 - (( degrees( bas_angle_r )) * 11.11 );
float shl_servopulse = 1500.0 + (( shl_angle_d - 90.0 ) * 6.6 );
float elb_servopulse = 1500.0 - (( elb_angle_d - 90.0 ) * 6.6 );
float wri_servopulse = 1500 + ( wri_angle_d * 11.1 );
11.11 and 6.6 are the properties of each servo.
PS: is it possible to control the servo as shown in the code without using a servo shield?