Prevent goal oscillation and unintended differential drive arcs
This commit is contained in:
@@ -15,7 +15,7 @@ parser = argparse.ArgumentParser()
|
||||
parser.add_argument("--output", type=Path, required=True)
|
||||
parser.add_argument("--reservation", type=Path, required=True)
|
||||
parser.add_argument("--case", action="append", dest="case_ids")
|
||||
parser.add_argument("--profile", choices=("control", "sweep"), default="control")
|
||||
parser.add_argument("--profile", choices=("control", "sweep", "transition"), default="control")
|
||||
parser.add_argument("--contact-sample-hz", type=int, default=0, choices=(0, 1, 5, 10, 60))
|
||||
args = parser.parse_args()
|
||||
receipt = json.loads(args.reservation.read_text(encoding="utf-8-sig"))
|
||||
@@ -40,6 +40,9 @@ from k1link.simulation.ai_polygon.robots import select_robot # noqa: E402
|
||||
from k1link.simulation.ai_polygon.run_inputs import legacy_run_inputs # noqa: E402
|
||||
from k1link.simulation.ai_polygon.run_robot import configure_robot # noqa: E402
|
||||
|
||||
if args.profile == "transition":
|
||||
from control_qualification import TRANSITION_PHASES as PHASES
|
||||
|
||||
if args.profile == "sweep":
|
||||
from sweep_qualification import CRITERIA, PHASES, SCHEMA
|
||||
from sweep_qualification import phase_metrics as sweep_metrics
|
||||
|
||||
Reference in New Issue
Block a user