...
POST No. 2408019
dynamixel_sdk missing during a Turtlebot3 package compile in Dashing
2021-02-18 06:59:29 edcepp

Configuration

  TB3 Burger

  Remote PC Dashing on Ubuntu 18.04


Activity

  eManual 3.1.4 - Install TurtleBot3 Packages

  Doing the source install


Problem

1)  missing dynamixel_sdk

2)  Colcon build should occur in turtlebot3_ws directory

       not in turtlebot3_ws/src


Evidence

$ colcon build --symlink-install

Starting >>> turtlebot3_msgs

Starting >>> turtlebot3_description

Starting >>> turtlebot3_cartographer

Starting >>> turtlebot3_navigation2

Finished <<< turtlebot3_cartographer [2.95s]                        

Starting >>> turtlebot3_teleop

Finished <<< turtlebot3_navigation2 [2.98s]                         

Finished <<< turtlebot3_description [3.36s]                         

Finished <<< turtlebot3_teleop [0.92s]                              

Finished <<< turtlebot3_msgs [17.4s]                         

Starting >>> turtlebot3_node

Starting >>> turtlebot3_example

Finished <<< turtlebot3_example [0.87s]                              

--- stderr: turtlebot3_node                          

CMake Error at CMakeLists.txt:19 (find_package):

  By not providing "Finddynamixel_sdk.cmake" in CMAKE_MODULE_PATH this

  project has asked CMake to find a package configuration file provided by

  "dynamixel_sdk", but CMake did not find one.


  Could not find a package configuration file provided by "dynamixel_sdk"

  with any of the following names:


    dynamixel_sdkConfig.cmake

    dynamixel_sdk-config.cmake


  Add the installation prefix of "dynamixel_sdk" to CMAKE_PREFIX_PATH or set

  "dynamixel_sdk_DIR" to a directory containing one of the above files.  If

  "dynamixel_sdk" provides a separate development package or SDK, be sure it

  has been installed.


Solutions

1)

  $ sudo apt-get install ros-dashing-dynamixel-sdk*


2)

  $ cd ..


Investigation: I think this is what happed


In January 18, 2021 instructions the dynamixel-sdk was built from the following commands:

  $ wget https://raw.githubusercontent.com/ROBOTIS-GIT/turtlebot3/ros2/turtlebot3.repos


  $ vcs import src < turtlebot3.repos


The new instructions from February 16, 2021 do not follow the above steps. It has these steps

  $ git clone -b dashing-devel https://github.com/ROBOTIS-GIT/turtlebot3_msgs.git


  $ git clone -b dashing-devel https://github.com/ROBOTIS-GIT/turtlebot3.git


  $ colcon build --symlink-install



2021-02-18 06:59:29
edcepp
2021-02-18 18:13:43 Will Son

Hi,


Thank you for reporting the issue.

I'll fix the instruction right away!

2021-02-18 18:13:43
willson
Reply
웹에디터 시작 웹 에디터 끝