Otpvondoiats opened a new pull request, #4088:
URL: https://github.com/apache/nuttx-apps/pull/4088

   *Note: Please adhere to [Contributing 
Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).*
   ## Summary
   
   * Add `orb_unlink()` / `orb_unlink_multi()` to remove a user topic node, and 
`uorb_listener -k` to call it.
   * Lock the stream in `orb_info()` / `orb_fprintf()` so that a topic sample 
is not mixed with output from other threads.
   * uorb_listener: print the time of flush and info requests, and keep the 
poll index aligned with the topic list when a subscription fails.
   * uorb_unit_test:
     * unlink the test topics after each test;
     * close subscriptions on failure;
     * initialize samples before publishing (clang 
`-Wuninitialized-const-pointer`);
     * run the queue poll publisher at `CONFIG_UORB_PRIORITY + 1` and give the 
subscriber more time;
     * add advertise / subscribe / loop API tests, ioctl API tests, and a 
cross-core ping-pong latency test (`server_test` / `client_test`).
   
   ## Impact
   
   * New API `orb_unlink()` / `orb_unlink_multi()`.
   * New `uorb_listener -k` option.
   * No change to existing APIs.
   
   ## Testing
   
   * `./tools/checkpatch.sh -c -m`: all checks pass.
   * Every commit built on sim:rpserver with the uORB test options listed in 
the nuttx PR: PASS, no warnings.
   * Builds and `uorb_unit_test` passes with nuttx master and with the 
follow-up nuttx PR.
   * sim:rpserver, `uorb_unit_test`:
   
         uORB note: PASS advertise and subscribe
         uORB note: PASS test orb ioctl family success!
         uORB note:   loop before[5]: recv:10/10, flush:1/1, flush time:29us
         uORB note:   loop after[6]: recv:10/10, flush:1/1, flush time:29us
         uORB note: PASS test loop success!
         TEST PASS
   
   * sim:rpserver, `uorb_unit_test latency_test`:
   
         mean:    8 us
         std dev: 2 us
         min:     7 us
         max:     36 us
         missed topic updates: 0
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to