Description
Describe the problem
I want to do sensor fusion with inputs based on OSI. The inputs would have been multiple sensors with type osi3::SensorData
(with moving_object
in it) and data of the host vehicle where I planned to use the type osi3::HostVehicleData
with location.velocity
and location.acceleration
(no position has to be set as I do not need that)
At the description all data of HostVehicleData is stated as:
All coordinates and orientations are relative to the global ground truth coordinate system.
It also says that the field osi3::HostVehicleData::location
is from GPS/GNSS/INS and therefore it is of course relative to some global (ground truth) coordinate system.
For my usecase it would be beneficial if there is a field which gives the velocity and acceleration relative to the host vehicle coordinate system. For me this seems also more the natural approach because in real world, the velocity and acceleration would often be measured by a wheel spin sensor and IMU, respectively.
Describe what you have already tried
All velocities and acceleration related to the host vehicle seem to be relative to global (ground truth) coordinate systems.
However, I am also unsure at osi3::SensorData::host_vehicle_location
(documentation) what this should mean:
The parent frame of host_vehicle_location is the sensor frame.
At osi3::BaseMoving
(documentation) the frame seems then to be different again, which confuses me:
All coordinates and orientations from ground truth objects are relative to the global ground truth frame. All coordinates and orientations from detected objects are relative to the host vehicle frame (see: MovingObject vehicle reference point).
I also checked a future extension of host vehicle data in issue #350 but here it also looks like the velocity and acceleration is relative to a global (ground truth) coordinate system.
Describe your research
- Checked documentation of
osi3::HostVehicleData
(documentation) - Checked documentation of
osi3::SensorData::host_vehicle_location
(documentation) - Checked documentation for other matching fields
- searched other similar issues and found osi_vehicle: A deeper description of a vehicle #350 which does not solve my problem
Ask your question
So my questions are now:
- What should be used for sensor fusion as input of host vehicle velocity and acceleration?
- Is velocity and acceleration of the host vehicle really never given relative to the host vehicle coordinate system?
- How would sensors like IMU and wheel spin sensor be included in OSI descriptions? (there seems no matching field in
osi3::SensorData
)
Many thanks in advance!
Additional context
none