Comments (6)
The library should compile fine with SoftwareSerial.h, since it is a standard arduino library.
It will only work on reasonnably recent versions of the IDE, though.
What version are you using?
from ardyno.
i use arduino 1.8.1 , and i found that arduino due does not have a SoftwareSerial.h library since it has arm m3 32 bit chip . Is there anyway to remove the include line from the library .
from ardyno.
Ok, then i will add a preprocessor option to disable SoftwareSerial, and disable it by default on due.
For now, you could comment the relevant code manually in the library, it is in DynamixelInterfaceArduinoImpl.h/cpp , in the Arduino/libraries/ardyno/src directory (make sure to update the library to the v0.7 version that i just released).
from ardyno.
Now i have commented SoftwareSerial.h and other related functions in
DynamixelInterfaceArduinoImpl.h/cpp . But there is another problem , functions setReadMode and setWriteMode are only declared for AVR and Arduino 101 , there is no setReadMode and setWriteMode for ARM.
from ardyno.
Hmm, yeah, indeed, i have not ported them to arm.
The solution depends of how you connect the motors : if you use tristate buffers with the direction pin, as recommended by robotis, those function are not really needed, and you can just define them empty.
If you connect the rx/tx directly to the motor communication pin, you really need those functions, and need to implement them for arm (which means going into the uart detail in the uc datasheet). If you are interested to implement them, let me know, i will help you the best i can, but i do not have any hardware to test it myself.
from ardyno.
Thanks it compiled , I am using a tri-state buffer and commented the call functions lines for setReadMode and setWriteMode in DynamixelInterfaceArduinoImpl.h/cpp.
from ardyno.
Related Issues (16)
- mDirectionPin==NO_DIR_PORT HOT 1
- Incorrect position reporting and strange reset behavior HOT 19
- Improving library usability and robustness HOT 5
- 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?
- AX12a won't respond after changing id HOT 15
- DynamixelInterfaceArduinoImpl.h is not installing using Arduino IDE library manager HOT 1
- getting started troubleshooting - led example not working HOT 5
- Controlling different types of servomotors with arduino méga 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 ardyno.