Skip to content

Commit

Permalink
Release v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aentinger committed Nov 15, 2022
1 parent 846dbb4 commit 5dec109
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions include/dynamixel++/Dynamixel++.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,22 @@

#include <dynamixel_sdk.h>

/**************************************************************************************
* DEFINE
**************************************************************************************/

#define _107_LIBDYNAMIXELPLUSPLUS_BASE_MAJOR 0001
#define _107_LIBDYNAMIXELPLUSPLUS_BASE_MINOR 0000
#define _107_LIBDYNAMIXELPLUSPLUS_BASE_PATCH 0000

#define _107_LIBDYNAMIXELPLUSPLUS_BASE_CONCAT_VERSION_(a,b,c) a ## b ## c
#define _107_LIBDYNAMIXELPLUSPLUS_BASE_CONCAT_VERSION(a,b,c) _107_LIBDYNAMIXELPLUSPLUS_BASE_CONCAT_VERSION_(a,b,c)

#define _107_LIBDYNAMIXELPLUSPLUS_BASE_VERSION \
_107_LIBDYNAMIXELPLUSPLUS_BASE_CONCAT_VERSION(_107_LIBDYNAMIXELPLUSPLUS_BASE_MAJOR, \
_107_LIBDYNAMIXELPLUSPLUS_BASE_MINOR, \
_107_LIBDYNAMIXELPLUSPLUS_BASE_PATCH)

/**************************************************************************************
* NAMESPACE
**************************************************************************************/
Expand All @@ -36,6 +52,10 @@ class Dynamixel
{
public:

static size_t constexpr MAJOR = _107_LIBDYNAMIXELPLUSPLUS_BASE_MAJOR;
static size_t constexpr MINOR = _107_LIBDYNAMIXELPLUSPLUS_BASE_MINOR;
static size_t constexpr PATCH = _107_LIBDYNAMIXELPLUSPLUS_BASE_PATCH;

enum class Protocol : int
{
V1_0 = 1,
Expand Down

0 comments on commit 5dec109

Please sign in to comment.