Skip to content

Instantly share code, notes, and snippets.

View EduPonz's full-sized avatar

Eduardo Ponz Segrelles EduPonz

View GitHub Profile
76 65 72 64 69 2B 2B
@EduPonz
EduPonz / README.md
Created March 3, 2021 14:48
Use rosbag2 to record and replay Fast DDS data

Use rosbag2 to record and replay Fast DDS data

It is possible to use rosbag2 to record and replay traffic generated by a Fast DDS application. In order to do so, the next steps need to be taken:

  1. Generate a message type using ROS 2 format (.msg)
  2. Generate a ROS 2 compatible IDL from the ROS 2 .msg using Fast DDS-gen
  3. Name the topic following ROS 2 topic naming conventions.

Demonstration

@EduPonz
EduPonz / Dockerfile
Last active March 9, 2021 17:53
Connect Discovery Servers runing different Docker containers
FROM ubuntu:20.04
# Avoid interactuation with installation of some package that needs the locale.
ENV TZ=Europe/Madrid
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# Install tools
RUN apt -y update && apt -y install \
build-essential \
git \