Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rocos 2579 service response errors #43

Closed

Conversation

hoani
Copy link

@hoani hoani commented Feb 10, 2021

Closes https://rocosglobal.atlassian.net/browse/ROCOS-2579

This PR addresses two issues:

  • Services causing an IO timeout
  • DynamicMessages with nil fields failing to parse JSON
    • This occurs in Services which include an empty response packet (such as turtlesim/TeleportRelative)

Changes

  • Add thorough testing to service_client
  • Add less-magic timeouts to service_client to address the IO timeout
  • Force libgengo to provide an empty slice of fields rather than a nil field for empty messages

Results:
image

Additional ticket has been added for later to address making service calls cancellable: https://rocosglobal.atlassian.net/browse/ROCOS-2580

hoani and others added 29 commits February 4, 2021 11:21
…NMarshalling

Rocos 2504 dynamic messaging json marshalling
Fix Dynamic Message JSON Marshalling/Unmarshalling panics for ill-for…
@hoani hoani closed this Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants