Skip to content

Commit

Permalink
fix bug in baxter-vive-interface
Browse files Browse the repository at this point in the history
  • Loading branch information
knorth55 committed Apr 23, 2023
1 parent 768a8eb commit 212a769
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions euslisp/lib/baxter-vive-interface.l
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
(send self :set-val 'menu-wait-count 5)
(send self :set-val 'trackpad-wait-count 5)
(send self :set-val 'grip-wait-count 5)))
(:get-hmd->vive-coords (arm)
(let* ((coords (send-super :get-hmd->vive-coords arm))
(bvive->hmd-coords (send self :get-bvive->hmd-coords))
(:get-hmd->controller-coords (arm)
(let* ((coords (send-super :get-hmd->controller-coords arm))
(vrbase->hmd-coords (send self :get-vrbase->hmd-coords))
(rpy-angle
(if bvive->hmd-coords (car (send bvive->hmd-coords :rpy-angle)))))
(if vrbase->hmd-coords (car (send vrbase->hmd-coords :rpy-angle)))))
(if (and coords rpy-angle)
(progn
(setq coords
Expand Down

0 comments on commit 212a769

Please sign in to comment.