Skip to content

Commit

Permalink
Merge pull request #26 from a-ichikura/unitree
Browse files Browse the repository at this point in the history
[jsk_unitree_startup] Fix body pose to enable up-and-down motion
  • Loading branch information
k-okada authored May 23, 2022
2 parents 41565ff + cbc460d commit 66fd91e
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 66fd91e

Please sign in to comment.