https://github.com/duckietown/Software
Raw File
Tip revision: af7c88671e8cedf36d2b6a3f68d4271c1b804bc4 authored by Eric Lu on 09 July 2018, 12:50:30 UTC
solve conflict
Tip revision: af7c886
Makefile.log.mk
logs:
	@echo "$(sep)Demos"
	@echo
	@echo "These are Makefiles for taking logs"

log-minimal: check-environment
	@read -p "Institution? (UdM, NCTU, ETHZ, TTIC): " institution; \
	. ${DUCKIETOWN_ROOT}/environment.sh; \
	. ${DUCKIETOWN_ROOT}/set_ros_master.sh; \
        . ${DUCKIETOWN_ROOT}/set_vehicle_name.sh; \
	roslaunch duckietown make_log.launch veh:=$(vehicle_name) institution:=$$institution

log-full: check-environment
	@read -p "Institution? (UdM, NCTU, ETHZ, TTIC): " institution; \
	. ${DUCKIETOWN_ROOT}/environment.sh; \
	. ${DUCKIETOWN_ROOT}/set_ros_master.sh; \
        . ${DUCKIETOWN_ROOT}/set_vehicle_name.sh; \
	rosbag record -a -o /media/logs/$(vehicle_name)_$$institution
back to top