feat: add IMU data in CAMM as experimental feature #694
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes significant changes to the
mapillary_tools
package, primarily focused on enhancing the handling and processing of telemetry data. The most important changes are the introduction of new telemetry data types, refactoring of existing functions to support these new types, and updates to various modules to integrate the new telemetry data handling.Telemetry Data Handling Enhancements:
mapillary_tools/camm/camm_builder.py
: Refactored to support new telemetry data types (AccelerationData
,GyroscopeData
,MagnetometerData
) and updated functions to handle these types. This includes the addition of theTelemetryMeasurement
union type and the_multiplex
function for combining different telemetry measurements. [1] [2] [3] [4] [5]mapillary_tools/camm/camm_parser.py
: Added parsing support for new telemetry data types and updated theextract_points
andfilter_points_by_elst
functions to handle these types. Introduced theextract_telemetry_data
function to extract all telemetry data from a CAMM video. [1] [2] [3] [4] [5]Integration of Telemetry Data Types:
mapillary_tools/geotag/gpmf_parser.py
: Updated to replace the old IMU data types with the new telemetry data types. This includes changes in theTelemetryData
class and the_extract_points_from_samples
function. [1] [2] [3] [4] [5] [6]mapillary_tools/telemetry.py
: Introduced new telemetry data classes (TelemetryMeasurement
,AccelerationData
,GyroscopeData
,MagnetometerData
) to replace the old IMU data classes.