Skip to content
Snippets Groups Projects

Allow setting fields on nested messages with set_fields in ros_packet_codec

Merged Eric Gallimore requested to merge dev/better_packet_codec_metadata into devel

The set_fields option, when passed to decode_payload, allows using metadata to set fields on the decoded message(s). Previously, it didn't work for nested message fields, and it would crash if you attempted to set a field that didn't exist. Now, nested fields are supported, and if you pass fields that don't exist, it just logs a message.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading