-
Notifications
You must be signed in to change notification settings - Fork 416
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DynamixelSDK 3.4.2 updates
- Loading branch information
Showing
62 changed files
with
2,777 additions
and
94 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
################################################## | ||
# PROJECT: DXL Monitor tool Makefile | ||
# AUTHOR : ROBOTIS Ltd. | ||
################################################## | ||
|
||
#--------------------------------------------------------------------- | ||
# Makefile template for projects using DXL SDK | ||
# | ||
# Please make sure to follow these instructions when setting up your | ||
# own copy of this file: | ||
# | ||
# 1- Enter the name of the target (the TARGET variable) | ||
# 2- Add additional source files to the SOURCES variable | ||
# 3- Add additional static library objects to the OBJECTS variable | ||
# if necessary | ||
# 4- Ensure that compiler flags, INCLUDES, and LIBRARIES are | ||
# appropriate to your needs | ||
# | ||
# | ||
# This makefile will link against several libraries, not all of which | ||
# are necessarily needed for your project. Please feel free to | ||
# remove libaries you do not need. | ||
#--------------------------------------------------------------------- | ||
|
||
# *** ENTER THE TARGET NAME HERE *** | ||
TARGET = dxl_monitor | ||
|
||
# important directories used by assorted rules and other variables | ||
DIR_DXL = ../.. | ||
DIR_OBJS = .objects | ||
|
||
# compiler options | ||
CC = gcc | ||
CX = g++ | ||
CCFLAGS = -O2 -O3 -DLINUX -D_GNU_SOURCE -Wall $(INCLUDES) -g | ||
CXFLAGS = -O2 -O3 -DLINUX -D_GNU_SOURCE -Wall $(INCLUDES) -g | ||
LNKCC = $(CX) | ||
LNKFLAGS = $(CXFLAGS) #-Wl,-rpath,$(DIR_THOR)/lib | ||
|
||
#--------------------------------------------------------------------- | ||
# Core components (all of these are likely going to be needed) | ||
#--------------------------------------------------------------------- | ||
INCLUDES += -I$(DIR_DXL)/include | ||
LIBRARIES += -ldxl_sbc_cpp | ||
LIBRARIES += -lrt | ||
|
||
#--------------------------------------------------------------------- | ||
# Files | ||
#--------------------------------------------------------------------- | ||
SOURCES = dxl_monitor.cpp \ | ||
# *** OTHER SOURCES GO HERE *** | ||
|
||
OBJECTS = $(addsuffix .o,$(addprefix $(DIR_OBJS)/,$(basename $(notdir $(SOURCES))))) | ||
#OBJETCS += *** ADDITIONAL STATIC LIBRARIES GO HERE *** | ||
|
||
|
||
#--------------------------------------------------------------------- | ||
# Compiling Rules | ||
#--------------------------------------------------------------------- | ||
$(TARGET): make_directory $(OBJECTS) | ||
$(LNKCC) $(LNKFLAGS) $(OBJECTS) -o $(TARGET) $(LIBRARIES) | ||
|
||
all: $(TARGET) | ||
|
||
clean: | ||
rm -rf $(TARGET) $(DIR_OBJS) core *~ *.a *.so *.lo | ||
|
||
make_directory: | ||
mkdir -p $(DIR_OBJS)/ | ||
|
||
$(DIR_OBJS)/%.o: ../%.c | ||
$(CC) $(CCFLAGS) -c $? -o $@ | ||
|
||
$(DIR_OBJS)/%.o: ../%.cpp | ||
$(CX) $(CXFLAGS) -c $? -o $@ | ||
|
||
#--------------------------------------------------------------------- | ||
# End of Makefile | ||
#--------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
################################################## | ||
# PROJECT: DXL Protocol 1.0 bulk_read Example Makefile | ||
# AUTHOR : ROBOTIS Ltd. | ||
################################################## | ||
|
||
#--------------------------------------------------------------------- | ||
# Makefile template for projects using DXL SDK | ||
# | ||
# Please make sure to follow these instructions when setting up your | ||
# own copy of this file: | ||
# | ||
# 1- Enter the name of the target (the TARGET variable) | ||
# 2- Add additional source files to the SOURCES variable | ||
# 3- Add additional static library objects to the OBJECTS variable | ||
# if necessary | ||
# 4- Ensure that compiler flags, INCLUDES, and LIBRARIES are | ||
# appropriate to your needs | ||
# | ||
# | ||
# This makefile will link against several libraries, not all of which | ||
# are necessarily needed for your project. Please feel free to | ||
# remove libaries you do not need. | ||
#--------------------------------------------------------------------- | ||
|
||
# *** ENTER THE TARGET NAME HERE *** | ||
TARGET = bulk_read | ||
|
||
# important directories used by assorted rules and other variables | ||
DIR_DXL = ../../.. | ||
DIR_OBJS = .objects | ||
|
||
# compiler options | ||
CC = gcc | ||
CX = g++ | ||
CCFLAGS = -O2 -O3 -DLINUX -D_GNU_SOURCE -Wall $(INCLUDES) -g | ||
CXFLAGS = -O2 -O3 -DLINUX -D_GNU_SOURCE -Wall $(INCLUDES) -g | ||
LNKCC = $(CX) | ||
LNKFLAGS = $(CXFLAGS) #-Wl,-rpath,$(DIR_THOR)/lib | ||
|
||
#--------------------------------------------------------------------- | ||
# Core components (all of these are likely going to be needed) | ||
#--------------------------------------------------------------------- | ||
INCLUDES += -I$(DIR_DXL)/include | ||
LIBRARIES += -ldxl_sbc_cpp | ||
LIBRARIES += -lrt | ||
|
||
#--------------------------------------------------------------------- | ||
# Files | ||
#--------------------------------------------------------------------- | ||
SOURCES = bulk_read.cpp \ | ||
# *** OTHER SOURCES GO HERE *** | ||
|
||
OBJECTS = $(addsuffix .o,$(addprefix $(DIR_OBJS)/,$(basename $(notdir $(SOURCES))))) | ||
#OBJETCS += *** ADDITIONAL STATIC LIBRARIES GO HERE *** | ||
|
||
|
||
#--------------------------------------------------------------------- | ||
# Compiling Rules | ||
#--------------------------------------------------------------------- | ||
$(TARGET): make_directory $(OBJECTS) | ||
$(LNKCC) $(LNKFLAGS) $(OBJECTS) -o $(TARGET) $(LIBRARIES) | ||
|
||
all: $(TARGET) | ||
|
||
clean: | ||
rm -rf $(TARGET) $(DIR_OBJS) core *~ *.a *.so *.lo | ||
|
||
make_directory: | ||
mkdir -p $(DIR_OBJS)/ | ||
|
||
$(DIR_OBJS)/%.o: ../%.c | ||
$(CC) $(CCFLAGS) -c $? -o $@ | ||
|
||
$(DIR_OBJS)/%.o: ../%.cpp | ||
$(CX) $(CXFLAGS) -c $? -o $@ | ||
|
||
#--------------------------------------------------------------------- | ||
# End of Makefile | ||
#--------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
################################################## | ||
# PROJECT: DXL Protocol 1.0 multi_port Example Makefile | ||
# AUTHOR : ROBOTIS Ltd. | ||
################################################## | ||
|
||
#--------------------------------------------------------------------- | ||
# Makefile template for projects using DXL SDK | ||
# | ||
# Please make sure to follow these instructions when setting up your | ||
# own copy of this file: | ||
# | ||
# 1- Enter the name of the target (the TARGET variable) | ||
# 2- Add additional source files to the SOURCES variable | ||
# 3- Add additional static library objects to the OBJECTS variable | ||
# if necessary | ||
# 4- Ensure that compiler flags, INCLUDES, and LIBRARIES are | ||
# appropriate to your needs | ||
# | ||
# | ||
# This makefile will link against several libraries, not all of which | ||
# are necessarily needed for your project. Please feel free to | ||
# remove libaries you do not need. | ||
#--------------------------------------------------------------------- | ||
|
||
# *** ENTER THE TARGET NAME HERE *** | ||
TARGET = multi_port | ||
|
||
# important directories used by assorted rules and other variables | ||
DIR_DXL = ../../.. | ||
DIR_OBJS = .objects | ||
|
||
# compiler options | ||
CC = gcc | ||
CX = g++ | ||
CCFLAGS = -O2 -O3 -DLINUX -D_GNU_SOURCE -Wall $(INCLUDES) -g | ||
CXFLAGS = -O2 -O3 -DLINUX -D_GNU_SOURCE -Wall $(INCLUDES) -g | ||
LNKCC = $(CX) | ||
LNKFLAGS = $(CXFLAGS) #-Wl,-rpath,$(DIR_THOR)/lib | ||
|
||
#--------------------------------------------------------------------- | ||
# Core components (all of these are likely going to be needed) | ||
#--------------------------------------------------------------------- | ||
INCLUDES += -I$(DIR_DXL)/include | ||
LIBRARIES += -ldxl_sbc_cpp | ||
LIBRARIES += -lrt | ||
|
||
#--------------------------------------------------------------------- | ||
# Files | ||
#--------------------------------------------------------------------- | ||
SOURCES = multi_port.cpp \ | ||
# *** OTHER SOURCES GO HERE *** | ||
|
||
OBJECTS = $(addsuffix .o,$(addprefix $(DIR_OBJS)/,$(basename $(notdir $(SOURCES))))) | ||
#OBJETCS += *** ADDITIONAL STATIC LIBRARIES GO HERE *** | ||
|
||
|
||
#--------------------------------------------------------------------- | ||
# Compiling Rules | ||
#--------------------------------------------------------------------- | ||
$(TARGET): make_directory $(OBJECTS) | ||
$(LNKCC) $(LNKFLAGS) $(OBJECTS) -o $(TARGET) $(LIBRARIES) | ||
|
||
all: $(TARGET) | ||
|
||
clean: | ||
rm -rf $(TARGET) $(DIR_OBJS) core *~ *.a *.so *.lo | ||
|
||
make_directory: | ||
mkdir -p $(DIR_OBJS)/ | ||
|
||
$(DIR_OBJS)/%.o: ../%.c | ||
$(CC) $(CCFLAGS) -c $? -o $@ | ||
|
||
$(DIR_OBJS)/%.o: ../%.cpp | ||
$(CX) $(CXFLAGS) -c $? -o $@ | ||
|
||
#--------------------------------------------------------------------- | ||
# End of Makefile | ||
#--------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
################################################## | ||
# PROJECT: DXL Protocol 1.0 ping Example Makefile | ||
# AUTHOR : ROBOTIS Ltd. | ||
################################################## | ||
|
||
#--------------------------------------------------------------------- | ||
# Makefile template for projects using DXL SDK | ||
# | ||
# Please make sure to follow these instructions when setting up your | ||
# own copy of this file: | ||
# | ||
# 1- Enter the name of the target (the TARGET variable) | ||
# 2- Add additional source files to the SOURCES variable | ||
# 3- Add additional static library objects to the OBJECTS variable | ||
# if necessary | ||
# 4- Ensure that compiler flags, INCLUDES, and LIBRARIES are | ||
# appropriate to your needs | ||
# | ||
# | ||
# This makefile will link against several libraries, not all of which | ||
# are necessarily needed for your project. Please feel free to | ||
# remove libaries you do not need. | ||
#--------------------------------------------------------------------- | ||
|
||
# *** ENTER THE TARGET NAME HERE *** | ||
TARGET = ping | ||
|
||
# important directories used by assorted rules and other variables | ||
DIR_DXL = ../../.. | ||
DIR_OBJS = .objects | ||
|
||
# compiler options | ||
CC = gcc | ||
CX = g++ | ||
CCFLAGS = -O2 -O3 -DLINUX -D_GNU_SOURCE -Wall $(INCLUDES) -g | ||
CXFLAGS = -O2 -O3 -DLINUX -D_GNU_SOURCE -Wall $(INCLUDES) -g | ||
LNKCC = $(CX) | ||
LNKFLAGS = $(CXFLAGS) #-Wl,-rpath,$(DIR_THOR)/lib | ||
|
||
#--------------------------------------------------------------------- | ||
# Core components (all of these are likely going to be needed) | ||
#--------------------------------------------------------------------- | ||
INCLUDES += -I$(DIR_DXL)/include | ||
LIBRARIES += -ldxl_sbc_cpp | ||
LIBRARIES += -lrt | ||
|
||
#--------------------------------------------------------------------- | ||
# Files | ||
#--------------------------------------------------------------------- | ||
SOURCES = ping.cpp \ | ||
# *** OTHER SOURCES GO HERE *** | ||
|
||
OBJECTS = $(addsuffix .o,$(addprefix $(DIR_OBJS)/,$(basename $(notdir $(SOURCES))))) | ||
#OBJETCS += *** ADDITIONAL STATIC LIBRARIES GO HERE *** | ||
|
||
|
||
#--------------------------------------------------------------------- | ||
# Compiling Rules | ||
#--------------------------------------------------------------------- | ||
$(TARGET): make_directory $(OBJECTS) | ||
$(LNKCC) $(LNKFLAGS) $(OBJECTS) -o $(TARGET) $(LIBRARIES) | ||
|
||
all: $(TARGET) | ||
|
||
clean: | ||
rm -rf $(TARGET) $(DIR_OBJS) core *~ *.a *.so *.lo | ||
|
||
make_directory: | ||
mkdir -p $(DIR_OBJS)/ | ||
|
||
$(DIR_OBJS)/%.o: ../%.c | ||
$(CC) $(CCFLAGS) -c $? -o $@ | ||
|
||
$(DIR_OBJS)/%.o: ../%.cpp | ||
$(CX) $(CXFLAGS) -c $? -o $@ | ||
|
||
#--------------------------------------------------------------------- | ||
# End of Makefile | ||
#--------------------------------------------------------------------- |
Oops, something went wrong.