Skip to content

Commit

Permalink
fix deg/rad mistake in :move-to
Browse files Browse the repository at this point in the history
  • Loading branch information
knorth55 committed Nov 8, 2019
1 parent c2a84ed commit d8964fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pr2eus/robot-interface.l
Original file line number Diff line number Diff line change
Expand Up @@ -1424,7 +1424,7 @@ Return value is a list of interpolatingp for all controllers, so (null (some #'i
(if (< diff-len 200) ;; move_base thre = 200mm
(let* ((x (/ (elt (send diff :worldpos) 0) 1000))
(y (/ (elt (send diff :worldpos) 1) 1000))
(d (elt (car (rpy-angle (send diff :worldrot))) 0)))
(d (rad2deg (elt (car (rpy-angle (send diff :worldrot))) 0))))
(unless (send self :go-pos-unsafe x y d)
(setq move-base-goal-msg nil)
(return-from :move-to-wait nil)))
Expand Down

0 comments on commit d8964fd

Please sign in to comment.