https://github.com/duckietown/Software
Raw File
Tip revision: 8f34b0e2e193df13c399db81d8437d4ebd6fc26e authored by nicolaslanzetti on 02 December 2017, 18:32:03 UTC
Merge branch 'master' into lnicolas-devel
Tip revision: 8f34b0e
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