From 720b044ebffe74d6600a2349097056aa46ab0ef8 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Tue, 4 Apr 2023 09:07:18 +0200 Subject: [PATCH] Update Makefile to generate trajectories with our ROS node For this to work, you should create a symlink to the park binary from the cf_parking ROS package. --- Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f1cf789..330ba77 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,16 @@ SRCS:=$(shell find -name '*.json' -not -name '*.traj.json' -printf '%f\n') #SRCS:=pa1.json TRAJS=$(SRCS:%.json=%.traj.json) +DATS=$(SRCS:%.json=%.dat) -all: $(TRAJS) +all: dat + +dat: $(DATS) + +traj: $(TRAJS) + +%.dat: %.json ./park + ./park --quiet --sim --log $@ $< %.traj.json: %.json ./path2traj.py ./path2traj.py $< -- 2.39.2