Holds the options used for initializing the positional tracking fusion module. More...
Functions | |
bool | save (String filename, SERIALIZATION_FORMAT format=SERIALIZATION_FORMAT::JSON) const |
Saves the current set of parameters into a file to be reloaded with the load() method. More... | |
bool | load (String filename, SERIALIZATION_FORMAT format=SERIALIZATION_FORMAT::JSON) |
Loads a set of parameters from the values contained in a previously saved file. More... | |
bool | encode (String &serialized_content, SERIALIZATION_FORMAT format=SERIALIZATION_FORMAT::JSON) const |
Generate a JSON Object (with the struct type as a key) containing the serialized struct, converted into a string. More... | |
bool | decode (const String &serialized_content, SERIALIZATION_FORMAT format=SERIALIZATION_FORMAT::JSON) |
Fill the structure from the serialized json object contained in the input string. More... | |
bool | operator== (const PositionalTrackingFusionParameters ¶m1) const |
Comparison operator ==. More... | |
bool | operator!= (const PositionalTrackingFusionParameters ¶m1) const |
Comparison operator !=. More... | |
Attributes | |
bool | enable_GNSS_fusion = false |
This attribute is responsible for enabling or not GNSS positional tracking fusion. More... | |
GNSSCalibrationParameters | gnss_calibration_parameters |
Control the VIO / GNSS calibration process. More... | |
Transform | base_footprint_to_world_transform |
Position and orientation of the base footprint with respect to the user world. This transform represents a basis change from base footprint coordinate frame to user world coordinate frame. More... | |
Transform | base_footprint_to_baselink_transform |
Position and orientation of the base footprint with respect to the baselink. This transform represents a basis change from base footprint coordinate frame to baselink coordinate frame. More... | |
bool | set_gravity_as_origin = false |
Whether to override 2 of the 3 rotations from base_footprint_to_world_transform using the IMU gravity. More... | |
Holds the options used for initializing the positional tracking fusion module.
bool save | ( | String | filename, |
SERIALIZATION_FORMAT | format = SERIALIZATION_FORMAT::JSON |
||
) | const |
Saves the current set of parameters into a file to be reloaded with the load() method.
filename | : Name of the file which will be created to store the parameters (extension '.yml' will be added if not set). |
bool load | ( | String | filename, |
SERIALIZATION_FORMAT | format = SERIALIZATION_FORMAT::JSON |
||
) |
Loads a set of parameters from the values contained in a previously saved file.
filename | : Path to the file from which the parameters will be loaded (extension '.yml' will be added at the end of the filename if not detected). |
bool encode | ( | String & | serialized_content, |
SERIALIZATION_FORMAT | format = SERIALIZATION_FORMAT::JSON |
||
) | const |
Generate a JSON Object (with the struct type as a key) containing the serialized struct, converted into a string.
serialized_content | output string containing the JSON Object |
format | serialization format, default is JSON |
bool decode | ( | const String & | serialized_content, |
SERIALIZATION_FORMAT | format = SERIALIZATION_FORMAT::JSON |
||
) |
Fill the structure from the serialized json object contained in the input string.
serialized_content | input string containing the JSON Object |
format | serialization format, default is JSON |
bool operator== | ( | const PositionalTrackingFusionParameters & | param1 | ) | const |
Comparison operator ==.
PositionalTrackingFusionParameters | to compare |
bool operator!= | ( | const PositionalTrackingFusionParameters & | param1 | ) | const |
Comparison operator !=.
PositionalTrackingFusionParameters | to compare |
bool enable_GNSS_fusion = false |
This attribute is responsible for enabling or not GNSS positional tracking fusion.
GNSSCalibrationParameters gnss_calibration_parameters |
Control the VIO / GNSS calibration process.
Transform base_footprint_to_world_transform |
Position and orientation of the base footprint with respect to the user world. This transform represents a basis change from base footprint coordinate frame to user world coordinate frame.
Transform base_footprint_to_baselink_transform |
Position and orientation of the base footprint with respect to the baselink. This transform represents a basis change from base footprint coordinate frame to baselink coordinate frame.
bool set_gravity_as_origin = false |
Whether to override 2 of the 3 rotations from base_footprint_to_world_transform using the IMU gravity.