Comments (7)
OK using the bg2 object from bg.py gives much better results and points me in the correct direction. It might be worth adding a troubleshooting section. I assumed that since I bought the exact servos and made my arms 8cm each that it would be close.
from brachiograph.
I think that your issue is that one or both of your motors are going in the wrong direction.
In d945017 I fixed an issue where I had forgotten to account for the need to handle this.
You could try initialising the BrachioGraph with servo_1_degree_ms
and servo_2_degree_ms
, as described in https://brachiograph.readthedocs.io/en/latest/reference.html#the-brachiograph-class.
from brachiograph.
Also, unless your clothes-peg and the other objects in your photo are exceptionally tiny, I don't think the arms you made really are 8cm long - they look more like 8 inches!
from brachiograph.
from brachiograph.
Try initialising with:
bg = BrachioGraph(inner_arm=8, outer_arm=8, bounds=(-6, 4, 6, 12), servo_1_degree_ms = -10, servo_2_degree_ms = 10)
from brachiograph.
I have:
- added a new section to the getting started guide https://brachiograph.readthedocs.io/en/latest/get-started/drive.html#check-the-movement
- corrected the default values in the code
I hope this fixes it for you.
from brachiograph.
Thank you for addressing this so fast.
from brachiograph.
Related Issues (20)
- Does plotting in virtual_mode have an output?
- Cannot import numpy/openCV
- This would be more popular if you had Arduino code
- Error bg.plot_file("demo.json") HOT 1
- Creating json lines from image with image_to_json fails with error
- TypeError: autocontrast() got an unexpected keyword argument 'preserve_tone' HOT 1
- ImportError: libopenblas.so.0
- Hardware PWM?
- What do the "arm_1_centre" and "arm_2_centre=90" mean?
- No drive to shoulder motor HOT 1
- Pen is lowered and then lifted again before plotting, yielding a misplaced dot in every drawing
- Error When Importing The BrachioGraph Library, and Error When Putting in Arm Lengths HOT 10
- How can I save the python, so you do not have to install it every time HOT 1
- Brachiograph in Arduino? HOT 4
- Calibration of servo_2_angle_pws - How? HOT 1
- How to calibrate inner motor (servo 2) correctly?
- Issue with the base example. `Cannot reach ...` HOT 1
- " pigpio.error: 'pulsewidth not 0 or 500-2500' " error. PLEASE HELP HOT 5
- I go to check movement and nothing works. HOT 2
- Segmentation fault happens when creating a BrachioGraph instance HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brachiograph.