Skip to content

Commit

Permalink
[hrpsys_ros_bridge_tutorials/euslisp/make-joint-min-max-table.l] Do n…
Browse files Browse the repository at this point in the history
…ot define :init-ending if robot-model's :define-min-max-table exists (euslisp/jskeus#428). This will fix the bug (start-jsk#508) because unnecessary :init-ending conflict is resolved.
  • Loading branch information
snozawa committed Apr 18, 2017
1 parent cfd0b27 commit 8dc1bda
Showing 1 changed file with 7 additions and 6 deletions.
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

0 comments on commit 8dc1bda

Please sign in to comment.