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

is the relative pose computation correct? #39

Open
ziming-liu opened this issue Sep 11, 2021 · 1 comment
Open

is the relative pose computation correct? #39

ziming-liu opened this issue Sep 11, 2021 · 1 comment

Comments

@ziming-liu
Copy link

    groundtruth_sequence[1:] = groundtruth_sequence[1:] - groundtruth_sequence[0] # get relative pose w.r.t. the first frame in the sequence 

I saw you got the relative pose by minus operation, but shouldn't we got the relative pose by times operation of two absolute pose?

such as 2T1 = inv(wT2) dot (wT1)

@ztysdu
Copy link

ztysdu commented Nov 22, 2022

I am also confused about this problem before.But we can look at test.py
# use only last predicted pose in the following prediction last_pose = predict_pose_seq[-1]#[6] for i in range(len(last_pose)): last_pose[i] += answer[-1][i] # normalize angle to -Pi...Pi over y axis last_pose[0] = (last_pose[0] + np.pi) % (2 * np.pi) - np.pi answer.append(last_pose.tolist()) # print("answerlen",len(answer))
ground truth and the output of the model are consistent.So,it is right.

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