Skip to content

Commit

Permalink
Merge pull request #1101 from Naoki-Hiraoka/fix-cmd-vel
Browse files Browse the repository at this point in the history
  • Loading branch information
k-okada committed May 10, 2021
2 parents ceb1efc + 6ba2bed commit fe1c671
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hrpsys_ros_bridge/euslisp/rtm-ros-robot-interface.l
Original file line number Diff line number Diff line change
Expand Up @@ -1461,7 +1461,7 @@
))
(:go-velocity
(vx vy vth)
"Call goVelocity."
"Call goVelocity. vx[m/s], vy[m/s], and vth[deg/s]"
(send self :autobalancerservice_goVelocity :vx vx :vy vy :vth vth))
(:go-stop
()
Expand Down Expand Up @@ -1647,14 +1647,14 @@
(send self :go-velocity
(* vel-x-ratio (send (send msg :linear) :x))
(* vel-y-ratio (send (send msg :linear) :y))
(* vel-th-ratio (send (send msg :angular) :z)))
(* vel-th-ratio (rad2deg (send (send msg :angular) :z))))
)
(:cmd-vel-mode
()
"Walk with subscribing /cmd_vel topic."
(send self :start-cmd-vel-mode)
(send self :go-velocity 0 0 0)
(do-until-key
(send self :go-velocity 0 0 0)
(ros::spin-once)
(ros::sleep)
)
Expand Down

0 comments on commit fe1c671

Please sign in to comment.