Git Product home page Git Product logo

Comments (3)

pariterre avatar pariterre commented on August 25, 2024

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.

jfslin avatar jfslin commented on August 25, 2024

@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.

pariterre avatar pariterre commented on August 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.