Ola, amigos.
I working in markless mocap project and we are using opensim to inverse kinematics. He have set the IK task in python and we are able to get the motion file (.mot) as expected. However, we need the marker positions (the .trc kind of thing) after the IK tool been applied and we have no clue how to get it, neither by the python API or the opensim GUI.
If someone can help us, it would be really nice. Thanks in advance
How to get marker coordinates from motion file
- conrado torres
- Posts: 1
- Joined: Fri Mar 20, 2020 11:41 am
- Gilles Dusfour
- Posts: 2
- Joined: Sat Jan 18, 2020 2:27 am
Re: How to get marker coordinates from motion file
Hello Conrado,
I'm facing the same issue.
Did you find a solution in python?
Regards,
Gilles
I'm facing the same issue.
Did you find a solution in python?
Regards,
Gilles
- Gilles Dusfour
- Posts: 2
- Joined: Sat Jan 18, 2020 2:27 am
Re: How to get marker coordinates from motion file
I found a solution in python scripting for classic IK, you need to add the following line to your inverse_kinematic.py script :
ik_tool.set_report_marker_locations(True)
I'm trying to apply this technic for IMU inverse kinematic to follow the coordinates of specific points (markers) but I didn't find any solution yet.
Anyone can help me please?
Regards,
Gilles
ik_tool.set_report_marker_locations(True)
I'm trying to apply this technic for IMU inverse kinematic to follow the coordinates of specific points (markers) but I didn't find any solution yet.
Anyone can help me please?
Regards,
Gilles
- Jeuhee Lee
- Posts: 2
- Joined: Tue Aug 15, 2023 3:28 am
Re: How to get marker coordinates from motion file
hello, I had got same issue.
Maybe it can solve like this in opensim GUI.
first, load .trc(marker) file by 'file - Preview experimental Data' .
second, Right-click the load data on the side bar then the menu will pop up.
third, select the 'transform'
You can change the marker coordinates and then save the file.
I solved this problem like this, then I want It could be helpful for you.
Maybe it can solve like this in opensim GUI.
first, load .trc(marker) file by 'file - Preview experimental Data' .
second, Right-click the load data on the side bar then the menu will pop up.
third, select the 'transform'
You can change the marker coordinates and then save the file.
I solved this problem like this, then I want It could be helpful for you.