Skip to content

Commit

Permalink
fix baxter head end-coords
Browse files Browse the repository at this point in the history
  • Loading branch information
knorth55 committed Apr 23, 2023
1 parent d17dd26 commit 768a8eb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion euslisp/lib/baxter-vr-interface.l
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@
(let (coords)
(send tfl :wait-for-transform base-frame-id head-frame-id (ros::time 0) 0.1)
(setq coords (send tfl :lookup-transform base-frame-id head-frame-id (ros::time 0)))
(if coords (send coords :rotate pi/2 :y :world))
(if coords
(setq coords (make-coords :pos (send coords :worldpos)
:rpy (float-vector 0 pi/2 0))))
coords))
(:angle-vector (&rest args)
(send* robot-interface :angle-vector-raw args))
Expand Down

0 comments on commit 768a8eb

Please sign in to comment.