[ros-users] [Discourse.ros.org] [ROS-Industrial] RoboDK post…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Victor Lamoine via ros-users
Date:  
To: ros-users
CC: Victor Lamoine
Subject: [ros-users] [Discourse.ros.org] [ROS-Industrial] RoboDK post processors


Hey there,

So we have these nice open source [RoboDK post-processors](https://github.com/ros-industrial/robodk_postprocessors) that were made available just for us.
I've been using my Fanuc post processor for a while and now I need a Motoman post-processor.

We already had a discussion on how we should implement these post-processors in ROS:
https://github.com/ros-industrial/robodk_postprocessors/issues/1

Here is my first working attempt:
https://gitlab.com/InstitutMaupertuis/ros_robodk_post_processors

# How it works
The RoboDK are python scripts that are included in the repository as a submodule (don't forget to initialize the submodules otherwise it won't work). I have added a ``__init__.py`` to make sure Python treats the directory as a package.

The RoboDK post processors have a common interface for every robot and also specialized functions/members.
I have described ROS services that exposes the common interface.

If the services are called with the right arguments and in the right order it is possible to generate programs for different robots. (at the moment only Motoman and Fanuc R30ia are in my test package)

# Caveats
There are many with this approach:
- How to add custom commands for each post processor? (eg: ``GO[1]=6`` on Fanuc, which may not have an equivalent on other robots)
- How to handle external axes? groups?
- How to add an option on a pose? (I use it a lot on Fanuc, not sure if it is useful for other robots)
- How to handle multi-program generation? (when generating a lot of poses, it is common to split the program into multiple programs)



How would you approach the problem?





---
[Visit Topic](https://discourse.ros.org/t/robodk-post-processors/5663/1) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>