Hello!
I am getting Q from a mot file produced by inverse kinematics. The values are given in degrees. I just wanted to be sure that when I populate the state using the state.setQ(Q) method [in python], it actually waits for degrees and not radian.
If it waits for radian, is there a function that converts them to the proper units?
Thanks!
Units for setQ [SOLVED]
- Benjamin Michaud
- Posts: 31
- Joined: Mon May 03, 2010 6:35 am
Units for setQ [SOLVED]
Last edited by Benjamin Michaud on Thu Oct 25, 2018 3:20 pm, edited 1 time in total.
- Christopher Dembia
- Posts: 506
- Joined: Fri Oct 12, 2012 4:09 pm
Re: Units for setQ
Rotational generalized coordinates should be in radians. You can use Model.getSimbodyEngine().convertDegreesToRadians().