Robotics StackExchange | Archived questions

Are *_is_valid checks necessary when using rcl

Hi, since almost every type in rcl has a *isvalid function to check if the instance is still valid (example of wait set) while most functions operating with instances have separate error codes for invalid arguments (example of wait set) I wonder if it is safe to pass a potential invalid instance to those functions instead of calling the corresponding *isvalid function beforehand.

Asked by Deric on 2023-01-23 09:34:10 UTC

Comments

Answers