Skip to content

Commit

Permalink
Allow initial av in angle-vector-sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
pazeshun committed Dec 6, 2016
1 parent 59f3e8a commit acf6d64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jsk_baxter_robot/baxtereus/baxter-interface.l
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,10 @@
(send self :angle-vector-sequence-raw (list av) (list tm) ctype start-time :scale scale :min-time min-time))
(:angle-vector-sequence-raw (avs &optional (tms :fast) (ctype controller-type) (start-time 0)
&key (scale 2.2) (min-time 0.05) &allow-other-keys)
;; force add current position to the top of avs
(if (atom tms) (setq tms (list tms)))
(setq ctype (or ctype controller-type)) ;; use default if ctype is nil
(send-super :angle-vector-sequence avs tms ctype start-time :scale scale :min-time min-time))
;; if first tm of tms is zero, that means time_from_start of first trajectory point will be zero
(send-super :angle-vector-sequence avs tms ctype start-time :scale scale :min-time min-time :allow-initial-av t))
(:angle-vector
(av &optional tm (ctype controller-type) (start-time 0) &rest args
&key (move-arm :arms) (start-offset-time 0.01) (clear-velocities t) &allow-other-keys)
Expand Down

0 comments on commit acf6d64

Please sign in to comment.