Comments (5)
Yes, i mostly agree with you that the convenience functions do not cover everything that they should, and that they lack consistency.
I just don't want it to become a list of getter/setter for each register, there would be very little added value compared to the read
/write
function, but i don't think it is your intention.
So ok for your two first points and the fourth point. For the third point, i would prefer the return value to be the complete status byte, even if it means slightly more typing to check the result.
So that we do not do the same work twice, a propose that i work on the existing functions (in a separate branch for now, since it can break existing code), and let you propose/implement new functions that you think would be usefull.
from ardyno.
from ardyno.
You'll see my pull request is consistent with this except for the return
code type. I can fix this and resubmit.
Yes, it looks good, please fix the return type.
I don't have time to implement everything that should be done, I will just
be doing the functions I need for my application :)
Sure, it is already good ;-)
Incidentally any tips on tuning feedback control parameters? I have a very
simple 1dof mechanical load and the servo bounces a bit before stopping
which is worse than a $10 non digital servo!
Yeah, the control algorithm of the AX-12 is not so great in that regard.
It usually help to increase the compliance slope, probably to the max value (128) if you want no bounce at all.
You may also increase the compliance margin, but then you lose position accuracy.
from ardyno.
Regarding the compliance slope, it seems that the documentation is wrong about it.
The documentation says that the slope has only 7 steps, and that, for examples 254 is interpreted the same as 128, but from my tests, 254 clearly results in a higher compliance slope than 128.
On the other side, 255 is probably a 'special' value, because result in a very small slope.
from ardyno.
That sort of information would be great in a wiki attached to this repo. As I've gotten to know these servos better (the AX-12A anyway) the documentation is pretty spotty and sloppy.
Still waiting on anything from me on the pull request?
from ardyno.
Related Issues (16)
- mDirectionPin==NO_DIR_PORT HOT 1
- AX12a won't respond after changing id HOT 15
- DynamixelInterfaceArduinoImpl.h is not installing using Arduino IDE library manager HOT 1
- Does not work on Arduino due SoftwareSerial.h not found HOT 6
- getting started troubleshooting - led example not working HOT 5
- Controlling different types of servomotors with arduino méga HOT 2
- Incorrect position reporting and strange reset behavior HOT 19
- Mega board cannot communicate with Dynamixel MX28T HOT 4
- listen() ist missing
- Can't communicate with RX-28 after changing baudrate HOT 2
- Can i apply this code to XL430? HOT 1
- Please update description to state this library is for protocol 1 only HOT 1
- cannot upload the program which following the same wire connection HOT 2
- Cannot use DynamixelMotor::speed() function to control the motor speed
- How can I seperate signal wire into two wire?
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 ardyno.