3 posts / 0 new
Last post
Offline
Last seen: 4 months 1 week ago
Joined: April 7, 2017
Add Java code to a Choregraphe project

Hello everybody!

I work as an IT-assistant in a museum and I'm specially in charge of the NAO robot. The current programs running in the robot were developed using Choregraphe, so I need to continue using that base. As I have developed some projects for NAO already, I have some programs I would like to add to the robot, however they're written in Java, so my question is:

Is there any way to add Java code to a Choregraphe box or something like that, so that I can add those behaviors to the current project? Or can I directly install the Java program in the robot and run it internally from the other project?

I would really appreciate some help here, as I haven't work much with Choregraphe yet. Thank you in advance!

Regards,

Miguel

Offline
Last seen: 2 days 18 hours ago
Joined: October 3, 2016

"Is there a way to add Java code to a Choregraphe box?" No, the boxes can only execute Python code.
But you can run java software on the robot. E.g. create a .jar file and execute it.
Check what version of NAOqi you have and have a look at this guide (link is to version 2.1. There might be a newer version of the documentation)
http://doc.aldebaran.com/2-1/dev/java/index_java.html

Offline
Last seen: 4 months 1 week ago
Joined: April 7, 2017

Okay, I'm gonna check that and try it. Thank you a lot!