Skip to content
This repository was archived by the owner on Mar 14, 2025. It is now read-only.

Commit 5dec109

Browse files
committed
Release v1.0.0
1 parent 846dbb4 commit 5dec109

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

include/dynamixel++/Dynamixel++.h

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,22 @@
2121

2222
#include <dynamixel_sdk.h>
2323

24+
/**************************************************************************************
25+
* DEFINE
26+
**************************************************************************************/
27+
28+
#define _107_LIBDYNAMIXELPLUSPLUS_BASE_MAJOR 0001
29+
#define _107_LIBDYNAMIXELPLUSPLUS_BASE_MINOR 0000
30+
#define _107_LIBDYNAMIXELPLUSPLUS_BASE_PATCH 0000
31+
32+
#define _107_LIBDYNAMIXELPLUSPLUS_BASE_CONCAT_VERSION_(a,b,c) a ## b ## c
33+
#define _107_LIBDYNAMIXELPLUSPLUS_BASE_CONCAT_VERSION(a,b,c) _107_LIBDYNAMIXELPLUSPLUS_BASE_CONCAT_VERSION_(a,b,c)
34+
35+
#define _107_LIBDYNAMIXELPLUSPLUS_BASE_VERSION \
36+
_107_LIBDYNAMIXELPLUSPLUS_BASE_CONCAT_VERSION(_107_LIBDYNAMIXELPLUSPLUS_BASE_MAJOR, \
37+
_107_LIBDYNAMIXELPLUSPLUS_BASE_MINOR, \
38+
_107_LIBDYNAMIXELPLUSPLUS_BASE_PATCH)
39+
2440
/**************************************************************************************
2541
* NAMESPACE
2642
**************************************************************************************/
@@ -36,6 +52,10 @@ class Dynamixel
3652
{
3753
public:
3854

55+
static size_t constexpr MAJOR = _107_LIBDYNAMIXELPLUSPLUS_BASE_MAJOR;
56+
static size_t constexpr MINOR = _107_LIBDYNAMIXELPLUSPLUS_BASE_MINOR;
57+
static size_t constexpr PATCH = _107_LIBDYNAMIXELPLUSPLUS_BASE_PATCH;
58+
3959
enum class Protocol : int
4060
{
4161
V1_0 = 1,

0 commit comments

Comments
 (0)