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

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.
dir=~/lth_src_140528
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 http://git.cs.lth.se/robotlab/labcomm-core.git $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 -
fi
echo "# /generated" >> ~/.bashrc
source ~/.bashrc
cd $dir
git clone http://git.cs.lth.se/robotlab/ros2lc_bridge.git
git clone http://git.cs.lth.se/tommyo/ros_extctrl.git
cd ros2lc_bridge/generator && rosmake && cd -
cd ros_extctrl && cmake . && rosmake && ./build_bridge.sh && cd
Markdown is supported
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