-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
If you want to try to replicate this without the custom OpenSenseRT RPI image, it will not work. The ikSolver.addOrientationValuesToTrack method was removed in favor of the BufferedOrienationReference.putValues method. Until this PR, there were some problems for the API, but those should be fixed now. You should be able to run it with the following changes to the ik_streaming.py file:
# Was line 97
oRefs = osim.OrientationsReference(orientationsData)
# Is
oRefs = osim.BufferedOrientationsReference()
rowVecView = orientationsData.getNearestRow(0)
rowVec = osim.RowVectorRotation(rowVecView)
oRefs.putValues(0, rowVec)
# Was line 97 (actually line 154)
ikSolver.addOrientationValuesToTrack(time_s+dt, rowVec)
# Is
oRefs.putValues(time_s+dt, rowVec)I can make this into a PR.
Metadata
Metadata
Assignees
Labels
No labels