TraveSim Adapters  0.1
Protobuf adapters for TraveSim project
teams_sender.cpp File Reference

ROS teams commands sender class definition. More...

#include <ros/ros.h>
#include <std_msgs/Float64.h>
#include "travesim_adapters/ros/teams_sender.hpp"
Include dependency graph for teams_sender.cpp:

Go to the source code of this file.

Namespaces

 travesim
 
 travesim::ros_side
 

Macros

#define BUFFER_SIZE   2
 
#define ROBOT_WHEEL_TOPIC(color, num, side)   "/" color "_team/robot_" + std::to_string(num) + "/" side "_controller/command"
 

Detailed Description

ROS teams commands sender class definition.

Author
Felipe Gomes de Melo felip.nosp@m.e.go.nosp@m.mes@t.nosp@m.hund.nosp@m.eratz.nosp@m..org
Lucas Haug lucas.nosp@m..hau.nosp@m.g@thu.nosp@m.nder.nosp@m.atz.o.nosp@m.rg
Date
06/2021

Definition in file teams_sender.cpp.

Macro Definition Documentation

◆ BUFFER_SIZE

#define BUFFER_SIZE   2

Definition at line 24 of file teams_sender.cpp.

◆ ROBOT_WHEEL_TOPIC

#define ROBOT_WHEEL_TOPIC (   color,
  num,
  side 
)    "/" color "_team/robot_" + std::to_string(num) + "/" side "_controller/command"

Definition at line 30 of file teams_sender.cpp.