clebercoutof / mixcell Goto Github PK
View Code? Open in Web Editor NEWProgram used to configure Dynamixel protocol 1.0 servos on Linux
Home Page: http://mixcell.bitballoon.com/
Program used to configure Dynamixel protocol 1.0 servos on Linux
Home Page: http://mixcell.bitballoon.com/
Hi. I have successfully installed mixcell on my ubuntu 16.04 system. I think mixcell has successfully found my device, but I get an error like this.
I'm using dynamixel ex-106 +, USB2Dynamixel and cm-700.
Succeeded to open the port!
Using protocol 1
Succeeded to change the baudrate!
Pinging in ID: 5
[ID:005] ping Succeeded. Dynamixel model number : 107
Pinging in ID: 6
[TxRxResult] There is no status packet!
Pinging in ID: 7
[TxRxResult] There is no status packet!
Succeeded to change the baudrate!
Pinging in ID: 5
[TxRxResult] There is no status packet!
Pinging in ID: 6
[TxRxResult] There is no status packet!
Pinging in ID: 7
[TxRxResult] There is no status packet!
Succeeded to change the baudrate!
Pinging in ID: 5
[TxRxResult] There is no status packet!
Pinging in ID: 6
[TxRxResult] There is no status packet!
Pinging in ID: 7
[TxRxResult] There is no status packet!
Using protocol 2
Succeeded to change the baudrate!
Pinging in ID: 5
[TxRxResult] There is no status packet!
Pinging in ID: 6
[TxRxResult] There is no status packet!
Pinging in ID: 7
[TxRxResult] There is no status packet!
Succeeded to change the baudrate!
Pinging in ID: 5
[TxRxResult] There is no status packet!
Pinging in ID: 6
[TxRxResult] There is no status packet!
Pinging in ID: 7
[TxRxResult] There is no status packet!
Succeeded to change the baudrate!
Pinging in ID: 5
[TxRxResult] There is no status packet!
Pinging in ID: 6
[TxRxResult] There is no status packet!
Pinging in ID: 7
[TxRxResult] There is no status packet!
Traceback (most recent call last):
File "/home/ubuntu/catkin_ws/src/dynamixel_motor/mixcell/QTCode/mixcell", line 523, in network_search
self.table_organize(search_result)
File "/home/ubuntu/catkin_ws/src/dynamixel_motor/mixcell/QTCode/mixcell", line 494, in table_organize
model = mixcell.model_num[i.model]
KeyError: 107
I run python mixcell_qt.py
and I get the interface I select all baud rate and max servo no. which are 5
I have servos (dynamixel ax-12a)
when I press scan I can not detect my servos ????
Succeeded to change the baudrate!
Pinging in ID: 1
This function is deprecated. Use getTxRxResult instead
[TxRxResult] There is no status packet!
Pinging in ID: 2
This function is deprecated. Use getTxRxResult instead
[TxRxResult] There is no status packet!
Pinging in ID: 3
This function is deprecated. Use getTxRxResult instead
[TxRxResult] There is no status packet!
Pinging in ID: 4
This function is deprecated. Use getTxRxResult instead
[TxRxResult] There is no status packet!
Pinging in ID: 5
This function is deprecated. Use getTxRxResult instead
[TxRxResult] There is no status packet!
Succeeded to change the baudrate!
It seems the model AX-12+ is not suported.
I got this error when scanning:
Traceback (most recent call last): File "/root/src/mixcell/QTCode/mixcell", line 524, in network_search self.table_organize(search_result) File "/root/src/mixcell/QTCode/mixcell", line 495, in table_organize model = mixcell.model_num[i.model] KeyError: 12
The dictionary model_num
in source_code.py
does not include this model.
I've been trying to get mixcell running for over the last week, without sucess, and have now pinpointed the problem (i think), these errors occur on multiple computers, (all running Ubuntu 16.04 LTS).
When running ./install.sh the following errors occur.
First, when "cloning into dynamixelsdk"
olly@olly-Lenovo-G770:~$ cd mixcell/install/ olly@olly-Lenovo-G770:~/mixcell/install$ ./install.sh Cloning into 'DynamixelSDK'... remote: Counting objects: 11615, done. remote: Compressing objects: 100% (373/373), done. remote: Total 11615 (delta 297), reused 546 (delta 237), pack-reused 10944 Receiving objects: 100% (11615/11615), 27.28 MiB | 524.00 KiB/s, done. Resolving deltas: 100% (6552/6552), done. Checking connectivity... done. ln: failed to create symbolic link 'mixcell': File exists python-dbus-dev - main loop integration development files for python-dbus python3-pyudev - Python3 bindings for libudev eric - full featured Python IDE
And after entering my password
Reading package lists... Done Building dependency tree Reading state information... Done
...
cp "./libdxl_x64_c.so" "/usr/local/lib/libdxl_x64_c.so" ln -s "/usr/local/lib/libdxl_x64_c.so" "/usr/local/lib/libdxl_x64_c.so.2" ln: failed to create symbolic link '/usr/local/lib/libdxl_x64_c.so.2': File exists Makefile:79: recipe for target 'install' failed make: [install] Error 1 (ignored) ln -s "/usr/local/lib/libdxl_x64_c.so" "/usr/local/lib/libdxl_x64_c.so.2.0" ln: failed to create symbolic link '/usr/local/lib/libdxl_x64_c.so.2.0': File exists Makefile:79: recipe for target 'install' failed make: [install] Error 1 (ignored) ln -s "/usr/local/lib/libdxl_x64_c.so" "/usr/local/lib/libdxl_x64_c.so.2.0.0" ln: failed to create symbolic link '/usr/local/lib/libdxl_x64_c.so.2.0.0': File exists Makefile:79: recipe for target 'install' failed make: [install] Error 1 (ignored) cp -r ../../include/dynamixel_sdk/* /usr/local/include/dynamixel_sdk/ ldconfig /home/olly/mixcell'
So imo this is not an end-user problem, as i've had colleagues experience the same issue, and the problem is the same on multiple computers.
Fwiw, if you attempt to run mixcell ignoring these problems:
olly@olly-Lenovo-G770:~$ mixcell Traceback (most recent call last): File "/home/olly/mixcell/QTCode/mixcell", line 9, in <module> import source_code as mixcell File "/home/olly/mixcell/source_code/source_code.py", line 33, in <module> import dynamixel_functions as dynamixel # Uses Dynamixel SDK library File "/home/olly/mixcell/source_code/dynamixel_functions.py", line 55, in <module> printTxRxResult = dxl_lib.printTxRxResult File "/usr/lib/python2.7/ctypes/__init__.py", line 375, in __getattr__ func = self.__getitem__(name) File "/usr/lib/python2.7/ctypes/__init__.py", line 380, in __getitem__ func = self._FuncPtr((name_or_ordinal, self)) AttributeError: /usr/local/lib/libdxl_x64_c.so: undefined symbol: printTxRxResult
Hello @clebercoutof, thank you for sharing the program.
I have an issue when detecting the servos. I have connected 2 MX64 which are ID 4 and 5 with baudrate 57600 and I would like to modify the baudrate to 1000000.
Both servos are detected but are not shown in the gui.
If I try to modify it manually I get a communication error.
Do you know what is happening?
Thank you in advance.
Kinds regards,
Jorge
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.