one

Results 17 issues of one

https://dev.addbiomechanics.org/data/e013a4d2-683d-48b9-bfe5-83a0305caf87/Carter2023_Formatted_No_Arm/P003_split2

Following errors for [this data](https://github.com/keenon/nimblephysics/files/13035746/Subject33_4.zip) Traceback (most recent call last): File "/mnt/d/Local/AddBiom/AddBiomechanics/server/engine/src/engine.py", line 105, in main() File "/mnt/d/Local/AddBiom/AddBiomechanics/server/engine/src/engine.py", line 54, in main subject.run_kinematics_fit(DATA_FOLDER_PATH) File "/mnt/d/Local/AddBiom/AddBiomechanics/server/engine/src/subject .py", line 475, in run_kinematics_fit...

[Subject47.zip](https://github.com/keenon/nimblephysics/files/12910798/Subject47.zip)

I ran into this line of code when searching for functions. Not sure if it's a bug or this function is still being used. https://github.com/keenon/nimblephysics/blob/99cbc86ed34aca4b53f3670c771779fbd2487ca4/dart/biomechanics/DynamicsFitter.cpp#L201

https://github.com/keenon/nimblephysics/blob/bf5c5a174ef236c1a2fe3db9a810bdb87f403d53/dart/biomechanics/DynamicsFitter.cpp#L9656-L9661 Close this issue if I'm wrong but my understanding of DynamicFitter is that it can adapt to .mot files with different CoP units (e.g., mm or m). However, I...

[This function](https://github.com/keenon/nimblephysics/blob/bf5c5a174ef236c1a2fe3db9a810bdb87f403d53/dart/biomechanics/OpenSimParser.cpp#L715) failed to find the correct body-plate correspondence over the attached data. [report_error.zip](https://github.com/keenon/nimblephysics/files/11127859/report_error.zip) I'm not sure what the "forcePlates.corners" is. If it's CoP, then the bug might be in...

[readSkel function](https://github.com/keenon/nimblephysics/blob/b20d7b571b895b51e401f077a66bd44d7ebf6557/dart/biomechanics/SubjectOnDisk.cpp#L631) sets gravity vector. However, it does not set body scales, which are needed for forward kinematics and my loss functions. Based on [Nimble wiki](https://nimblephysics.org/docs/working-with-addbiomechanics-data.html#nimblephysics.biomechanics.SubjectOnDisk.readSkel), readSkel is used for...

This [b3d file](https://dev.addbiomechanics.org/data/e013a4d2-683d-48b9-bfe5-83a0305caf87/Camargo2021_Formatted_No_Arm/AB06_split0/) (and all the other files I tested) has force in many trials, but no GRF is returned by the function [getForcePlates](https://github.com/keenon/nimblephysics/blob/b20d7b571b895b51e401f077a66bd44d7ebf6557/stubs/_nimblephysics-stubs/biomechanics/__init__.pyi#L2712) using the following code: import nimblephysics...

I load subject GRF data as follows: subject = nimble.biomechanics.SubjectOnDisk(subject_path) frames: nimble.biomechanics.FrameList = subject.readFrames(trial_index, 0, trial_length, includeSensorData=False, includeProcessingPasses=True) try: first_passes: List[nimble.biomechanics.FramePass] = [frame.processingPasses[0] for frame in frames] except IndexError: print(f'{subject_name},...

In theory [this function](https://github.com/keenon/nimblephysics/blob/790084e6e1664635e07672d2b7cbf1529a98102d/dart/dynamics/Skeleton.cpp#L9553) should take care of joint angle wrapping, but it failed and caught by [this line](https://github.com/keenon/AddBiomechanics/blob/6c9f0340c8e6a503d15d778610b70b93720d073c/server/engine/src/trial.py#L410C38-L410C39). Here are [the files](https://drive.google.com/open?id=1v-dkXN9rNysx0AG9ZzwV6qxjnfoilTLU&usp=drive_fs) for reproducing this issue. Search "ERROR: Unwrapped...