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

Do not define :init-ending if robot-model's :define-min-max-table exists. #510

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions hrpsys_ros_bridge_tutorials/euslisp/make-joint-min-max-table.l
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,13 @@
(with-open-file
(f path :direction :output :if-exists :append)
(format f "(defmethod ~A~%" (send (class robot) :name))
(format f " (:init-ending~%")
(format f " ()~%")
(format f " (prog1~%")
(format f " (send-super :init-ending)~%")
(format f " (send self :define-min-max-table)~%")
(format f " ))~%")
(unless (assoc :define-min-max-table (send robot-model :methods))
(format f " (:init-ending~%")
(format f " ()~%")
(format f " (prog1~%")
(format f " (send-super :init-ending)~%")
(format f " (send self :define-min-max-table)~%")
(format f " ))~%"))
(format f " (:define-min-max-table~%")
(format f " ()~%")
(labels
Expand Down