-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.bash
More file actions
35 lines (28 loc) · 784 Bytes
/
setup.bash
File metadata and controls
35 lines (28 loc) · 784 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash
elias() {
CURRENT_PATH=`pwd`
roscd lunabotics
./lunabotics $1 $2 $3 $4 $5 $6 $7 $8
cd $CURRENT_PATH
}
lunastage() {
rosrun stage stageros `rospack find lunabotics`/stage.world
}
lunagazebo() {
gazebo `rospack find lunabotics`/gazebo/worlds/cubic.sdf
}
lunamoon() {
gazebo `rospack find lunabotics`/gazebo/worlds/moon.sdf
}
lunarena() {
elias -w lunarena2.txt -y -3.69 -x -1.94 -n
killall gzclient
killall gzserver
gazebo `rospack find lunabotics`/gazebo/worlds/lunarena.sdf
}
lunactrl() {
rosrun teleop_base teleop_base_keyboard base_controller/command:=$1
}
export GAZEBO_PLUGIN_PATH=~/local/lib/gazebo_plugins:$GAZEBO_PLUGIN_PATH
export GAZEBO_MODEL_PATH=`rospack find lunabotics`/gazebo/models:$GAZEBO_MODEL_PATH
export GAZEBO_MODEL_DATABASE_URI=""