The other frequent problem is that the controller need to be in "Remote" mode on the pendant and enable to receive "Remote Command". The later step is often forgotten. On the programming pendant, select "IN/OUT" --> PSEUDO INPUT SIG" than make sure that the input #82015 CMD REMOTE SEL is turned on. If you need to turn it on, make sure your security level is set to "Management", then move the cursor in the circle beside the input and press INTERLOCK + SELECT to turn it on.
roslaunch fs100 robot_interface.launch robot_ip:=10.0.0.4
Flavian,
Socket error 111 indicates “connection refused” by the FS100 controller. The ROS messages look like it’s trying to connect to the correct socket/port, but it’s possible that there is some other configuration-related issue. Here are some suggestions for things you might try:
- Have you reviewed your controller configuration with Motoman? The ROS driver requires additional threads and parameters settings beyond the “stock” controller setup.
- Log in to the controller using the telnet interface in the MotoPlus IDE to view the controller-side log messages.
- Inspect the communications stream using WireShark or a similar tool. A WireShark dissector has been developed to aid debugging ROS-I communications. I don’t know that this will show much, since the connection is being rejected before any real data is sent.
- Motoman has a standalone windows-based tool for communicating with the FS100 ROS driver. If you contact your Motoman representative, they may be able to supply you with this tool for debugging independently from ROS.
Please let us know if these tests provide any further information,
Jeremy Zoss
Southwest Research Institute
--
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.
To unsubscribe from this group and stop receiving emails from it, send an email to swri-ros-pkg-dev+unsubscribe@googlegroups.com.
I believe that the default FS100 setup allows maybe 2-3 concurrent MotoPlus threads. However, the MotoROS driver uses maybe 4-5 threads. When we were initially setting up our FS100 controller, we saw a few errors where the controller did not respond as expected, which were eventually tracked back to thread-limits preventing full functionality on the controller side. I think the thread limits are somewhat arbitrary, and put in place to help prevent MotoPlus code from over-using controller resources. The MotoROS code is well-designed, and should not affect normal controller operation.
I think there may be other internal parameters that are set/modified, but I’m not sure. I think Motoman prefers to review controller configurations to make sure that they are compatible with MotoROS. This probably helps prevent lots of troubleshooting calls later if things don’t work as expected.
- Jeremy
From: f.hau...@gmail.com [mailto:f.hau...@gmail.com]
Sent: Monday, August 19, 2013 3:29 AM
To: swri-ros...@googlegroups.com
Cc: Zoss, Jeremy K.
Subject: Re: [swri-ros-pkg-dev] FS100 issue: Failed to connect to server
Thanks Jeremy, I'll test that and keep you posted.
Could you be more specific about "The ROS driver requires additional threads and parameters settings beyond the “stock” controller setup."?
Le vendredi 9 août 2013 17:04:36 UTC+2, Zoss, Jeremy K. a écrit :
Flavian,
Socket error 111 indicates “connection refused” by the FS100 controller. The ROS messages look like it’s trying to connect to the correct socket/port, but it’s possible that there is some other configuration-related issue. Here are some suggestions for things you might try:
- Have you reviewed your controller configuration with Motoman? The ROS driver requires additional threads and parameters settings beyond the “stock” controller setup.
- Log in to the controller using the telnet interface in the MotoPlus IDE to view the controller-side log messages.
- Inspect the communications stream using WireShark or a similar tool. A WireShark dissector has been developed to aid debugging ROS-I communications. I don’t know that this will show much, since the connection is being rejected before any real data is sent.
- Motoman has a standalone windows-based tool for communicating with the FS100 ROS driver. If you contact your Motoman representative, they may be able to supply you with this tool for debugging independently from ROS.
Please let us know if these tests provide any further information,
Jeremy Zoss
Southwest Research Institute
To unsubscribe from this group and stop receiving emails from it, send an email to swri-ros-pkg-d...@googlegroups.com.