symforce-org / symforce

Fast symbolic computation, code generation, and nonlinear optimization for robotics

Home Page:https://symforce.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New to symforce

BenedictChannn opened this issue · comments

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!

This is related to #209

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!

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.