-
Notifications
You must be signed in to change notification settings - Fork 34
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): add multiple courses #113
feat(data_collecting_tool): add multiple courses #113
Conversation
3cc3946
to
6bc383b
Compare
@@ -410,22 +749,52 @@ def updateNominalTargetTrajectory(self): | |||
|
|||
long_side_margin = 5 | |||
long_side_margin = 5 | |||
total_distance = ld * (1 + np.pi) * 2 | |||
# total_distance = ld * (1 + np.pi) * 2 |
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.
please remove commentout if it is not necessary.
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.
Thank you for your feedback. I removed commentout.
@@ -372,7 +711,7 @@ def updateNominalTargetTrajectory(self): | |||
lb = (l2 + l4) / 2 | |||
if np.abs(la - lb) < 1e-6: | |||
la += 0.1 # long_side_length must not be equal to short_side_length | |||
ld = np.sqrt(la**2 + lb**2) | |||
# ld = np.sqrt(la**2 + lb**2) |
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.
please remove commentout if it is not necessary.
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.
Thank you for your feedback. I removed commentout.
confirmed that it works in my environment. internal slack: https://star4.slack.com/archives/C05UHMNSE5C/p1726122855613459?thread_ts=1726120701.103249&cid=C05UHMNSE5C |
369fb12
to
fbec051
Compare
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.
I don't know why, but there are some unnecessary differences related to map
and so on. Please follow the latest main.
Signed-off-by: Yoshihiro Kogure <[email protected]>
Signed-off-by: Yoshihiro Kogure <[email protected]>
Signed-off-by: Yoshihiro Kogure <[email protected]>
Signed-off-by: Yoshihiro Kogure <[email protected]>
Signed-off-by: Yoshihiro Kogure <[email protected]>
Signed-off-by: Yoshihiro Kogure <[email protected]>
Signed-off-by: Yoshihiro Kogure <[email protected]>
Signed-off-by: Yoshihiro Kogure <[email protected]>
1fb4db9
to
bbf9187
Compare
rebased on main to fix commits |
This reverts commit 369fb12. Signed-off-by: Yoshihiro Kogure <[email protected]>
Signed-off-by: Yoshihiro Kogure <[email protected]>
683d31d
to
952420d
Compare
Signed-off-by: Yoshihiro Kogure <[email protected]>
Description
Course Selection
Added several courses to accommodate various cases of data collection.
You can use following courses by setting COURSE_NAME to "eight_course", "u_shaped_return", "straight_line_positive" or "straight_line_negative" in
data_collecting_trajectory_publisher.py
.( Both "straight_line_positive" and "straight_line_negative" represent straight line courses, but the direction of travel of the course is reversed.)
Eight course
U-shaped course
Straight line course
Increased Frequency
There was a problem with the frequency dropping when plotting data counts in real time. This problem was mitigated via threading and Callback Groups.
Related links
Tests performed
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.