-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tier 1 waypoints for gates. #14
Comments
Hi! The practice levels that we have distributed so far won't be used for qualification or competition rounds. Different gate configurations within the same general environments will be used for those. |
@arbaazkhan2 to answer the second part of your question:
gate_names_sorted_bad = sorted(client.simListSceneObjects("Gate.*"))
# In building 99, for example, gate_names_sorted_bad would be ['Gate0', 'Gate10_21', 'Gate11_23', 'Gate1_3', 'Gate2_5', 'Gate3_7', 'Gate4_9', 'Gate5_11', 'Gate6_13', 'Gate7_15', 'Gate8_17', 'Gate9_19']
# number after underscore is unreal garbage. and leading zeros are missing, so the following lines fix the same
gate_indices_bad = [int(gate_name.split('_')[0][4:]) for gate_name in gate_names_sorted_bad]
gate_indices_correct = sorted(range(len(gate_indices_bad)), key=lambda k:gate_indices_bad[k])
gate_names_sorted = [gate_names_sorted_bad[gate_idx] for gate_idx in gate_indices_correct]
gate_poses = [client.simGetObjectPose(gate_name) for gate_name in gate_names_sorted]
# gate_poses has a list of gates in the order of the track now! To reiterate what @ironclownfish said, yes, the current tracks are "training tracks". For quals, we'll have "test tracks". |
For Tier 1, are the gates/levels going to be fixed with what is provided in the example levels ?
If not is there going to be an API call that returns the pose of the next gate/all the gates ?
The text was updated successfully, but these errors were encountered: