Comments (3)
Hi!
@jfslin
visualize the c3d file markers
For your first question, it is possible to show experimental markers, but only programmatically (I did not add the button yet) using the load_experimental_markers
to which you can pass the path to a C3D file or the marker in a Pyomeca compatible format.
marker names, both of the ones on the model itself, as well as my c3d file?
It is unfortunately currently impossible to show the names of the markers
Also, is there a link to bioviz documentations somewhere? I didn't notice a link when i went through the readme page
Not really as it is more an interface than an actual library... We are planning to rewrite the core in C++ to make it faster..
I can see in the documentation that I can calculate the marker positions manually using biorbd.rigidbody.markers and calculate my RMSE, but just want to make sure that this isn't already being calculated - maybe the Kalman filter residual?
My first thought was what you just did, but you are right, I think the Kalman filter residual is equivalent, but probably squared (as it does not make sense to compute the square root while performing the algorithm
Hope this answers your questions!
from bioviz.
@pariterre thank you for the tips.
- 'load_experimental_markers` worked great
- I was able to get extract the marker positions from
model.markers(q)
and calculate the Euclidean distance manually
My remaining question: I was hoping for marker names so I can make sure the proper c3d marker is being associated to the model marker after performing Kalman IK. Are there any other features that might be possibly useful? Is there any way to draw a line between the model marker and the c3d marker? Or have them to be different colours?
Thank you.
from bioviz.
Hi @jfslin
There is currently no way to have separate colors for each markers, but it would be an relatively easy fix to make (if you follow the path of "marker_colors" you could see that you basically just have to replace the value by a list and slice the value with [].
For the marker names, it is possible to fetch them from model.markerNames()
. Again, there is currently no way to print them on screen though..
from bioviz.
Related Issues (20)
- Add reaction force HOT 2
- Add event
- Add specialized format to load
- Error when no marker defined in bioMod HOT 2
- Convert SpatialVector into experimental_forces HOT 2
- Display a general independent basis and a dynamic view change along axes
- Display the gravity vector HOT 2
- `conda install -c conda-forge bioviz` fails in Python3.10 with error `ResolvePackageNotFound: - python=3.1` HOT 3
- How to upgrade all python packages with conda install HOT 3
- Export videos in .mpeg4 HOT 7
- import bioviz error HOT 5
- Cannot clip Q to clipboard HOT 2
- error after compiled biorbd HOT 3
- Dimensions for movement file HOT 3
- New release needed ? HOT 1
- bioviz is getting slow because of a memory leak ?? HOT 1
- Playback of motion with time steps HOT 2
- bug whan show_gravity_vector=False HOT 1
- Gravity vector error when gravity is zero
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bioviz.