Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tommy Olofsson
ros_extctrl
Commits
8defc47a
Commit
8defc47a
authored
May 28, 2014
by
Tommy Olofsson
Browse files
Added a script to build the jgc bridge w/ deps.
parent
8c6d8d15
Changes
1
Hide whitespace changes
Inline
Side-by-side
install.sh
0 → 100755
View file @
8defc47a
#!/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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment