Skip to content

Cross-compiling this module for NAO6 #1

@zyc1155

Description

@zyc1155

Hi,
I'm currently in the process of controlling the whole-body motion of the NAO6 robot in real-time based on the mc_rtc framework. The mc_rtc and mc_naoqi are successfully installed on my computer running Ubuntu 18.04. The mc_naoqi works without any problem when it only runs the simulation of NAO. However, when I try to apply it to the real robot according to the instruction, the following error occurred:

[info] MCControlNAOqi: Connecting to nao robot on address naomdl.local:9559
[info] Connecting to naomdl.local:9559
[success] Connected to naomdl.local
terminate called after throwing an instance of 'qi::FutureUserException'
  what():  Cannot find service 'MCNAOqiDCM' in index
Aborted (core dumped)

This error comes when the module is cross-compiled by the Cross Toolchain of Pepper. And when I use the Cross Toolchain of NAO, another error occurred at configuring time:

  CMake Error at /home/kiriki/.local/share/cmake/qibuild/internal/uselib.cmake:79 (find_package):
    By not providing "FindALCOMMON.cmake" in CMAKE_MODULE_PATH this project has
    asked CMake to find a package configuration file provided by "ALCOMMON",
    but CMake did not find one.
    Could not find a package configuration file provided by "ALCOMMON" with any
    of the following names:
      ALCOMMONConfig.cmake
      alcommon-config.cmake
    Add the installation prefix of "ALCOMMON" to CMAKE_PREFIX_PATH or set
    "ALCOMMON_DIR" to a directory containing one of the above files.  If
    "ALCOMMON" provides a separate development package or SDK, be sure it has
    been installed.
  Call Stack (most recent call first):
    /home/kiriki/.local/share/cmake/qibuild/internal/uselib.cmake:196 (_qi_use_lib_get_deps)
    /home/kiriki/.local/share/cmake/qibuild/stage.cmake:247 (_qi_use_lib_internal)
    src/CMakeLists.txt:10 (qi_use_lib)
  -- Configuring incomplete, errors occurred!
  See also "/home/kiriki/qiBuild_wt/mc_naoqi_dcm/build-ctc-naoqi-config/CMakeFiles/CMakeOutput.log".
  [ERROR]: ConfigureFailed 

Please give me some advice for this issue.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions