Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[jsk_tools/bag_plotter] Add -o to save figure automatically #1327

Merged
merged 1 commit into from
Dec 26, 2015

Conversation

garaemon
Copy link
Member

Makefile to convert bag file to plot image (for jaxon) .

bag_files = $(shell find . -name '*.bag')
image_files = $(subst .bag,.pdf,${bag_files})
plotter_py = $(shell rospack find jsk_tools)/src/jsk_tools/bag_plotter.py
config_file = $(shell rospack find jaxon_ros_bridge)/config/plotter_configs/plotter.yaml
all: ${image_files}

.SUFFIX: .bag .pdf

%.pdf: %.bag ${plotter_py} ${config_file}
        rosrun jsk_tools bag_plotter.py ${config_file} $< -o $@

k-okada added a commit that referenced this pull request Dec 26, 2015
[jsk_tools/bag_plotter] Add -o to save figure automatically
@k-okada k-okada merged commit 4a0b93a into jsk-ros-pkg:master Dec 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants