-
Notifications
You must be signed in to change notification settings - Fork 682
uorb_listener add flush and getinfo. #3368
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
base: master
Are you sure you want to change the base?
Conversation
add get sensor device information based on topic. Signed-off-by: likun17 <likun17@xiaomi.com>
uorb/listener.c: Added flush function.
aurora:/ # uorb_listener -f sensor_accel_uncal,sensor_mag_uncal,sensor_aaa
Waited for 5 seconds without flush complete event. Giving up. err:25
Result:
Topic [sensor_mag_uncal0] flush: FAILURE. [-1]
Topic [sensor_accel_uncal0] flush: SUCCESS.
Total number of flush topics: 1/2
Signed-off-by: likun17 <likun17@xiaomi.com>
acassis
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Otpvondoiats please update the Documentation: https://nuttx.apache.org/docs/latest/applications/system/uorb/index.html#uorb-listener
uorb/listener:Added flush failure prompt information. Signed-off-by: likun17 <likun17@xiaomi.com>
5a8e5bd to
80dc7fb
Compare
Okay, it will be synced to the document shortly. |
|
@acassis hi,I've merged your comment into the last submission. |
Summary
1. Sensor Device Information Query (Commit: 81edbcf)
-ioption to retrieve and display sensor device information based on topic2. Sensor Flush Functionality (Commit: 415ed6c)
-foption to flush sensor driver data-fto-sto avoid conflictpoll()withPOLLPRIevents to wait forSENSOR_EVENT_FLUSH_COMPLETEnotification3. Flush Error Reporting Enhancement (Commit: c62dd40)
Impact
User Impact:
-i: Get sensor device information-f: Flush sensor data (previously used for file recording)-s: Record to file (moved from-f)-ffor file recording must switch to-sFunctionality Impact:
Build Impact:
system/uorb/listener.ccalloc()with proper cleanupDocumentation Impact:
Testing