-
Notifications
You must be signed in to change notification settings - Fork 37
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
feat(data_collecting_tool): visualize collected acc and vel grid #83
Conversation
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
self.collected_data_counts = np.zeros((self.num_bins, self.num_bins)) | ||
self.v_bins = np.linspace(self.v_min, self.v_max, self.num_bins + 1) | ||
self.a_bins = np.linspace(self.a_min, self.a_max, self.num_bins + 1) | ||
self.fig, self.axs = plt.subplots(2, 1, figsize=(10, 12)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here, plt
is being used, but whether matplotlib
is imported is managed by a flag as shown below.
autoware_tools/control_data_collecting_tool/scripts/data_collecting_trajectory_publisher.py
Line 40 in cfb4cbe
import matplotlib.pyplot as plt |
Therefore, it seems that an error occurs when this flag is set to False.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, thanks, make it always import in
0938137
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
@YoshihiroKogure |
Description
visualize collected acc and vel grid
data_collection_tools-2024-07-24_00.47.03.mp4
Related links
Tests performed
psim
Notes for reviewers
Interface changes
Effects on system behavior
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.