by xevel » Tue Nov 13, 2012 12:24 pm
by xevel
Tue Nov 13, 2012 12:24 pm
Indeed, that's what I did with newtio.c_flag, but that's where I get all the errors.
The available baud rates used in c_flag I took from here:
http://linux.die.net/include/bits/termios.h
I did my tests on a Lubuntu 12.10 in a VMware Player virtual machine, and what actually happens on the Dynamixel bus is that there are collisions between the output and input packets, that obviously result in a very confused Dynamixel SDK.
My first thought were that the timing (based on gettimeofday() ) was not working properly [there have been report of the system clock jumping around on VMs], but I had someone run it on his physical machine with a Lubuntu 12.04 with the same result.
In all honesty, I haven't done all the testing I should have (I should test with the USB2Dynamixel to rule out the timing problem, and do it on a real machine...), and I was just checking if anybody had had the same problem before diving deeper.
I would be glad to have your code so that I have a reference to compare to to debug my setup.
Thanks i-Bot
Indeed, that's what I did with newtio.c_flag, but that's where I get all the errors.
The available baud rates used in c_flag I took from here:
http://linux.die.net/include/bits/termios.h
I did my tests on a Lubuntu 12.10 in a VMware Player virtual machine, and what actually happens on the Dynamixel bus is that there are collisions between the output and input packets, that obviously result in a very confused Dynamixel SDK.
My first thought were that the timing (based on gettimeofday() ) was not working properly [there have been report of the system clock jumping around on VMs], but I had someone run it on his physical machine with a Lubuntu 12.04 with the same result.
In all honesty, I haven't done all the testing I should have (I should test with the USB2Dynamixel to rule out the timing problem, and do it on a real machine...), and I was just checking if anybody had had the same problem before diving deeper.
I would be glad to have your code so that I have a reference to compare to to debug my setup.
Thanks i-Bot