Ask Your Question
1

How to interface Blender with ROS

asked 2018-04-10 05:34:52 -0500

joejnke gravatar image

I am trying to run a python code that imports rospy and i want to run this code in blender so that the position details of the object that is currently loaded in blender will be published to a ROS topic and use that message to make ROS turtle mimic the movements of the blender object.

edit retag flag offensive close merge delete

Comments

I'm not sure how extensive it is, but there is some integration available in MORSE: MORSE/Installation/ROS Installation Notes. Perhaps it could be of some use.

Note that those tutorials are very old, so things might not ..

gvdhoorn gravatar image gvdhoorn  ( 2018-04-10 05:38:51 -0500 )edit

.. work immediately / it won't be a copy-and-paste job.

gvdhoorn gravatar image gvdhoorn  ( 2018-04-10 05:39:03 -0500 )edit

Hey did you ever get further with such a project?

Dynamitetalks gravatar image Dynamitetalks  ( 2018-04-23 22:08:07 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-04-24 02:16:37 -0500

joejnke gravatar image

I have got a solution from a friend and it worked well. ROS and Blender can be linked using a simple python socket-client program. what i made is, i wrote a python code with server for the ROS and a python code with client for the Blender then used the code for blender to send the desired data as string and at the server side i manipulated the received string and used the data i need.

edit flag offensive delete link more

Comments

2

would it be possible to get a copy of this code? thanks!

tomsepe gravatar image tomsepe  ( 2019-03-25 17:12:48 -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

Stats

Asked: 2018-04-10 05:34:52 -0500

Seen: 729 times

Last updated: Apr 24 '18