--
You received this message because you are subscribed to the Google Groups "swri-ros-pkg-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swri-ros-pkg-d...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Thanks for the great work on the FS100 package. We just got a Motoman MH5L with a FS100 controller, and eager try get it to work with ROS, I tried it out, but something isn’t working right for me.
I don’t have the MotoPlus SDK docs, so I’m not sure if I installed and launched MotoRos correctly, but ROS is publishing the right joint_states, so it appears that at least something is working.
Nevertheless, when I try to move a joint using move_to_joint.py, the motion_streaming_interface reports some errors, and the robot arm stays still. The robot_state reports that the drives_powered is true, but motion_possible is false, both before and after trying to move the arm.
I’ve attahced the output from the console with logger level sat to debug and pasted the most relevant data below. I ran move_to_joint twice as it can be seen. The joint_states are still being published, so I guess the connection isn’t dropped. But maybe it just laches the joint values and the keeps sending those values – since the arm doesn’t move, it hard to see if the values change.
Any suggestion to get it to work is much appreciated.
[ INFO] [1373032172.795770738]: Receiving joint trajectory message
[DEBUG] [1373032172.795858568]: Current state is: 0
[DEBUG] [1373032172.796204321]: Executing MotionCtrl message load
[DEBUG] [1373032172.796279925]: Executing MotionCtrl command load
[DEBUG] [1373032172.796351630]: MotionCtrl data successfully loaded
[ERROR] [1373032172.796439546]: Socket sendBytes failed, rc: -1, errno: 32
[ERROR] [1373032172.796516509]: Failed to send MotionCtrl message
[ERROR] [1373032172.796581738]: Failed to send CHECK_MOTION_READY command
[DEBUG] [1373032172.796645046]: Executing MotionCtrl message load
[DEBUG] [1373032172.796693343]: Executing MotionCtrl command load
[DEBUG] [1373032172.796742787]: MotionCtrl data successfully loaded
[ WARN] [1373032172.796798271]: Not connected, bytes not sent
[ERROR] [1373032172.796852547]: Failed to send MotionCtrl message
[ERROR] [1373032172.796905109]: Failed to send TRAJ_MODE command
[ERROR] [1373032172.796955691]: Failed to initialize MotoRos motion. Trajectory ABORTED. Correct issue and re-send trajectory.
[ INFO] [1373032246.113812441]: Receiving joint trajectory message
[DEBUG] [1373032246.113898683]: Current state is: 0
[DEBUG] [1373032246.114040097]: Executing MotionCtrl message load
[DEBUG] [1373032246.114091241]: Executing MotionCtrl command load
[DEBUG] [1373032246.114140961]: MotionCtrl data successfully loaded
[ WARN] [1373032246.114207503]: Not connected, bytes not sent
[ERROR] [1373032246.114255177]: Failed to send MotionCtrl message
[ERROR] [1373032246.114303879]: Failed to send CHECK_MOTION_READY command
[DEBUG] [1373032246.114354391]: Executing MotionCtrl message load
[DEBUG] [1373032246.114401329]: Executing MotionCtrl command load
[DEBUG] [1373032246.114465801]: MotionCtrl data successfully loaded
[ WARN] [1373032246.114520388]: Not connected, bytes not sent
[ERROR] [1373032246.114566323]: Failed to send MotionCtrl message
[ERROR] [1373032246.114624444]: Failed to send TRAJ_MODE command
[ERROR] [1373032246.114676534]: Failed to initialize MotoRos motion. Trajectory ABORTED. Correct issue and re-send trajectory.
Best regards
|
--
Thomas,
Great to hear that you’re trying to use the FS100 ROS interface! The more users, the better.
The robot interfaces generally use two separate nodes for data communication with the robot. One node listens to state data published from the robot, and the other node pushes down trajectory commands for the robot to execute. Each of these nodes operates on a separate socket port. The fact that you’re seeing published state data is a good start, but does not necessarily indicate that the motion-node is still functional.
The error messages that you posted indicate that the initial error is the socket error (“Socket sendBytes failes”), with an error code of 32. On linux, error code 32 is EPIPE, indicating a “broken pipe”. After the connection is broken, you’ll see that the first motion-control command fails (“Failed to send CHECK_MOTION_READY command”). For the next motion-control command, the socket error is different (“Not connected, bytes not sent”), and the second command also fails (“Failed to send TRAJ_MODE command”).
So, the problem is that the motion-control socket is dying when you try to send the motion to the robot. I don’t immediately see what the issue is here. It might be helpful if you can also monitor what’s happening on the FS100 side of the connection. You can telnet to the FS100 controller and see messages printed when the connection is established. This might help figure out what connection issues you’re having. I’m not sure if I’m allowed to share the specifics of the telnet connection to FS100, but you can contact your Motoman rep to find what user/password to use.
Good luck!
Jeremy Zoss
Southwest Research Institute
Yaskawa America Inc.
Motoman Robotics Division
To unsubscribe from this group and stop receiving emails from it, send an email to swri-ros-pkg-dev+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to swri-ros-pkg-d...@googlegroups.com.
Good question.
The FS100 interface was developed under groovy. But it was released after our “official” groovy release. The FS100 package breaks a few things in the initial groovy release. The general philosophy is not to break existing “stable” releases. I’m not sure what the official stance is, but I kind of see the version-support as follows:
- groovy: released, stable, missing some features required for FS100-compatibility. Has debian packages.
- groovy-devel: active development. Will eventually be released as “hydro”. Compatible with ROS groovy, but may break some of the stable interfaces in the ROS-I “groovy” release. Available from source only.
- hydro: not really released yet. We’ll release this soon after ROS does its hydro release.
I may be off-base with the official policy, and I’m not really sure how these stages align with the current repository branches. Part of the confusion is that things are currently in flux as we migrate to gitHub and re-evaluate the branch naming. I’m sure someone will correct me if I’m totally wrong here.
Hope this helps,
Jeremy Zoss
Southwest Research Institute
Department of Electrical Engineering
To unsubscribe from this group and stop receiving emails from it, send an email to swri-ros-pkg-d...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "swri-ros-pkg-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
swri-ros-pkg-d...@googlegroups.com.
For more options, visit
https://groups.google.com/groups/opt_out.