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

How can sensors be read from PC with usb2dynamixel or toss?

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 siempre.aprendiendo » Sat May 22, 2010 9:58 am

Post by siempre.aprendiendo
Sat May 22, 2010 9:58 am

I have tried it, the "monitoring way" but it doesn´t work , I have modified the read_write.c example. :(

Next I will try another way, it's easier but I think it's less interesting, at least for me. A C program that receives the queries and answers them, but not using the dynamixel protocol. Something like the console CM-510 manage mode.
I have tried it, the "monitoring way" but it doesn´t work , I have modified the read_write.c example. :(

Next I will try another way, it's easier but I think it's less interesting, at least for me. A C program that receives the queries and answers them, but not using the dynamixel protocol. Something like the console CM-510 manage mode.
siempre.aprendiendo
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 559
Joined: Wed Aug 08, 2007 9:13 pm
Location: Barcelona

Post by siempre.aprendiendo » Sun May 23, 2010 10:57 pm

Post by siempre.aprendiendo
Sun May 23, 2010 10:57 pm

It works!

Well, at least I have managed to create a toss mode program, and then it has been very simple to create a "device mode" for CM-510.

Now I will clean up the code and write the "answers" with the sensors values :)

Finally I have used the new Robotis libraries.
It works!

Well, at least I have managed to create a toss mode program, and then it has been very simple to create a "device mode" for CM-510.

Now I will clean up the code and write the "answers" with the sensors values :)

Finally I have used the new Robotis libraries.
siempre.aprendiendo
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 559
Joined: Wed Aug 08, 2007 9:13 pm
Location: Barcelona

Post by FabinovX » Mon May 24, 2010 12:22 pm

Post by FabinovX
Mon May 24, 2010 12:22 pm

siempre.aprendiendo wrote:
I have zig2serial connected to my USB2Dynamixel and have started a project a month ago to get position of AX12 and some sensors values from CM510 using a .tsk dedicated program.
but i'm at the limit of tsk possibilities and i will need some arrays when programming the CM510.


May be you can use the tsk program as only a connector , read/write from/to the sensors and servos to/from the PC.


this is what it try to do in fact, but there is a lot of datas to give to one actuator.
So, with 18 actuators + sensors, it is really difficult to have something reactive.

My ability to program firmware is near absolut 0,
i'm new in robotics and i'm learning c++ since i got my Premium but visual c++ is quite hard to master when you're a beginner, so it will be a long way for me to reach my goal which is to use my PC as a controller/'brain' for my bioloid.


Do you know any other programming language (Java, C#, ... )?

unfortunatly NO

if you have the same goal, then maybe we can join our efforts to get some results more quickly.


I usually use the PDA/PC as the brain. You can AntOne 2 and BudaOne as two examples in my youtube channel or website (spanish/english)

It's really impressive, i think i've some work to get at your knowledge level !

hasta la vista.


¿"Hablas" español? :D ¿De dónde eres?
(Do you speak spanish? Where are you from?)


Claro, hablo un poco porque my madre es de Espana. pero soy Frances.
Soy de Tolosa.
siempre.aprendiendo wrote:
I have zig2serial connected to my USB2Dynamixel and have started a project a month ago to get position of AX12 and some sensors values from CM510 using a .tsk dedicated program.
but i'm at the limit of tsk possibilities and i will need some arrays when programming the CM510.


May be you can use the tsk program as only a connector , read/write from/to the sensors and servos to/from the PC.


this is what it try to do in fact, but there is a lot of datas to give to one actuator.
So, with 18 actuators + sensors, it is really difficult to have something reactive.

My ability to program firmware is near absolut 0,
i'm new in robotics and i'm learning c++ since i got my Premium but visual c++ is quite hard to master when you're a beginner, so it will be a long way for me to reach my goal which is to use my PC as a controller/'brain' for my bioloid.


Do you know any other programming language (Java, C#, ... )?

unfortunatly NO

if you have the same goal, then maybe we can join our efforts to get some results more quickly.


I usually use the PDA/PC as the brain. You can AntOne 2 and BudaOne as two examples in my youtube channel or website (spanish/english)

It's really impressive, i think i've some work to get at your knowledge level !

hasta la vista.


¿"Hablas" español? :D ¿De dónde eres?
(Do you speak spanish? Where are you from?)


Claro, hablo un poco porque my madre es de Espana. pero soy Frances.
Soy de Tolosa.
FabinovX
Savvy Roboteer
Savvy Roboteer
Posts: 74
Joined: Mon Feb 01, 2010 4:12 pm

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