Message-De-Serializer-for-ROS

version 1.1 (220 KB) by Pablo Romero
This project relies on ROS Toolbox functionality to provide basic integration of Simulink® targets into ROS/ROS2 networks

62 Downloads

Updated 7 Nov 2022

From GitHub

View License on GitHub

Message De-Serializer for ROS View Message-De-Serializer-for-ROS on File Exchange

This project relies on ROS Toolbox functionality to provide basic integration of Simulink® targets, with focus on Simulink Real-Time™ and Speedgoat®, into ROS/ROS2 networks via message serialization. The project leverages existing API from the ROS Toolbox in some MATLAB® System blocks to process ROS/ROS2 messages over UDP or Serial communication.

The project contains a small set of Serialize and De-Serialize blocks in a library together with some simple model examples.

Setup

MathWorks products

Requires MATLAB release R2020b or newer.

  • MATLAB
  • Simulink
  • ROS Toolbox
  • Instrument Control Toolbox™ (optional)
  • Simulink Real-Time (optional)

Getting Started

  1. Start the Simulink project ROSMessageSerializer.prj.
  2. ROS/ROS2 (De-)Serializer blocks will be added to the Simulink library, available via the library browser or the Simulink block search.
  3. Open any Simulink model example located in the examples folder and get familiar with different set-ups.

Examples

To learn how to use this in testing workflows, see examples.

License

The license is available in the License file within this repository.

Community Support

MATLAB Central

Copyright 2022 The MathWorks, Inc.

Cite As

Pablo Romero (2022). Message-De-Serializer-for-ROS (https://github.com/mathworks/Message-De-Serializer-for-ROS/releases/tag/v1.1), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2020b
Compatible with R2020b and later releases
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.