Skip to content

Commit

Permalink
in :angle-vector, default of min-time is 1.0. It slowes down frequenc…
Browse files Browse the repository at this point in the history
…y of update in :eus-mannequin-mode
  • Loading branch information
soonhyo committed Dec 10, 2024
1 parent 16cb8fa commit 6d63235
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pr2eus/robot-interface.l
Original file line number Diff line number Diff line change
Expand Up @@ -1331,7 +1331,7 @@ Return value is a list of interpolatingp for all controllers, so (null (some #'i
)
)
(:eus-mannequin-mode
(tmp-robot limb &key ((:time tm) 1000) ((:viewer vwr) *viewer*))
(tmp-robot limb &key ((:time tm) 1000) ((:viewer vwr) *viewer*) ((:min-time mtm) 1.0))
"Euslisp version mannequin mode.
In every loop, :angle-vector is continuously updated.
If you want to stop this mode, press Enter.
Expand All @@ -1345,7 +1345,7 @@ Return value is a list of interpolatingp for all controllers, so (null (some #'i
(send self :state)
(send tmp-robot limb :angle-vector (send robot limb :angle-vector))
(send vwr :draw-objects)
(send self :angle-vector (send tmp-robot :angle-vector) tm)
(send self :angle-vector (send tmp-robot :angle-vector) tm controller-type 0 :min-time mtm)
(send self :wait-interpolation)
)
(warn ";; Stop Euslisp mannequin mode.~%")
Expand Down

0 comments on commit 6d63235

Please sign in to comment.