Ask Your Question
0

How can I control my robot fanuc m10 step by step in real time?

asked 2017-09-29 04:04:15 -0500

JADJER gravatar image

updated 2017-09-29 05:44:41 -0500

I can't get the robot to move, only to watch his present position using rviz. Is it possible to do without moveit ? Or if not real-time, step by step with the minimum of delay? Installed Ros on Ubuntu 16.04. As an alternative to the real robot (waiting for delivery is an option from Fanuc) use Roboguide. Karell compiled according to the instructions from the wiki and downloaded all .pc and .tp files to the controller. Launch ros.tp. On the computer run

roslaunch fanuc_m10ia_support robot_state_vizualize_m10ia.launch robot_ip:=127.0.0.1 use_bswap:=false

Everything appears correctly! Next run

roslaunch fanuc_m10ia_support robot_interface_streaming_m10ia.launch robot_ip:=127.0.0.1 use_bswap:=false

The controller appears RSTA connected and RREL connected. I tried to write in various topics, but nothing happens

edit retag flag offensive close merge delete

Comments

Can you explain what you've already done? How did you install things, which software are you using, etc? Please edit your original question for that.

If you can't get the robot to move at all, then something is wrong, because fanuc_driver should be able to do that.

gvdhoorn gravatar image gvdhoorn  ( 2017-09-29 05:06:44 -0500 )edit

As to real-time / minimum delay: that is possible, but you will probably not like the performance very much. Fanuc robots don't have any external motion interface, and are not really well suited for this kind of thing.

If you need actual real-time, custom development with something like ..

gvdhoorn gravatar image gvdhoorn  ( 2017-09-29 05:07:36 -0500 )edit

.. DPM might be more suited.

I would also recommend you install fanuc_driver_exp instead of fanuc_driver.

gvdhoorn gravatar image gvdhoorn  ( 2017-09-29 05:08:11 -0500 )edit

Thanks for the update. Can you explain how you can run RoboGuide on Ubuntu? Or is 127.0.0.1 an example IP?

gvdhoorn gravatar image gvdhoorn  ( 2017-09-29 06:45:42 -0500 )edit

127.0.0.1 it's example IP

JADJER gravatar image JADJER  ( 2017-09-29 07:05:51 -0500 )edit

@gvdhoorn is DPM Fanuc's analog to Kuka's RSI? Performance-wise are there any major differences?

BrettHemes gravatar image BrettHemes  ( 2017-12-26 12:26:17 -0500 )edit

@BrettHemes: I wish it was. It's a real-time interface, but only for Cartesian corrections in a very limited volume around a fixed point (or at least, that's one of the methods of operation). There are a few other modes, but nothing that truely solves the Fanuc-is-missing-a-proper-external-..

gvdhoorn gravatar image gvdhoorn  ( 2017-12-27 08:08:07 -0500 )edit

..-motion-interface.

I was sort-of hopeful that J802 would finally solve all our problems (it's even called "Remote Sensor Interface", ie: RSI), but so far it only seems to be a state reporting solution (ie: RSI with sendonly==true). No motion commanding there.

gvdhoorn gravatar image gvdhoorn  ( 2017-12-27 08:09:32 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-09-29 06:48:16 -0500

gvdhoorn gravatar image

updated 2017-09-29 06:48:45 -0500

The controller appears RSTA connected and RREL connected.

That is good, that means that everything is connected.

I tried to write in various topics, but nothing happens

That is expected, as the driver exposes a FollowJointTrajectory action interface. It does not listen to any topics.

The /joint_state topic (for instance) is for reporting current state of the robot, not for controlling it.

edit flag offensive delete link more

Comments

I need to interact with FollowJointTrajectory use actionlib? Or something else? Could you explain me more how to send a command to the robot?

JADJER gravatar image JADJER  ( 2017-09-29 07:10:44 -0500 )edit

I need to interact with FollowJointTrajectory use actionlib

yes. That's it.

That's all there is to it.

But again: use fanuc_driver_exp. Not fanuc_driver.

gvdhoorn gravatar image gvdhoorn  ( 2017-09-29 07:11:59 -0500 )edit

fanuc_driver_exp it's just simply an updated driver for the robot controller? or am I mistaken?

JADJER gravatar image JADJER  ( 2017-09-29 07:16:08 -0500 )edit

Could you give me an example of interaction with FollowJointTrajectory?

JADJER gravatar image JADJER  ( 2017-09-29 08:20:40 -0500 )edit

fanuc_driver_exp it's just simply an updated driver for the robot controller?

yes, that is correct. It's 100% compatible with the ROS side of fanuc_driver.

gvdhoorn gravatar image gvdhoorn  ( 2017-09-30 04:13:43 -0500 )edit

Could you give me an example of interaction with FollowJointTrajectory?

There's no example specifically for this driver (as the concept is so generic in ROS that wouldn't make much sense). You could perhaps look at the test_move.py script in the universal_robot/ur_driver package. See ..

gvdhoorn gravatar image gvdhoorn  ( 2017-09-30 04:15:54 -0500 )edit

.. ros-industrial/universal_robot/ur_driver/test_move.py.

Make sure to update the joint names, and set proper values for the velocities, not just time_from_start. The Karel code uses the velocity ..

gvdhoorn gravatar image gvdhoorn  ( 2017-09-30 04:22:29 -0500 )edit

.. field from the JOINT_TRAJ_PT, not the duration.

gvdhoorn gravatar image gvdhoorn  ( 2017-09-30 04:23:07 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-09-29 03:54:51 -0500

Seen: 1,217 times

Last updated: Sep 29 '17