81 if (start == NULL || finish == NULL || delta == NULL) {
#define RCL_RET_OK
Definition nros_generated.h:2965
#define RCL_RET_INVALID_ARGUMENT
Definition nros_generated.h:2980
int64_t rclc_time_to_nanoseconds(const struct rclc_time_t *time)
struct rcl_duration_t rclc_duration_from_nanoseconds(int64_t nanoseconds)
int rcl_ret_t
Definition nros_generated.h:903
Umbrella header for the nano-ros C API, at upstream's path.
Definition nros_generated.h:922
Definition nros_generated.h:908
static rcl_ret_t rcl_difference_times(const struct rclc_time_t *start, const struct rclc_time_t *finish, struct rcl_duration_t *delta)
Compute the duration between two time points: finish - start.
Definition timer.h:78
Shared types and constants for the nros C API.