Skip to content

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.

License

Notifications You must be signed in to change notification settings

mathworks/Message-De-Serializer-for-ROS

Repository files navigation

Message De-Serializer for ROS

CI GitHub issues by-label 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 the included examples.

License

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

Community Support

MATLAB Central

Copyright 2022 The MathWorks, Inc.

About

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.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages