https://github.com/duckietown/Software
Raw File
Tip revision: 94d38b2fead377cca50eb5edde42bc4e10cba9d3 authored by Gianmarco Bernasconi on 30 October 2018, 12:32:10 UTC
fixed bug on launchfile
Tip revision: 94d38b2
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