Revision 388699f095d9cfcc597ad4ad571b0a38d4b3e417 authored by BrettRStephens on 09 January 2018, 19:40:24 UTC, committed by BrettRStephens on 09 January 2018, 19:40:24 UTC
1 parent b0910f3
Raw File
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