ros-naoqi / naoqi_driver

c++ bridge based on libqi
Apache License 2.0
51 stars 93 forks source link

workarounds for simulated robots #136

Open BenjaminNavarro opened 3 years ago

BenjaminNavarro commented 3 years ago

Currently, trying to connect to a simulated robot, either using Choregaphe or by running naoqi-bin manually, will lead to errors stopping the node to start.

There are two problems, at least for Nao:

  1. The robot type has to be accessed using Dialog/RobotModel instead of RobotConfig/Body/Type
  2. The simulated robot doesn't provide the ALAudio module

This PR addresses both of these problems.

One small issue is that I couldn't find a way to retrieve the robot's version. That shouldn't be a big issue since this information is only used for message logging.