File tree 3 files changed +10
-12
lines changed
3 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
# NOTE: you shouldn't call this script, you should source it. This script
3
- # assumes that you've created a Catkin worspace somewhere that points back
4
- # to this ROS package.
3
+ # assumes that this directory is in the top-level dir of a working Catkin workspace.
5
4
6
5
. ${HOME} /.bashrc
7
6
@@ -12,14 +11,13 @@ cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" > /dev/null
12
11
IFS=' /' read -r -a tokens <<< ` find /opt/ros -name env.sh`
13
12
DISTRO=${tokens[3]}
14
13
15
- # Setup the base ROS environment.
14
+ # Source the base ROS environment.
16
15
. /opt/ros/${DISTRO} /setup.bash
17
16
18
- # Load this project's environment.
19
- CATKIN_WS=../../cmd_vel_filter_ws
20
- . ${CATKIN_WS} /devel/setup.bash
17
+ # Load this workspace's environment.
18
+ . ../devel/setup.bash
21
19
22
- # Activate our virtualenv.
23
- . ~ /venv/cmd_vel_filter/bin/activate
20
+ # Uncomment this if you want to activate a virtualenv.
21
+ # . ~/venv/cmd_vel_filter/bin/activate
24
22
25
23
export ROS_MASTER_URI=http://127.0.0.1:11311
Original file line number Diff line number Diff line change 2
2
# Activate the ROS environment for our project, then kick off clion.
3
3
4
4
# EDIT THIS: set to your installation
5
- CLION_DIR= clion
6
- source ros_env.sh && /opt/ ${CLION_DIR } /bin/clion.sh &
5
+ CLION_PATH=/opt/ clion
6
+ source ros_env.sh && ${CLION_PATH } /bin/clion.sh &
Original file line number Diff line number Diff line change 2
2
# Activate the ROS environment for our project, then kick off pycharm.
3
3
4
4
# EDIT THIS: set to your installation
5
- PYCHARM_DIR= pycharm
6
- source ros_env.sh && /opt/ ${PYCHARM_DIR } /bin/pycharm.sh &
5
+ PYCHARM_PATH=/opt/ pycharm
6
+ source ros_env.sh && ${PYCHARM_PATH } /bin/pycharm.sh &
You can’t perform that action at this time.
0 commit comments