Skip to content

MAPIRlab/Coppelia-simExtROS2-FORK

 
 

Repository files navigation

ROS2 Interface plugin for CoppeliaSim

Supported ROS2 versions:

  • Humble Hawksbill
  • Foxy Fitzroy (in the 'foxy' branch)

Compiling

NOTE: the directory containing all files (i.e. package.xml etc) must be called sim_ros2_interface, otherwise build will fail.

  1. Install required packages for simStubsGen: see simStubsGen's README
  2. Checkout
$ git clone --recursive https://github.com/CoppeliaRobotics/simExtROS2.git sim_ros2_interface
  1. Edit meta/interfaces.txt if you need to include more ROS interfaces. You need to specify the fully qualified interface, e.g. geometry_msgs/msg/Twist rather than Twist.
  2. Compile
$ colcon build --symlink-install

Note: if you are reporting a compile error, please use this command to build:

VERBOSE=1 MAKEFLAGS=-j1 colcon build --symlink-install --event-handlers console_direct+ --parallel-workers 1

Add --cmake-args -DCMAKE_BUILD_TYPE=Debug if you are encountering a runtime error (e.g. crash, unexpected behavior, etc...).

Note: gcc is known to fail compile the plugin when a large number of interfaces is compiled in. Use clang in that case, i.e.:

sudo apt install clang
export CXX=clang++
colcon build ...

About

ROS 2 Interface for CoppeliaSim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 84.7%
  • CMake 4.8%
  • Lua 4.8%
  • Python 3.2%
  • C 1.3%
  • Shell 1.2%