Skip to content

Commit

Permalink
Replace lower_bounds with gt_eq (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
sea-bass authored Mar 28, 2023
1 parent 89536aa commit 1c6ef48
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions src/pick_ik_parameters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,23 @@ pick_ik:
default_value: 0.0001,
description: "Gradient descent step size for joint perturbation",
validation: {
lower_bounds<>: [1.0e-12],
gt_eq<>: [1.0e-12],
}
}
gd_max_iters: {
type: int,
default_value: 100,
description: "Maximum iterations for local gradient descent",
validation: {
lower_bounds<>: [1],
gt_eq<>: [1],
}
}
gd_min_cost_delta: {
type: double,
default_value: 1.0e-12,
description: "Minimum change in cost function value for gradient descent",
validation: {
lower_bounds<>: [1.0e-64],
gt_eq<>: [1.0e-64],
}
}
# Cost functions and thresholds
Expand All @@ -38,71 +38,71 @@ pick_ik:
default_value: 0.001,
description: "Position threshold for solving IK, in meters",
validation: {
lower_bounds<>: [0.0],
gt_eq<>: [0.0],
},
}
orientation_threshold: {
type: double,
default_value: 0.001,
description: "Orientation threshold for solving IK, in radians",
validation: {
lower_bounds<>: [0.0],
gt_eq<>: [0.0],
},
}
approximate_solution_position_threshold: {
type: double,
default_value: 0.05,
description: "Position threshold for approximate IK solutions, in meters. If displacement is larger than this, the approximate solution will fall back to the initial guess",
validation: {
lower_bounds<>: [0.0],
gt_eq<>: [0.0],
},
}
approximate_solution_orientation_threshold: {
type: double,
default_value: 0.05,
description: "Orientation threshold for approximate IK solutions, in radians. If displacement is larger than this, the approximate solution will fall back to the initial guess",
validation: {
lower_bounds<>: [0.0],
gt_eq<>: [0.0],
},
}
cost_threshold: {
type: double,
default_value: 0.001,
description: "Scalar value for comparing to result of cost functions. IK is considered solved when all position/rotation/twist thresholds are satisfied and all cost functions return a value lower than this value.",
validation: {
lower_bounds<>: [0.0],
gt_eq<>: [0.0],
},
}
rotation_scale: {
type: double,
default_value: 0.5,
description: "The rotation scale for the pose cost function. Set to 0.0 to solve for only position",
validation: {
lower_bounds<>: [0.0],
gt_eq<>: [0.0],
},
}
center_joints_weight: {
type: double,
default_value: 0.0,
description: "Weight for centering cost function, >0.0 enables const function",
validation: {
lower_bounds<>: [0.0],
gt_eq<>: [0.0],
},
}
avoid_joint_limits_weight: {
type: double,
default_value: 0.0,
description: "Weight for avoiding joint limits cost function, >0.0 enables const function",
validation: {
lower_bounds<>: [0.0],
gt_eq<>: [0.0],
},
}
minimal_displacement_weight: {
type: double,
default_value: 0.0,
description: "Weight for minimal displacement cost function, >0.0 enables const function",
validation: {
lower_bounds<>: [0.0],
gt_eq<>: [0.0],
},
}
# Memetic IK specific parameters
Expand All @@ -111,7 +111,7 @@ pick_ik:
default_value: 1,
description: "Number of threads for memetic IK",
validation: {
lower_bounds<>: [1],
gt_eq<>: [1],
}
}
memetic_stop_on_first_solution: {
Expand All @@ -124,46 +124,46 @@ pick_ik:
default_value: 16,
description: "Population size for memetic IK",
validation: {
lower_bounds<>: [1],
gt_eq<>: [1],
}
}
memetic_elite_size: {
type: int,
default_value: 4,
description: "Number of elite members of memetic IK population",
validation: {
lower_bounds<>: [1],
gt_eq<>: [1],
}
}
memetic_wipeout_fitness_tol: {
type: double,
default_value: 0.00001,
description: "Minimum fitness must improve by this value or population will be wiped out",
validation: {
lower_bounds<>: [0.0],
gt_eq<>: [0.0],
}
}
memetic_max_generations: {
type: int,
default_value: 100,
description: "Maximum iterations of evolutionary algorithm",
validation: {
lower_bounds<>: [1],
gt_eq<>: [1],
}
}
memetic_gd_max_iters: {
type: int,
default_value: 25,
description: "Maximum iterations of gradient descent during memetic exploitation",
validation: {
lower_bounds<>: [1],
gt_eq<>: [1],
}
}
memetic_gd_max_time: {
type: double,
default_value: 0.005,
description: "Maximum time spent on gradient descent during memetic exploitation",
validation: {
lower_bounds<>: [0.0],
gt_eq<>: [0.0],
}
}

0 comments on commit 1c6ef48

Please # to comment.