Skip to content

Commit

Permalink
[Ninja][morphing demo] chnage some parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
sugihara-16 committed Dec 28, 2024
1 parent 08136c5 commit 3f17caf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions robots/ninja/script/demos/four_mod_morphing_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@
desire_att.pitch = 0.7
elif demo_mode == 1: # spiral
rospy.loginfo('mode 1')
desire_joint.position = [0.0, -1.0,-0.6,-1.5,0.8,-1.5,1.0]
desire_joint.position = [0.0, -1.0,-0.6,-1.5,0.8,-1.5,0.7]
desire_att.pitch = -0.2
desire_att.yaw = math.pi/2.0
elif demo_mode == 2: # circle
rospy.loginfo('mode 2')
desire_joint.position = [1.57,-1.57,0.0,-1.57,0.0,-1.57,0.0]
desire_joint.position = [1.57,1.57,0.0,1.57,0.0,1.57,0.0]
# elif demo_mode == 2: # mode model
# rospy.loginfo('mode 2')
# desire_joint.position = [0.0, half_pi, -1.5, 0.0, 0.0, half_pi]
Expand Down

0 comments on commit 3f17caf

Please sign in to comment.