first commit 1437_31102025

This commit is contained in:
2025-10-31 14:38:00 +07:00
commit 0cd8217bc5
71 changed files with 6160 additions and 0 deletions

23
include/robot/macros.h Normal file
View File

@@ -0,0 +1,23 @@
/*********************************************************************
* Minimal macros to decouple from ROS build system.
*********************************************************************/
#ifndef ROBOT_MINIMAL_MACROS_H
#define ROBOT_MINIMAL_MACROS_H
#if defined(_WIN32) && !defined(ROSTIME_STATIC)
#define ROBOT_HELPER_EXPORT __declspec(dllexport)
#define ROBOT_HELPER_IMPORT __declspec(dllimport)
#else
#define ROBOT_HELPER_EXPORT
#define ROBOT_HELPER_IMPORT
#endif
#if defined(_MSC_VER)
#define ROBOT_FORCE_INLINE __forceinline
#else
#define ROBOT_FORCE_INLINE inline __attribute__((always_inline))
#endif
#endif // ROBOT_MINIMAL_MACROS_H