Godot extension that brings a subset of ROS functionality to Godot projects.
For using a release build, download and extract in cev-godot-sim/bin
.
It is not necessary to build this from source unless adding Godot-ROS functionality. For upgrading simulator functionality with existing ROS features, use a release build and follow instructions in cev-godot-sim.
Instructions for building from source:
git clone --recurse-submodules -j8 [email protected]:cornellev/godot-ros-bridge.git
or
git clone [email protected]:cornellev/godot-ros-bridge.git
cd godot-ros-bridge/
git submodule update --init --recursive
Compiling for the first time, must build godot-cpp first:
cd godot-ros-bridge/godot-cpp/
scons -j8 platform=linux # This step may take 5-10 minutes
cd ../
scons -j8 platform=linux # Builds godot extension to a bin folder
All subsequent times, only need to compile godot-ros-bridge itself:
cd godot-ros-bridge/
scons -j8 platform=linux # Builds godot extension to a bin folder
Then, copy the necessary files into the bin folder of your copy of cev-godot-sim
:
cd godot-ros-bridge/
cp gdexample.gdextension /path/to/cev-godot-sim/bin/
cp bin/libgdexample.<extension> /path/to/cev-godot-sim/bin/
Need to cross-compile and add releases for different platforms (and appropiately update SConstruct to handle this).
It may be possible to automatically generate subscribers / publishers (see gen).