Legacy Forum: Preserving Nearly 20 Years of Community History - A Time Capsule of Discussions, Memories, and Shared Experiences.

OSX Hacks

Bioloid robot kit from Korean company Robotis; CM5 controller block, AX12 servos..
18 postsPage 2 of 21, 2
18 postsPage 2 of 21, 2

Post by billyzelsnack » Mon Sep 10, 2007 9:06 pm

Post by billyzelsnack
Mon Sep 10, 2007 9:06 pm

You could probably recompile his code with J# and access the assembly from C#.
You could probably recompile his code with J# and access the assembly from C#.
billyzelsnack
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 618
Joined: Sat Dec 30, 2006 1:00 am

Clarification

Post by BVis » Mon Sep 10, 2007 9:22 pm

Post by BVis
Mon Sep 10, 2007 9:22 pm

Just to clarify,
This ability to control the Dynamixels in Java is based on a direct USB -> AX-12 connection. There is no CM5 in the mix.
Also, this is running on OSX, but would run on another *NIX platform as well.
It uses the FTDI D2XX direct drivers not the VCP drivers. The reason for this is that the popular two java serial implementations (javax.comm and rxtx) did not seem to like a 1000000 baud rate.

It is using a JNI wrapper library named jd2xx from Pablo Bleyer Kocik (java.net) (BSD License). The lib was originally written for Windows, so I am sure it is much easier to get it working on that platform.

How I got this to work was a lot of trial and error, I will be putting the steps together in a cohesive format and post that when I get it done.

Day job is getting in the way right now.
Just to clarify,
This ability to control the Dynamixels in Java is based on a direct USB -> AX-12 connection. There is no CM5 in the mix.
Also, this is running on OSX, but would run on another *NIX platform as well.
It uses the FTDI D2XX direct drivers not the VCP drivers. The reason for this is that the popular two java serial implementations (javax.comm and rxtx) did not seem to like a 1000000 baud rate.

It is using a JNI wrapper library named jd2xx from Pablo Bleyer Kocik (java.net) (BSD License). The lib was originally written for Windows, so I am sure it is much easier to get it working on that platform.

How I got this to work was a lot of trial and error, I will be putting the steps together in a cohesive format and post that when I get it done.

Day job is getting in the way right now.
BVis
Robot Builder
Robot Builder
Posts: 10
Joined: Tue Jul 31, 2007 7:08 am

Post by siempre.aprendiendo » Mon Sep 10, 2007 9:33 pm

Post by siempre.aprendiendo
Mon Sep 10, 2007 9:33 pm

billyzelsnack wrote:You could probably recompile his code with J# and access the assembly from C#.


Well, my idea is that the program colud run outside Windows too. I will rewrite the program with Java.
billyzelsnack wrote:You could probably recompile his code with J# and access the assembly from C#.


Well, my idea is that the program colud run outside Windows too. I will rewrite the program with Java.
siempre.aprendiendo
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 559
Joined: Wed Aug 08, 2007 9:13 pm
Location: Barcelona

Previous
18 postsPage 2 of 21, 2
18 postsPage 2 of 21, 2