Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about can_bus? #21

Open
zhjw0927 opened this issue Oct 11, 2024 · 2 comments
Open

about can_bus? #21

zhjw0927 opened this issue Oct 11, 2024 · 2 comments

Comments

@zhjw0927
Copy link

zhjw0927 commented Oct 11, 2024

hello, What is the meaning of the variable 'can_bus' name?

In actual operation, the following phenomena are observed. After the four properties of the quaternion are assigned to the array, only the first property value is actually copied:

can_bus = np.zeros(18)
rotation = Quaternion._from_matrix(np.array(info['pose']['rotation']))
can_bus[:3] = info['pose']['translation']
can_bus[3:7] = rotation 

print(rotation) ------> Quaternion(0.7405030732851444, 0.004200992255077698, 0.01887259332437053, -0.6717747951066204)

print(can_bus) -------> array([6.65756166e+03, 1.83486642e+03, 5.96497427e+01, 7.40503073e-01,
       7.40503073e-01, 7.40503073e-01, 7.40503073e-01, 0.00000000e+00,
       0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
       0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
       0.00000000e+00, 0.00000000e+00])

Is this expected? or Is it pyquaternion library version issue? Thank you!

@sephyli
Copy link
Contributor

sephyli commented Oct 11, 2024 via email

@zhjw0927
Copy link
Author

hello, please one more question. OpenLaneV2 provides only the image domain gt of the traffic element. Is this label sufficient for the task of topo relationship prediction, or is there no way to make BEV position based on argoverse data?
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants