Skip to content

Commit

Permalink
Merge pull request #786 from eisoku9618/update-auto-balancer-param
Browse files Browse the repository at this point in the history
update AutoBalancerParam according to https://github.com/fkanehiro/hr…
  • Loading branch information
k-okada committed Aug 20, 2015
2 parents 19f388b + 3baa489 commit 262a9e0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion hrpsys_ros_bridge/euslisp/rtm-ros-robot-interface.l
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,8 @@
graspless-manip-reference-trans-pos graspless-manip-reference-trans-rot
transition-time
zmp-transition-time
adjust-footstep-transition-time)
adjust-footstep-transition-time
leg-names)
(let* ((current-param (send self :get-auto-balancer-param))
(param (instance hrpsys_ros_bridge::Openhrp_AutoBalancerService_AutoBalancerParam
:init
Expand Down Expand Up @@ -975,6 +976,10 @@
(if adjust-footstep-transition-time
adjust-footstep-transition-time
(send current-param :adjust_footstep_transition_time))
:leg_names
(if leg-names
(mapcar #'(lambda (x) (format nil "~A" (string-downcase x))) leg-names)
(send current-param :leg_names))
)))
(send self :autobalancerservice_setautobalancerparam :i_param param)))
(:abc-footstep->eus-footstep
Expand Down

0 comments on commit 262a9e0

Please sign in to comment.