Skip to content

Commit

Permalink
[jsk_unitree_startup] Fix body pose to enavle up-and-down motion
Browse files Browse the repository at this point in the history
  • Loading branch information
a-ichikura committed May 23, 2022
1 parent 8b0c8ef commit cbc460d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ def body_pose(self, pose):
q = pose.orientation
msg = HighCmd()
msg.mode = 1
msg.bodyHeight = pose.position.z
msg.euler = tf.transformations.euler_from_quaternion([q.x, q.y, q.z, q.w]) # RPY
self.highlevel_pub.publish(msg)
return
Expand Down

0 comments on commit cbc460d

Please sign in to comment.