Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Olivier Stasse
Gepetto Utils
Commits
7a8a1426
Commit
7a8a1426
authored
Sep 26, 2018
by
Olivier Stasse
Browse files
Add a script to compile the whole robotpkg in standalone mode.
parent
0cc1d60b
Changes
3
Hide whitespace changes
Inline
Side-by-side
scripts/README.md
View file @
7a8a1426
...
...
@@ -65,3 +65,13 @@ The first allows to check that the camera is configured correctly.
If you are not satisfied, you have to use the
[
web interface
](
http://axis-ptz1
)
.
The second records the current view. It is meant to be run in
`eur0c:/local/axis`
## `robotpkg-test3-wipuser.sh`
```
Creates a directory ${HOME}/devel-src/robotpkg-test3 in which robotpkg and ${USER} wip from gepgitlab
are cloned.
Then the script bootstrap robotpkg and add the file ./etc/addrobotpkg.conf to the default
${HOME}/devel-src/robotpkg-test3/install/etc/robotpkg.conf.
From this the script tries to compile talos-simulation and talos-dev.
```
scripts/etc/addrobotpkg.conf
0 → 100644
View file @
7a8a1426
PKG_FORMAT
=
deb
ACCEPTABLE_LICENSES
+=
openhrp
-
grx
-
license
ACCEPTABLE_LICENSES
+=
cnrs
-
hpp
-
closed
-
source
ACCEPTABLE_LICENSES
+=
gnu
-
gpl
ACCEPTABLE_LICENSES
+=
motion
-
analysis
-
license
PREFER
.
gnupg
=
system
PREFER
.
urdfdom
=
system
PREFER
.
urdfdom
-
headers
=
system
PREFER
.
ros
-
catkin
=
system
PREFER
.
ros
-
comm
=
system
PREFER
.
ros
-
genlisp
=
system
PREFER
.
ros
-
message
-
generation
=
system
PREFER
.
ros
-
std
-
msgs
=
system
PREFER
.
ros
-
rospack
=
system
PREFER
.
ros
-
message
-
runtime
=
system
PREFER
.
ros
-
roscpp
-
core
=
system
PREFER
.
ros
-
xacro
=
system
PREFER
.
ros
-
common
-
msgs
=
system
PREFER
.
ros
-
lint
=
system
PREFER
.
ros
-
com
-
msgs
=
system
PREFER
.
ros
-
com
-
msgs
=
system
PREFER
.
bullet
=
system
PREFER
.
ros
-
ros
=
system
PREFER
.
ros
-
cmake
-
modules
=
system
PREFER
.
ros
-
dynamic
-
reconfigure
=
system
PREFER
.
ros
-
realtime
-
tools
=
system
PREFER
.
ros
-
control
-
toolbox
=
system
PREFER
.
ros
-
bond
-
core
=
system
PREFER
.
ros
-
class
-
loader
=
system
PREFER
.
ros
-
pluginlib
=
system
PREFER
.
ros
-
rqt
=
system
PREFER
.
ros
-
humanoid
-
msgs
=
system
PREFER
.
ros
-
genmsg
=
system
PREFER
.
ros
-
actionlib
=
system
PREFER
.
ros
-
geometry
=
system
PREFER
.
collada
-
dom
=
system
PREFER
.
orocos
-
kdl
=
system
PREFER
.
ros
-
angles
=
system
PREFER
.
ros
-
console
-
bridge
=
system
PREFER
.
ros
-
eigen
-
stl
-
containers
=
system
PREFER
.
ros
-
random
-
numbers
=
system
PREFER
.
ros
-
resource
-
retriever
=
system
PREFER
.
ros
-
shape
-
tools
=
system
PREFER
.
ros
-
geometric
-
shapes
=
system
PREFER
.
ros
-
srdfdom
=
system
PREFER
.
ros
-
robot
-
model
=
system
PREFER
.
ros
-
orocos
-
kdl
=
system
PREFER
.
assimp
=
system
ACCEPTABLE_LICENSES
+=
pal
-
license
ROS_PACKAGE_PATH
=${
ROBOTPKG_ROOT
}/
install
/
share
:$
ROS_PACKAGE_PATH
scripts/robotpkg-test3-wipuser.sh
0 → 100755
View file @
7a8a1426
#!/bin/bash
set
-x
RED
=
'\033[0;31m'
NC
=
'\033[0m'
# No Color
printf
"User:
${
USER
}
\n
"
#Phase 1
printf
"
${
RED
}
Creating the repositories
${
NC
}
\n
"
export
ROBOTPKG_ROOT
=
${
HOME
}
/devel-src/robotpkg-test3
mkdir
-p
${
ROBOTPKG_ROOT
}
/
mkdir
-p
${
ROBOTPKG_ROOT
}
/install
printf
"
${
RED
}
Cloning robotpkg
${
NC
}
\n
"
cd
${
ROBOTPKG_ROOT
}
git clone https://git.openrobots.org/robots/robotpkg.git
cd
robotpkg
printf
"
${
RED
}
Cloning robotpkg/wip
${
NC
}
\n
"
git clone git@gepgitlab.laas.fr:
${
USER
}
/robotpkg-wip.git wip
printf
"
${
RED
}
Boostrapping
${
NC
}
\n
"
cd
bootstrap
./bootstrap
--prefix
=
${
ROBOTPKG_ROOT
}
/install
# Phase 2
export
ROBOTPKG_BASE
=
${
ROBOTPKG_ROOT
}
/install
# Build talos simulation
printf
"
${
RED
}
Preparing robotpkg.conf
${
NC
}
\n
"
cat
${
PWD
}
/etc/addrobotpkg.conf
>>
${
ROBOTPKG_BASE
}
/etc/robotpkg.conf
cd
${
ROBOTPKG_ROOT
}
/robotpkg/wip/talos-simulation
env
&> /tmp/check-env-rpkg
printf
"
${
RED
}
Compiling (quite long...)
${
NC
}
\n
"
make
install
-j
8
cd
${
ROBOTPKG_ROOT
}
/robotpkg/wip/talos-dev
env
&> /tmp/check-env-rpkg
printf
"
${
RED
}
Compiling (quite long...)
${
NC
}
\n
"
make
install
-j
8
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