Skip to content

Commit

Permalink
A bit better jump
Browse files Browse the repository at this point in the history
  • Loading branch information
S-Dafarra committed May 29, 2024
1 parent 3fb6bff commit aff7381
Showing 1 changed file with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ def get_planner_settings(terrain: hp_rp.TerrainDescriptor) -> walking_settings.S
y_length=0.1,
top_left_point_position=np.array([0.116, 0.05, 0.0]),
)
settings.planar_dcc_height_multiplier = 10.0
settings.planar_dcc_height_multiplier = 8.0
settings.dcc_gain = 150.0
settings.dcc_epsilon = 1.0
settings.static_friction = 0.9
settings.maximum_velocity_control = [5.0, 5.0, 10.0]
settings.maximum_force_derivative = [400.0, 400.0, 500.0]
settings.maximum_velocity_control = [2.0, 2.0, 10.0]
settings.maximum_force_derivative = [400.0, 400.0, 1000.0]
settings.maximum_angular_momentum = 10.0
settings.minimum_com_height = 0.1
settings.minimum_feet_lateral_distance = 0.1
Expand Down Expand Up @@ -560,16 +560,16 @@ def get_references(

guess = first_part_guess + second_part_guess + third_part_guess + fourth_part_guess

print("Press [Enter] to visualize the initial guess.")
input()

visualizer.visualize(
states=guess,
timestep_s=planner_settings.time_step,
time_multiplier=1.0,
save=True,
file_name_stem="humanoid_single_jump_flat_guess",
)
# print("Press [Enter] to visualize the initial guess.")
# input()
#
# visualizer.visualize(
# states=guess,
# timestep_s=planner_settings.time_step,
# time_multiplier=1.0,
# save=True,
# file_name_stem="humanoid_single_jump_flat_guess",
# )

print("Starting the planner...")

Expand Down

0 comments on commit aff7381

Please sign in to comment.