Features added for the flycontrol project - #305
Draft
sibocw wants to merge 6 commits into
Draft
Conversation
sibocw
commented
Jul 5, 2026
Contributor
- Add additional getters/setters for the GPUSimulation interface
…h gap Verified the split introduces no new body/DOF (trochanter and femur remain two geoms on one rigid body), conserves the pre-split mass, and gets distinct segmentation ids -- and that this holds with compiler/fusestatic both true and false (the tiny fusestatic-dependent trajectory drift observed is pre-existing and unrelated to this split). Separately verified that splitting does not change simulated kinematics at all: compiled body mass/inertia/CoM and simulated qpos trajectories (free-fall and ground-contact) are bit-identical to the pre-split fused geom, both with fusestatic on and off. MeshType.FULLSIZE was broken by the original split commit: only the simplified_max2000faces mesh set got split trochanter/femur meshes, so loading FULLSIZE raised FileNotFoundError. Added scripts/dev/split_trochanterfemur_mesh.py, which recovers the exact cut plane already used for the simplified split (from the shared seam vertices between the committed trochanter/femur pieces) and applies it to the fullsize fused mesh -- validated end-to-end (loads, compiles, simulates, and renders with distinct segmentation ids). Publishing the new fullsize meshes to S3 and bumping NEUROMECHFLY_FULLSIZE_MESH_DIR is a manual step outside this repo, so the existing test is marked xfail with a reason pointing at the script, and the docstring notes the gap. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.