-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (27 loc) · 1.26 KB
/
Makefile
File metadata and controls
34 lines (27 loc) · 1.26 KB
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
# PHONY prevents is up to date check
.PHONY: build rosdep clean plan
plan:
colcon build --symlink-install --packages-select planner
ifeq ($(shell uname -s),Darwin)
build:
colcon build --symlink-install --cmake-args -DPython3_FIND_VIRTUALENV=ONLY -DBUILD_TESTING=OFF --packages-skip spacenav
@echo 'export PATH=/opt/homebrew/bin/ign:/opt/homebrew/bin/gz:$${PATH}' >> install/setup.bash
@echo 'export PATH=/opt/homebrew/bin/ign:/opt/homebrew/bin/gz:$${PATH}' >> install/setup.zsh
@echo 'export PYTHONPATH=$${CONDA_PREFIX}/lib/python3.10/site-packages:$${PYTHONPATH}' >> install/setup.bash
@echo 'export PYTHONPATH=$${CONDA_PREFIX}/lib/python3.10/site-packages:$${PYTHONPATH}' >> install/setup.zsh
@echo 'export GZ_SIM_RESOURCE_PATH=install/clearpath_gz/share/clearpath_gz/worlds' >> install/setup.zsh
@echo 'export IGN_GAZEBO_RESOURCE_PATH=install/clearpath_gz/share/clearpath_gz/worlds' >> install/setup.zsh
else
build:
colcon build --symlink-install
endif
clearpath:
colcon build --symlink-install --packages-select clearpath_common clearpath_config clearpath_simulator clearpath_nav2_demos
rosdep:
rosdep install --from-paths src --ignore-src -y --rosdistro humble
clean:
rm -rf build install log
frames:
ros2 run tf2_tools view_frames
clean_frames:
rm -r frames_*