Comments (6)
It definitely seem as if your directions for those servos are somehow reversed from what I have. I'm trying to think how this could be possible but I'm kinda stumped. You're the first to report something like this I don't think it's an error in the spreadsheet or calibration procedures.
Servos 3 and 12 are the servos for the front two hip joints.
- Are you sure the connections for these servos are not accidentally swapped?
- How did you mount these servos? Is their orientation is somehow flipped? Is it possible you mounted the hip joints upside down somehow in the front? (though, I'm not sure if it's possible to mount them in a different orientation, or if it would cause this discrepancy)
Two hip servos on the same side of the robot (e.g. the right side) are oriented 180 deg relative to each other about the Z axis (in the TF2 coordinate frame, see diagrams in additional_hardware_description.md). Because of this, a rotation of each servo in their own coordinate frames (i.e. in the direction protruding out of the servo control horn) results in opposite leg motion. For example, considering the right side, a clockwise rotation of the front right hip servo in it's coordinate frame results in leg rotation downwards, while a clockwise rotation of the back right servo in it's frame results in a leg rotation upwards. Thus, in my calibration spreadsheet the front and back servos each have opposite rotational directions, whereas in your spreadsheet, the front and back servos on a given left or right side both have the same rotational direction, which seems impossible.
from spotmicro.
Thanks for your explanation, i think that helped a lot to find the problem. After rethinking everything you wrote vs everything i did while building, i found a difference:
My hip servos are all pointing backwards. I think i printed the "wrong" model for this repo: https://www.thingiverse.com/thing:4155673 (you can find my make there too)
If the servos are all pointing outwards in the original and on that model all backwards, that will explain the issue. That change wasn't mentioned there. If you can confirm my theory, i will poke im to write a hint. (Awesome the procedure still works :) )
Maybe i should measure all links-length to confirm they are correct since walking isn't that stable yet.
from spotmicro.
Yes I think your right. If both hip servos on the left side of your robot, for instance, are oriented the same direction, then that would explain the configuration value differences.
I can add a note to the readme about this, as well as link to this thingverse model. I'm all in favor of using an easier model as the original is pretty tricky to assemble.
from spotmicro.
Hi guys,
As far as I remember, I got based on a previous version of spot micro to position those inverted servos. And I was not aware of this code repo until @sbias mentioned it in a comment on thingiverse. Its nice to see the robot moving! I modified the design, printed it but never got to coding it in the end
I'd like to improve the description on thingiverse so other people are alerted about this servos being inverted.
What do you think I should mention in there?
from spotmicro.
I think it should be enough to mention it along the list of improvements you made to the model. At least for this software everything works just fine, just spent some additional time since the values i got wasn't logically explainable. I know there is some more software out there to run on spotmicro, unsure if that might be a bigger problem there. So a hint to that would be awesome.
But, if i got you right, this servo-position came from an older version of the remixed model? If true, might be a good hint in this documentation for servo-calibration too.
from spotmicro.
+1 on adding a bullet to the improvement section that the servos were reoriented compared to KDY's design.
from spotmicro.
Related Issues (20)
- IMU
- Raspberry Pi images preloaded with Ubuntu 16.04 and a ROS Kinetic installation failed HOT 3
- Increase Pitch/Roll/Yaw Angle command Speed on Joystick HOT 1
- catkinmake HOT 1
- Cannot find module ros-i2cpwmboard HOT 2
- Problem with catkin build on Ubuntu 16.04 and Ros Kinetic HOT 2
- error cannot launch node of type [i2cpwm...], error cannot launch node type of [spot_micro_motion...] HOT 3
- Control body angle while on walking mode
- CMake Error HOT 1
- problem with i2cpwm_boardConfig.cmake HOT 1
- catkin build error: redefinition of 'struct i2c_msg' HOT 1
- Calibration: Servo doesn't react to commands HOT 1
- ESP32 version :) HOT 2
- The servo configuration does not work, the movements do not coincide in reality
- how to additional ROS packages having windows 10 HOT 3
- the package is not being installed libi2c-dev i2c-tools python3-smbus python3-rpi.gpio
- Electronics with rplidar a1
- All robot parts in coordinates 0, 0 and without textures
- i2c_smbus_read_byte_dataβ was not declared in this scope; did you mean βi2c_smbus_ioctl_data HOT 2
- rviz: No transform from [...] to [...]
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 spotmicro.