Commit 8defc47a authored by Tommy Olofsson's avatar Tommy Olofsson
Browse files

Added a script to build the jgc bridge w/ deps.

parent 8c6d8d15
#!/usr/bin/env bash
# This script can be downloaded from the to get the required
# repositories and build the JGC bridge.
# Your working directory should be within your ROS_PACKAGE_PATH when run.
rm -fr $dir
mkdir -p $dir
echo "# generated" >> ~/.bashrc
echo "export ROS_PACKAGE_PATH=$dir:\$ROS_PACKAGE_PATH" >> ~/.bashrc
if [ ! -d $LABCOMM ]; then
git clone $dir/labcomm
echo "export LABCOMM=$dir/labcomm" >> ~/.bashrc
echo 'export PYTHONPATH=$LABCOMM/lib/python:$PYTHONPATH' >> ~/.bashrc
cd $dir/labcomm/compiler && ant jar && cd -
#cd $dir/labcomm/lib/c && make && cd -
echo "# /generated" >> ~/.bashrc
source ~/.bashrc
cd $dir
git clone
git clone
cd ros2lc_bridge/generator && rosmake && cd -
cd ros_extctrl && cmake . && rosmake && ./ && cd
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment