]> rtime.felk.cvut.cz Git - hubacji1/path-to-traj.git/blob - Makefile
Update Makefile to generate trajectories with our ROS node
[hubacji1/path-to-traj.git] / Makefile
1 SRCS:=$(shell find -name '*.json' -not -name '*.traj.json' -printf '%f\n')
2 #SRCS:=pa1.json
3
4 TRAJS=$(SRCS:%.json=%.traj.json)
5 DATS=$(SRCS:%.json=%.dat)
6
7 all: dat
8
9 dat: $(DATS)
10
11 traj: $(TRAJS)
12
13 %.dat: %.json ./park
14         ./park --quiet --sim --log $@ $<
15
16 %.traj.json: %.json ./path2traj.py
17         ./path2traj.py $<
18
19 plot: $(TRAJS:%=plot-%)
20 plot-%.traj.json: %.traj.json ./plot.py
21         ./plot.py $*.traj.json
22
23 plot2: $(TRAJS:%=plot2-%)
24 plot2-%.traj.json: %.traj.json ./wa_and_sp_plot.py
25         ./wa_and_sp_plot.py $*.traj.json
26
27 ovals: gen_steer_scenario.py
28         ./gen_steer_scenario.py