Hood OpenCR Waffle Drivers ROS2

From wikidb
Jump to: navigation, search

References

Build and Install Micro-XRCE-DDS using Raspberry Pi Instructions

Fails

Micro XRCE DDS Agent Build for Raspberry Pi

Build and Install using Linux Instructions

Add to locate tinyxml libraries

$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu/ $ cd
$ git clone https://github.com/eProsima/Micro-XRCE-DDS-Agent.git
    Cloning into 'Micro-XRCE-DDS-Agent'...
    remote: Enumerating objects: 168, done.
    remote: Counting objects: 100% (168/168), done.
    remote: Compressing objects: 100% (68/68), done.
    remote: Total 7098 (delta 104), reused 128 (delta 76), pack-reused 6930
    Receiving objects: 100% (7098/7098), 1.79 MiB | 8.83 MiB/s, done.
    Resolving deltas: 100% (4071/4071), done.
$ cd Micro-XRCE-DDS-Agent
$ ls
    agent.refs          Dockerfile  microxrce_agent.cpp  thirdparty
    cmake               docs        README.md            utils
    CMakeLists.txt      include     src                  valgrind.supp
    CTestJenkins.cmake  LICENSE     test
$ git checkout a495c65faa964ddc068ac6e1249f17f5c9f92787
    Note: checking out 'a495c65faa964ddc068ac6e1249f17f5c9f92787'.

    You are in 'detached HEAD' state. You can look around, make experimental
    changes and commit them, and you can discard any commits you make in this
    state without impacting any branches by performing another checkout.

    If you want to create a new branch to retain commits you create, you may
    do so (now or later) by using -b with the checkout command again. Example:

      git checkout -b <new-branch-name>

    HEAD is now at a495c65 Merge pull request #54 from eProsima/feature/baudrate
$ mkdir build
$ cd build

Notice missing tinyxml2 library error. Ignore for now and hope setting the library path above will mitigate this error. The following make built without error.

$ cmake ..
    -- Could NOT find tinyxml2 (missing: TINYXML2_LIBRARY) 
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/eepp/Micro-XRCE-DDS-Agent/build
$ make

Micro XRCE DDS Agent Make Log Under Unix

$ sudo make install

Micro XRCE DDS Agent Make Install Log Under Unix

$ sudo ldconfig /usr/local/lib/