Ask Your Question
1

does rospy support scripting in jython?

asked 2013-10-31 13:20:35 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I am trying to integrate a dialogue classifier in rospy on the NAO robot. I am planning to use the jython script for the stanford nlp parser but i dont know if rospy will support this script. will it?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-10-31 19:43:43 -0600

Thomas gravatar image

You problem is not correctly formulated.

CPython (the classical interpreter) and Jython are two interpreters. I.e. they both are programs implemented in two different languages.

Compatibility between all interpreters is mainly insured but there are some slight differences which are listed here: http://www.jython.org/archive/21/docs/differences.html

In anycase, they both interpret Python files (or modules). As rospy is written in Python you should be able to use rospy with Jython. Again the best way is to try to import the module and see what happens.

edit flag offensive delete link more

Comments

Thank you for the help. I am still struggling tying to download the naoqi sdk. Onc i have everything set up, i will try importing the module.

uzair gravatar imageuzair ( 2013-10-31 19:51:11 -0600 )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: 2013-10-31 13:20:35 -0600

Seen: 162 times

Last updated: Oct 31 '13