ros-industrial / motoman

ROS-Industrial Motoman support (http://wiki.ros.org/motoman)
145 stars 192 forks source link

yrc1000 MotoRos not started (5008) #302

Closed emielke12 closed 4 years ago

emielke12 commented 4 years ago

I am attempting to follow the tutorials here and here, but am running into this issue. When I attempt to call the /robot_enable service, I am met with this message:

Failed to set TrajectoryMode: Not Ready (5) : MotoRos not started (5008)

According to the tutorial, this means that the Inform job wasn't loaded. I followed the instructions on the tutorial numerous times. Is there any trick to getting this loaded?

The green servo on light lights up on the pendant when I run the service call, and the brakes disengage, but it gives me that error code.

EricMarcil commented 4 years ago

Did you do Step 3: Installing INFORM Code? When you list the robot job on the pendant, you should see the job: INIT_ROS in the list.

emielke12 commented 4 years ago

Yes, I did step 3. I can see INIT_ROS in the job list

EricMarcil commented 4 years ago

Then it must be something else. I don't have access to the code right now. I would suggest that you look at the MotoRos drive source code and look for the error code 5008. You can then see what condition might be causing it's generation.

EricMarcil commented 4 years ago

I just looked at some note. Basically, your controller is probably in a state where you can't run job. Try running the job directly from the pendant. You probably won't be able to start the Job and you'll have a message at the bottom of the pendant telling you why. Last time I helped someone with a similar problem, they had a message to check second home position. They had just received the robot and it had probably moved a bit during shipping.

emielke12 commented 4 years ago

That was it! Thanks for the help and quick responses!