We have a few questions we’d appreciate some guidance on:
-
- Servo Control: We’re looking for ways to control the servos more precisely. Specifically, when we click “open” or “close,” the servos turn, but we’d like to fine-tune these turns. Can someone point us to the Python code or resources to achieve this?
-
- Adding More Servos: Is it possible to add more servos beyond the default four using VMC (Virtual Motion Controller)? If so, how can we do that?
-
- Autonomous Mode: Do you have any template code or suggestions for creating an autonomous mode, similar to a sandbox environment? We’d like to modify code for this purpose.
We appreciate any help you can provide in dealing with Python and these tasks.
Thank you!
- I will review again in pcm.py.
2-3) I’ve been searching for Python templates that can assist us in achieving autonomous control of our AVR. The goal is to have it autonomously detect Apriltags on top of buildings and manage distances, timing, and more.
I vaguely recall reading about the use of a “sandbox” to control various aspects through a web of Python codes, but we’re encountering challenges in understanding how to integrate and add the necessary code for autonomous AVR operation.
Any guidance, templates, or resources on how to make this happen would be greatly appreciated. We’re eager to explore and learn more.
Thank you for your help!
btw when it comes to servo control, the numbers for the “angles” you have to set for the servo are significantly larger than the values from the PCC Tester, such as 1215 instead of 80