
elektrophunktronic

Hello, I cannot get my Ardunio MEGA to control servos in my Inmoov via USB. I have followed the instructions closely multiple times. Some info:
- I have successfully uploaded the code to two different MEGAs and neither work.
- The status box shows that there is a connection with the ARDUINO ( no errors), however the servos will not move when using the horizontal/vertical sweep commands nor position module. (I have followed all instructions in the servo tutorials)
- BAUD rates are set correctly in device manager, the arudino code and in ARC
- I am using a 40A, 5V power supply connected to the wall. This supplies power to the Inmoov servos. I connect the same setup with My Robot Lab and it works.
- I enabled DTR/RTS
- I am using a new DELL XPS with USBC. I read this may cause issues, but I tried it on my old desktop and it still wont work.
Is there something I am missing?
We made it easy to press either button and view the mapping page.
Otherwise, you can edit the firmware file as it's pretty straightforward.
You might overlook the jerky/twitchy servos on the InMoov due to the weight and slow movement of the servos. But that does make sense now that I see several InMoov builds using that board with jerky movements. That's good to know.
Thanks for your help. I will report back tomorrow if its still not working.
Set Max: https://synthiam.com/Support/javascript-api/Servo/setMaxPositionLimit
Set Min: https://synthiam.com/Support/javascript-api/Servo/setMinPositionLimit
An Auto Position is slightly different than other robot skills in the way positions are assigned. When a servo position is set to a frame with the auto position, it will never move past that position during the transition. This means it does not require a min/max, such as what you find with other servo skills (as in the vertical robot skill). So, while you may see min/max settings on other robot skills, that is only for their operation, not globally within the software. This is explained in greater detail in the support section located under Servos in Using ARC. This is because a camera may only require the head servo to move 20 degrees in either direction for tracking an object. Meanwhile, a VR robot skill may need the head to move 40 degrees in either direction. This allows each robot skill to have its min/max values for its behavior. However, those min/max values are for achieving behavior, not protecting servo limits. The global values must be set to protect a servo limit.
Also, if you are importing auto positions from other projects, their servos may be configured differently than yours. For example, D0's position of 100 on theirs might be 110 on yours. And D3's position 90 might be 70 on yours. So there is a fine-tune option to adjust the values. Generally, the STAND frame is the default position for calibrating servos. You may wish to use their STAND frame for calibration.