-
Notifications
You must be signed in to change notification settings - Fork 121
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
How to add a new factor to graph #53
Comments
It takes 3 steps to add a new factor to your estimator:
There are many factor implementation in GICI source codes, namely The wheel speed factor is similar to
Currently, we have defined 4 sensor base classes to conduct node operations towards factor graph, including Taking the
Taking the GNSS/INS loosely coupling estimator ( |
Thank you, I will try to implement it. |
Hello, I just realized you already implemented addRelativeAmbiguityResidualBlock, and I think TDCP can be implemented by modifying this residual. It seems to be based on a similar concept. What do you think about it? |
I'm sorry to tell you that this is not the case. The |
Hello thank you for the reply. |
I suggest two options. First, finalize the dual-antenna algorithm at outside and feed the attitude solution into gici through the
(1) Encode your attitude data into any stream message format. If you do not have proper message format, you can use our extended NMEA format, see (2) Instantiate a formator from (3) Handle the (4) Extend (5) Configure yaml file to connect streamer, the new instantiated formator, and the LC estimator.
(1) The observations from other antennas are the same as the major or reference station antennas. So they can be fed into gici directly by default streamers and formators. (2) The corresponding (3) Re-write (4) If you want to add an new estimator type to handle multi-antenna problem: Extend the |
Hello, Thank you very much for all the information you've provided and for your help so far. I apologize for taking more of your time, but I would like to add QZSS to the project as well. I have been following this approach: But unfortunately, the program crashes. Could you let me know if there are any related commits or suggest a method to address this issue? Thank you! |
I think all the modifications you have done are necessary, but i'm not sure if there are still other codes should be modified. I suggest you to run the code in debug mode to check out why it crashes. Although the debug mode runs very slow because of the Eigen library, but it does not matter if you are using the GNSS-only estimator, since it will not cause crash because of multi-sensor time-alignment issue. |
Hello,
Thank you for your excellent work on this project.
I would like to ask how to add new factors to the graph, such as wheel speed or TDCP (Time Differences of Carrier Phase). What parts of the source code should be modified to incorporate these factors?
Thank you.
The text was updated successfully, but these errors were encountered: