Skip to content

Commit

Permalink
Add library for ros2_control
Browse files Browse the repository at this point in the history
  • Loading branch information
HoangGiang93 committed Aug 13, 2024
1 parent 4607201 commit 859625e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build_multiverse_ws2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ MULTIVERSE_DIR=$PWD/multiverse
cd $(dirname $0)/multiverse_ws2
rosdep install --from-paths src --ignore-src -r -y --rosdistro $ROS2_DISTRO
. /opt/ros/$ROS2_DISTRO/setup.sh
colcon build --symlink-install

# Check if ros is jazzy
if [ "$ROS2_DISTRO" = "jazzy" ]; then
if [ "$ROS2_DISTRO" = "foxy" ]; then
colcon build
elif [ "$ROS2_DISTRO" = "jazzy" ]; then
colcon build --symlink-install
ln -sf ${MULTIVERSE_DIR}/lib/libstdc++/libmultiverse_client_json.so ${MULTIVERSE_DIR}/../multiverse_ws2/install/multiverse_control/lib/libmultiverse_client_json.so
fi
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include "set"
#include "thread"

#include "rclcpp/rclcpp.hpp"
#include "hardware_interface/handle.hpp"
#include "hardware_interface/hardware_info.hpp"
#include "hardware_interface/system_interface.hpp"
Expand Down

0 comments on commit 859625e

Please sign in to comment.