Interbotix / interbotix_ros_arms

ROS packages for the InterbotiX X-series family of robotic arms and turrets
BSD 2-Clause "Simplified" License
48 stars 27 forks source link

RX200 - Failed to write value[0] on items[Drive_Mode] to [ID : 7] #42

Closed sayyidabeegam closed 3 years ago

sayyidabeegam commented 3 years ago

We are testing RX200. But when we try to launch any file it showing error like that

[ERROR] [1615462266.610043992]: [DynamixelDriver] Failed to get the Tool [ERROR] [1615462266.610085329]: Failed to write value[0] on items[Drive_Mode] to [ID : 7] [ERROR] [1615462266.946160108]: [DynamixelDriver] Failed to get the Tool [ERROR] [1615462267.035811844]: [TxRxResult] There is no status packet! [ERROR] [1615462267.035848924]: groupSyncRead getdata failed [ERROR] [1615462267.035864869]: groupSyncRead getdata failed [ERROR] [1615462267.035905347]: groupSyncRead getdata failed [rx200/arm_node-3] process has died [pid 15934, exit code -11, cmd /home/lab_2/interbotix_ws/devel/lib/interbotix_sdk/arm_node __name:=arm_node __log:=/home/lab_2/.ros/log/4386fcbc-825d-11eb-9748-d4bed9c05ca1/rx200-arm_node-3.log]. log file: /home/lab_2/.ros/log/4386fcbc-825d-11eb-9748-d4bed9c05ca1/rx200-arm_node-3*.log [ERROR] [1615462283.321534911]: Action client not connected: arm_controller/follow_joint_trajectory

can there be error with hardware, because a little bit heating also there in the last joint motor?

swiz23 commented 3 years ago

Hi @sayyidabeegam,

The error message that you are getting means that the computer cannot write to the gripper servo (ID: 7). I'm guessing though that is had no issue pinging the servo? Did you got a message that said the following beforehand?

ID : 7, Model Number : 1060

If so, check to see if the gripper servo is in an error state (red LED is blinking). If that's the case, you'll need to power cycle it for the ROS driver to work. If the error is due to overheating (you can check the Present Temperature register and the Hardware Error Status register using the Dynamixel Wizard 2.0 tool), you'll need to wait for the servo to cool down. Anything aboe 72 degrees Celsius will cause it to go into an error state.

As far as preventing the gripper servo from heating up (I'm assuming you're using the motor in PWM mode), try to avoid having a constant PWM on the servo for more than 30 seconds. Or, you can lower the PWM to something smaller after the gripper is finished gripping an object.

sayyidabeegam commented 3 years ago

No,I am getting only [ INFO] [1615462265.910283404]: ID : 1, Model Number : 1060 [ INFO] [1615462265.945195346]: ID : 2, Model Number : 1020 [ INFO] [1615462265.980189713]: ID : 3, Model Number : 1020 [ INFO] [1615462266.016041864]: ID : 4, Model Number : 1060 [ INFO] [1615462266.055224853]: ID : 5, Model Number : 1060 [ INFO] [1615462266.090155459]: ID : 6, Model Number : 1060

ID number for 7 is not coming

swiz23 commented 3 years ago

Can you check the three-pin cable going from the wrist_rotate servo to the gripper servo? Is it snugly connected? Does the LED on the gripper servo flash briefly when you power cycle the arm? Is the temperature below 72 degrees Celsius?

sayyidabeegam commented 3 years ago

The 3 pin wire is connected fine. The LED light comes only once when it is powered on. Temperature is slightly higher than normal , but it is below 72 degrees. Is it due to hardware error?

On Fri, Mar 12, 2021 at 10:23 AM Solomon Wiznitzer @.***> wrote:

Can you check the three-pin cable going from the wrist_rotate servo to the gripper servo? Is it snugly connected? Does the LED on the gripper servo flash briefly when you power cycle the arm? Is the temperature below 72 degrees Celsius?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Interbotix/interbotix_ros_arms/issues/42#issuecomment-797233057, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALI2UHQJOLOMS2AQAD6CDJ3TDGFZ3ANCNFSM4ZAEN7NA .

swiz23 commented 3 years ago

Can you post snapshots of all the registers and their values using the DynamixelWizard 2.0 tool?

sayyidabeegam commented 3 years ago

Sir We are not detached the motor from arm yet. Is there any way to confirm without taking motor out?

swiz23 commented 3 years ago

There's no need to detach the motor or remove any wiring to use the Dynamixel Wizard 2.0 tool...

I've attached pictures of what I'm looking for (for the gripper servo - ID: 7) - note that I'm using a WX200 arm in those pics - but it's the same process. You can get the Dynamixel Wizard 2.0 tool here.

gripper_servo_1 gripper_servo_2

sayyidabeegam commented 3 years ago

With Dynamixel Wizard 2.0 tool only 6 motors are detecting, last one (7th) is not coming in list

On Fri, Mar 12, 2021 at 9:55 PM Solomon Wiznitzer @.***> wrote:

There's no need to detach the motor or remove any wiring to use the Dynamixel Wizard 2.0 tool...

I've attached pictures of what I'm looking for (for the gripper servo - ID: 7) - note that I'm using a WX200 arm in those pics - but it's the same process. You can get the Dynamixel Wizard 2.0 tool here https://emanual.robotis.com/docs/en/software/dynamixel/dynamixel_wizard2/#install-linux .

[image: gripper_servo_1] https://user-images.githubusercontent.com/31753673/110968217-e2a94880-831c-11eb-9cdc-5c8ffe680dfc.png [image: gripper_servo_2] https://user-images.githubusercontent.com/31753673/110968227-e5a43900-831c-11eb-8a50-a117982dc9c2.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Interbotix/interbotix_ros_arms/issues/42#issuecomment-797600012, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALI2UHVVGKOPAW3YG6IH3PLTDIW7ZANCNFSM4ZAEN7NA .

sayyidabeegam commented 3 years ago

rx200

swiz23 commented 3 years ago

Did you also try scanning at the 57600 baud rate? That's the default baud rate that comes with the motor (should be set to 1000000 in our office, but it's possible it was not set or it went back to 57600 for other reasons). Also, if the motor doesn't show up in the Wizard, how have you been able to determine what its temperature is?

sayyidabeegam commented 3 years ago

Yes We have scanned with all baud rate. About temperature, we didn't measured the temperature. When we touch around the gripper motor we feel slightly higher temperatures than other part of robot. (Only a slight variation)

On Sun, 14 Mar 2021, 7:14 am Solomon Wiznitzer, @.***> wrote:

Did you also try scanning at the 57600 baud rate? That's the default baud rate that comes with the motor (should be set to 1000000 in our office, but it's possible it was not set or it went back to 57600 for other reasons). Also, if the motor doesn't show up in the Wizard, how have you been able to determine what its temperature is?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Interbotix/interbotix_ros_arms/issues/42#issuecomment-798815241, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALI2UHUUDK7WX4WNJWIOX23TDQBINANCNFSM4ZAEN7NA .

swiz23 commented 3 years ago

Ok, in that case, you can try to do a firmware recovery on the servo. The hardware setup should be... 1) microusb from your computer to the U2D2 2) three-pin cable from the U2D2 to the motor power hub (this is already done) 3) three-pin cable from the motor power hub to the gripper servo (for this to happen, you first must disconnect the gripper servo from the wrist_rotate servo [ID: 6] as only one servo can be connected during the recovery process; also, you must unplug the three-pin cable going from the motor power hub to the waist servo [ID: 1] for the same reason). There's no need to physically remove the servo - just unplugging/replugging some three-pin wires.

A video showing how to do the recovery can be found at https://youtu.be/PgbIAK2Qg1Y. Note that when it says to turn off/on power, just unplug/replug the 12V power supply to the motor power hub. Also note that the gripper servo model is XL430-W250.

As you've probably guessed, you will either need a three-pin cable long enough to go from the motor power hub to the gripper servo OR you will need to temporarily unscrew the U2D2/motor-power-hub so that you can bring it close enough to the gripper servo to connect it.

If you're not comfortable doing this, you can also ship back the arm to Interbotix so we can fix the issue for you. If you'd like to go that route, please email trsupport@trossenrobotics.com. It would help to include a link to this Issue in your email and mention you spoke to Solomon about it.

sayyidabeegam commented 3 years ago

Okay Sir We will do that.

On Sun, 14 Mar 2021, 9:11 am Solomon Wiznitzer, @.***> wrote:

Ok, in that case, you can try to do a firmware recovery on the servo. The hardware setup should be...

  1. microusb from your computer to the U2D2
  2. three-pin cable from the U2D2 to the motor power hub (this is already done)
  3. three-pin cable from the motor power hub to the gripper servo (for this to happen, you first must disconnect the gripper servo from the wrist_rotate servo [ID: 6] as only one servo can be connected during the recovery process; also, you must unplug the three-pin cable going from the motor power hub to the waist servo [ID: 1] for the same reason). There's no need to physically remove the servo - just unplugging/replugging some three-pin wires.

A video showing how to do the recovery can be found at https://youtu.be/PgbIAK2Qg1Y. Note that when it says to turn off/on power, just unplug/replug the 12V power supply to the motor power hub. Also note that the gripper servo model is XL430-W250.

As you've probably guessed, you will either need a three-pin cable long enough to go from the motor power hub to the gripper servo OR you will need to temporarily unscrew the U2D2/motor-power-hub so that you can bring it close enough to the gripper servo to connect it.

If you're not comfortable doing this, you can also ship back the arm to Interbotix so we can fix the issue for you. If you'd like to go that route, please email @.*** It would help to include a link to this Issue in your email and mention you spoke to Solomon about it.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Interbotix/interbotix_ros_arms/issues/42#issuecomment-798827314, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALI2UHVT2CIVIYO2D673O73TDQO6DANCNFSM4ZAEN7NA .

swiz23 commented 3 years ago

Sounds good. Another thing to note is that you should reset the gripper's ID to 7 and the baud rate to 1000000 before reconnecting it back to the rest of the arm. By default, after a firmware recovery, the baud rate goes to 57600 and the ID goes to 1.

sayyidabeegam commented 3 years ago

Sir firmware recovery failed

On Mon, Mar 15, 2021 at 7:43 PM Solomon Wiznitzer @.***> wrote:

Sounds good. Another thing to note is that you should reset the gripper's ID to 7 and the baud rate to 1000000 before reconnecting it back to the rest of the arm. By default, after a firmware recovery, the baud rate goes to 57600 and the ID goes to 1.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Interbotix/interbotix_ros_arms/issues/42#issuecomment-799452574, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALI2UHXKNPHOD4MBXKI57IDTDYIX3ANCNFSM4ZAEN7NA .

sayyidabeegam commented 3 years ago

1

sayyidabeegam commented 3 years ago

2

sayyidabeegam commented 3 years ago

3

swiz23 commented 3 years ago

Looks like your hardware setup is perfect! But the motor firmware you need to install is for the XL430-W250 motor, not the XM430-W350 motor. Can you try with the correct firmware?

sayyidabeegam commented 3 years ago

Sir We have done this because according to the description of RX200 we have three XM430-W350 and four XL430-W250. But with wizard tool only two is detecting. So we assumed that one XM430-W350 is wrong.

sayyidabeegam commented 3 years ago

4

sayyidabeegam commented 3 years ago

6

swiz23 commented 3 years ago

That's very strange. The third XM430-W350 motor should be located at the elbow joint (ID: 4). Can you post a snapshot of what your elbow motor looks like? No need to take the arm apart. Just a pic of either side of the motor will do.

sayyidabeegam commented 3 years ago

The robot we have received has 1 motor lesser than reactor x 200. But name board is indicating as reactor x 200 Hence, we have received a wrongly assembled product or a wrong product. The base structure of the robot is also different from what is available on the website.

sayyidabeegam commented 3 years ago

10

sayyidabeegam commented 3 years ago

7

swiz23 commented 3 years ago

Wow! That is most definitely not the RX200 arm. Looks more like the RX150. I apologize for any inconvenience this has caused you. I'll discuss this with our Operations Manager, Rick, today, and tell you about next steps. Most likely, you'll just need to return the arm, and we'll ship you the correct model.

Can you email me at solomon@trossenrobotics.com so that I can put you in touch with Rick directly?

Again, sorry for the inconvenience!!

In any event, at least we now know why ID: 7 wasn't showing up, considering there was never a 7th motor on your robot to begin with!

sayyidabeegam commented 3 years ago

Okay Sir

swiz23 commented 3 years ago

Hi,

Talked with Rick. Are you the same person who has been emailing E-Store MG Super LABS about this issue? If so, Rick has just followed up with the store.

sayyidabeegam commented 3 years ago

Yes Sir E Store is doing for us.

On Wed, 17 Mar 2021, 11:04 pm Solomon Wiznitzer, @.***> wrote:

Hi,

Talked with Rick. Are you the same person who has been emailing E-Store MG Super LABS about this issue? If so, Rick has just followed up with the store.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Interbotix/interbotix_ros_arms/issues/42#issuecomment-801274273, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALI2UHQV6OLFGYGN5S3F3C3TEDR2VANCNFSM4ZAEN7NA .

swiz23 commented 3 years ago

Great! If you have any other questions, just let me know. Otherwise, feel free to close this Issue.

sayyidabeegam commented 3 years ago

We are informed from e-store that a replacement will be provided for the robot at the earliest. However, we are not yet provided with a timeline. By when can we expect to receive the same?

swiz23 commented 3 years ago

Hi @sayyidabeegam,

For the timeline question, please email trsupport@trossenrobotics.com directly. Make sure to include your order number as well.