Hello everyone!
| situation |
|---|
- assembled braccio robot per instructions
- compiled
testBraccio90sketch (see code below) - uploaded testBraccio90 sketch (see code below)
- braccio did not get positioned in the
fully upright position
4.a. It looks like there is a +10 degree offset (possibly screwed up the servo calibration during assembly --
over-tightened screws and manually moved the servo motor. - I can achieve the
full upright positionby adjusting the angles by +10 degrees on the corresponding motors - the manual suggests to: "realign the position of the servo motors" if the braccio does not achieve the
fully upright position(with the non-modified parameters to the Braccio::ServoMovement() function)
| question |
|---|
- how do I realign the position of the servo motors?
- does the braccio need to be dis-assembled in order to realign the servo motors?
** SUPPORTING INFORMATION **
| equipment |
|---|
- servo motors: SR 311 x 2 ;; SR 431 x 4
- power supply: 5V, 5A x 1
- arduino compatible shield
- standard parts shipped per manufacturer
| code |
|---|
#include <Braccio.h>
#include <Servo.h>
Servo base;
Servo shoulder;
Servo elbow;
Servo wrist_ver;
Servo wrist_rot;
Servo gripper;
void setup() {
Braccio.begin();
}
void loop() {
Braccio.ServoMovement(20, 90, 90, 90, 90, 90, 73);
// Braccio.ServoMovement(20, 90, 100, 100, 90, 90, 73); // this +10 degree offset achieves the fully upright position
}
| workstation set up |
|---|
- (including for
completeness. I do not think that my set up affects this particular issue since it works with
simpler arduino projects) - arch linux 5.6.14-arch1-1
- arduino ide 1.8.12
- command line compilation per aur package arduino-mk
- installed Braccio library from the arduino ide
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Thank you so much for your help and please let me know if there is anything that needs clarification.
Thank You!