Skip to content

[BUG] Type Generator script gives bad hashes for services (breaks service calls and service routing) #22

Description

@michael545

When attempting to call std_srvs/srv/SetBool from the local terminal, the zenoh logs show the host querying the service contianer with hash (abe9...):

DEBUG  zenoh::net::routing::dispatcher::resource: Register resource
 0/mcb/enable_drive/std_srvs::srv::dds_::SetBool_/RIHS01_abe9e4bb6b41b40e6789712c00ec8871923e089af3f667a79992a428cff2da0a

but the pico-ros auto-generated ros_types.h doesnt match hash for SetBool_Request (c62f...):

SRV(srv_SetBool, \
     "std_srvs::srv::dds_::SetBool", \
     "c62fbb99d94e1b25e8ef9e109f9581956bb1b3361a45a4e5810c36a90d29932e", \

Manually replacing the type gnereator script c62f... hash in the generated ros_types.h file with the hash copied from zenoh logs (abe9...) instantly solves it and the service runs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions