You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been using Unity Robotics Hub for my own robot. With the getPosition() function in for revolute joints, I realised the joint states I got were always close to zero. After checking the code in UrdfJointRevolute.cs, I found the following definition.
The states are tranformed from degree to radian. Although I am not sure if this is the case for all versions, as least in version 2020.2.0b9, the position from (ArticulationBody)unityJoint).jointPosition[xAxis] is already in radian, so they are transformed twice and therefore always close to zero.
It would be greatly appreciated if any members can verify if this is indeed a bug! Thanks in advance.
The text was updated successfully, but these errors were encountered:
HI,
I have been using Unity Robotics Hub for my own robot. With the
getPosition()
function in for revolute joints, I realised the joint states I got were always close to zero. After checking the code inUrdfJointRevolute.cs
, I found the following definition.The states are tranformed from degree to radian. Although I am not sure if this is the case for all versions, as least in version 2020.2.0b9, the position from
(ArticulationBody)unityJoint).jointPosition[xAxis]
is already in radian, so they are transformed twice and therefore always close to zero.It would be greatly appreciated if any members can verify if this is indeed a bug! Thanks in advance.
The text was updated successfully, but these errors were encountered: