Replies: 2 comments
-
Implementation approachCommon reader logic
If read sensor flag if equal to 0, then add stopEvent to queue. Sensor logicSTART:
EXIT Queue implementation
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Scenario file format
sensor - sensor flag taken from libsensor implementation |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Sensorhub sim-sensor
Testing of Phoenix-PIlot software stack is currently limited only to testing on hardware as there is no way to get sensor data without physical sensors. This issue present and idea of simulated sensors in sensorhub (later called simsensor) so that it will be possible to run and test EKF repetitively on test data.
Idea consist of implementing a simulated sensor for each sensor type with possibility of feeding it a file with time-series of data to output. The scenario file format will be designed so that file interpreters may be generalized as much as possible (with goal have as little file interpreter in each simulated sensor as possible).
Requirements
Requirements decomposition
1) Simsensor is a sensor implementation that mimics the behavior of specific sensor.
2) Each sensortype in sensorhub shall have its own simsensor implementation.
-s
argument as if it was a normal sensor<sensortype>_sim
, for exampleimu_sim
,baro_sim
etc.3) Simsensor shall not require any specific hardware setup.
4) Each simsensor shall accept a local scenario file that overrides the global one
timestamp,smooth?,fld1,fld2,...
Beta Was this translation helpful? Give feedback.
All reactions