by srobot » Wed Jan 16, 2008 9:38 pm
by srobot
Wed Jan 16, 2008 9:38 pm
Bullit wrote:I'm currious how you are using the huv imu in your code?
I don't belive the stocks motion firmware supports it.
I use it in the BCP not the Motion Editor, but yes the stock firmware does support it. I just put the IMU in line with the Dynamixels and the CM-5 found it. I also tried this with an extra Robotis servo, but it got an err.
So to use it all you do is:
Open the BCP Editor.
Choose a spot where you want to add the IMU.
Choose "Dynamixel" out of "CM-5" and "Typing".
Type "120" into ID, and choose an Address out of the Ram table on the HUV website.
So to see if the Humanoid is laying down you can do:
If 120:28 [Comment: ID 120, and Address 28] > 395 Then
Let me know if this is hard to follow.
--Scotty
Bullit wrote:I'm currious how you are using the huv imu in your code?
I don't belive the stocks motion firmware supports it.
I use it in the BCP not the Motion Editor, but yes the stock firmware does support it. I just put the IMU in line with the Dynamixels and the CM-5 found it. I also tried this with an extra Robotis servo, but it got an err.
So to use it all you do is:
Open the BCP Editor.
Choose a spot where you want to add the IMU.
Choose "Dynamixel" out of "CM-5" and "Typing".
Type "120" into ID, and choose an Address out of the Ram table on the HUV website.
So to see if the Humanoid is laying down you can do:
If 120:28 [Comment: ID 120, and Address 28] > 395 Then
Let me know if this is hard to follow.
--Scotty