Re: [ros-users] rospy and python 3.0

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: User discussions
Date:  
To: ros-users
CC: Michael Karg
Old-Topics: Re: [ros-users] rospy and python 3.0
Subject: Re: [ros-users] rospy and python 3.0
Hello!

We are currently in the same situation as Ruben, trying to run ROS from
Blender 2.5 (for the MORSE simulation project - morse.openrobots.org ),
and thus, with Python 3.1.

We have started an effort to port rospy to Python 3.1 and I'm happy to
annonce that this code snippet now runs on both Python 2.x and Python 3:

> import roslib; roslib.load_manifest('morse')
> import rospy
>
> print("Hello world!")


:-) Don't laugh, it was 3 hours of work for 2 people! ;-)

We will continue the effort in the next few days.
If you want to contribute/test, you can simply add these two lines to
your .rosinstall (but be warned: for now, even roscore won't start):

- git: {local-name: ros/core/rospy, uri:
'git://code.in.tum.de/git/rospy3.git'}
- git: {local-name: ros/core/roslib, uri:
'git://code.in.tum.de/git/rospy3-roslib.git'}

(attention: our work is currently based on cturtle, which is not good.
We must rebase it on the trunk...)

Severin

-- 
          Séverin Lemaignan - 
  [00]    PhD student on Cognitive Robotics
/|__|\   Technische Uni München - IAS group / LAAS-CNRS - RIS group
   ''     +498928917780 / +33561337844
          http://www.laas.fr/~slemaign