usdot-fhwa-stol / carma-msgs

ROS Message definitions used by the CARMA Platform
6 stars 9 forks source link

Add `carma_message_utilities` package #221

Closed adamlm closed 1 year ago

adamlm commented 1 year ago

PR Details

Description

This PR adds a new ROS package with some Python functions to load ROS messages from YAML strings and files.

Related GitHub Issue

Closes #220

Related Jira Key

CDAR-185

Motivation and Context

Canned messages are commonly used in tests, but they are normally put directly into the source code, making the tests harder to read and preventing the message data from being reused in other tests. Having the ability to store message data in files and load them in during tests resolves both of these issues.

How Has This Been Tested?

Unit tests

Types of changes

Checklist: