Message thread on Webots Real Robots

OP2 "Speaker" Cross-Compilationby CH Park (Webots EDU - 11) 2016-12-06 20:18:13
Hello! I am running Webots 8.5.2 with a Robotis-OP2.

I have noticed that, with the new Speaker code that was introduced in 8.5, the physical OP2 can speak during cross-compilation - for example, with the pre-written dialogue in the Symmetry demo.

However, OP2 will only "speak" if, through the Robot Transfer window, I run the controller through the "Upload Controller" button on the far left. If I run the controller through the "Remote Control" middle button, the robot does not speak.

This happens in the demo controllers, and in the controller I have built. How can I fix this?

Thank you.
Re: OP2 "Speaker" Cross-Compilationby Olivier Michel (Webots PRO - 949) 2016-12-08 08:19:00

The text-to-speech feature is not supported yet for the remote-control interface of the Robotis OP2 robot.

If you are an expert in C/C++ development, you should be able to implement it by yourself. In order to proceed, you will need to modify the files located in webots/projects/robots/robotis/remote_control/, especially, the main.cpp which receives the remote control commands on the robot from Webots. On the Webots side, you will need to modify the files located in webots/projects/robots/robotis/plugins/remote_controls/ to ensure that Webots actually sends the correct text-to-speech information to the robot. If you need any support for implementing this on your own, please open a support ticket from the Help menu of Webots, with precise questions, sample code, etc. and we will help you.

If you are not in a hurry to use this feature, we may implement it in an upcoming version of Webots (to be released early next year).

Best regards,

You need to log in to be able to reply, subscribe or unsubscribe to this thread