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

New to symforce #338

Closed
BenedictChannn opened this issue May 23, 2023 · 3 comments
Closed

New to symforce #338

BenedictChannn opened this issue May 23, 2023 · 3 comments

Comments

@BenedictChannn
Copy link

Hi, I am new to this topic and currently exploring the use of SymForce library and would like some clarification on the use of it.

  1. In the example on the robot 3D localization, the generate function generates a C++ code which has faster runtime. How do I then proceed to use this C++ code to solve the localization problem?

  2. The generated .h header files all seem to include sym/pose3.h but I can't seem to find the path for pose3.h.

I am still very new to this and would appreciate some help on these. Also, is there anyone that I can contact (email) to gain a deeper understanding on this library and its applications? Thanks and have a great week ahead!

@sudo-robot-destroy
Copy link

This is related to #209

@BenedictChannn
Copy link
Author

Thanks for the prompt response. I managed to solve my second issue.

For the first issue, is anyone from skydio or the community able to roughly explain/ go through the steps of solving the localization problem?

  • What do we do with the generated header files to solve the localization problem in a faster runtime?
  • Are we not able to solve the localization problem normally without the code generation portion?

I would appreciate any help on this!

@ryan-brott-skydio
Copy link
Collaborator

What do we do with the generated header files to solve the localization problem in a faster runtime?

You can use them with the C++ optimization API (e.g., here and here).

Are we not able to solve the localization problem normally without the code generation portion?

Yes, that's what main() does in this file.

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

4 participants