Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds base support for services. (#86)
* Adds base support for services. Signed-off-by: Franco Cipollone <[email protected]> * Addresses Yadu's comments. Signed-off-by: Franco Cipollone <[email protected]> * Addresses Yadu's comments. Signed-off-by: Franco Cipollone <[email protected]> * Fixes memory leak. Signed-off-by: Franco Cipollone <[email protected]> * Removes unnecessary declaration. Signed-off-by: Franco Cipollone <[email protected]> * Cleanup services implementation (#88) * Rely on channels for sending requests Signed-off-by: Yadunund <[email protected]> * Revert to callback for client with fixes Signed-off-by: Yadunund <[email protected]> * Cleanup service cb Signed-off-by: Yadunund <[email protected]> * Style Signed-off-by: Yadunund <[email protected]> * Cleanup comments Signed-off-by: Yadunund <[email protected]> --------- Signed-off-by: Yadunund <[email protected]> * Use anynomous space instead of static functions. Signed-off-by: Franco Cipollone <[email protected]> * Fix style. Signed-off-by: Franco Cipollone <[email protected]> * Use zero_allocate where needed. Signed-off-by: Franco Cipollone <[email protected]> * Use a scope_exit to drop the keystr. This just makes sure we always clean it up. Signed-off-by: Chris Lalancette <[email protected]> * Rename find_type_support to find_message_type_support. Signed-off-by: Chris Lalancette <[email protected]> * Add error checking into ros_topic_name_to_zenoh_key Signed-off-by: Chris Lalancette <[email protected]> * Make sure to always free response_bytes. Signed-off-by: Chris Lalancette <[email protected]> * Remove unnecessary TODO comment. Signed-off-by: Chris Lalancette <[email protected]> * Remember to free request_bytes. Signed-off-by: Chris Lalancette <[email protected]> * Small change to take requests from the front of the deque. Signed-off-by: Chris Lalancette <[email protected]> * Initial work for attachments and sequence numbers. Signed-off-by: Chris Lalancette <[email protected]> * Add in error checking for getting attachments. Signed-off-by: Chris Lalancette <[email protected]> * More error checking for attachments. Signed-off-by: Chris Lalancette <[email protected]> * Further cleanup. Signed-off-by: Chris Lalancette <[email protected]> * Remove unnecessary (and incorrect) copy of sequence_number Signed-off-by: Chris Lalancette <[email protected]> * Style Signed-off-by: Yadunund <[email protected]> --------- Signed-off-by: Franco Cipollone <[email protected]> Signed-off-by: Yadunund <[email protected]> Signed-off-by: Chris Lalancette <[email protected]> Co-authored-by: Yadu <[email protected]> Co-authored-by: Chris Lalancette <[email protected]>
- Loading branch information