Galaxis Codebase
1.0.0
Team Galaxis software stack for the Carolo Cup 2023 - ROS2 based software
utilities.hpp
Go to the documentation of this file.
1
#ifndef UTILITIES_H_
2
#define UTILITIES_H_
3
4
#include <string>
5
#include <cstdint>
6
#include "
galaxis/Errors.hpp
"
7
#include <
galaxis/messages.hpp
>
8
#include <
galaxis/motorSettings.hpp
>
9
#include <
galaxis/servoSettings.hpp
>
10
11
/* for c structs e.g. used by controller */
12
#define member_array_size(type, member) \
13
((sizeof(((type*)0)->member)) / (sizeof(((type*)0)->member[0])))
14
15
namespace
galaxis
{
16
//consider using https://index.ros.org/doc/ros2/Concepts/Logging/
17
// void log(std::string& nodeName, std::string& msg);
18
}
// namespace galaxis
19
20
#endif
motorSettings.hpp
servoSettings.hpp
galaxis
Definition:
MapClasses.hpp:10
messages.hpp
Errors.hpp
utilities
include
galaxis
utilities.hpp
Generated by
1.8.17