-
Notifications
You must be signed in to change notification settings - Fork 482
Bump 4.0.3 #673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Bump 4.0.3 #673
Changes from 85 commits
Commits
Show all changes
87 commits
Select commit
Hold shift + click to select a range
60c7af0
add rosdep ci
GyuH13 54cabbf
Merge pull request #659 from ROBOTIS-GIT/feature-rosdep-ci
robotpilot 0c29a54
api update in cpp linux 64bit
GyuH13 ed28160
Add exception in input param of getAllMotors
GyuH13 73c37dc
Use Makefile macro for control table path instead of hardcoding
GyuH13 be4e0a7
remove duplicate model_list
GyuH13 c530947
fix indentation
GyuH13 2ecc213
make getmotor function return unique_ptr
GyuH13 c469d8b
apply guard clause to improve readability
GyuH13 9865753
delete tab
GyuH13 f28c620
apply broadcastPing to getAllmotors function
GyuH13 f67d1d9
makefile typo error
GyuH13 f0485ca
add example
GyuH13 6ed0156
lint
GyuH13 fb3609a
Bump
GyuH13 c7ecd45
add const return in dxl Result object
GyuH13 a39c5d0
Remove changebaudrate
GyuH13 c75d8e7
header guard fix
GyuH13 ca75cf2
Make drive mode setup function to use parameter
GyuH13 2cc597e
example code update
GyuH13 080fb44
add motor group
GyuH13 1276415
add motor group
GyuH13 4ddebcf
remove example
GyuH13 7fa6d53
add pid gain function
GyuH13 cef960a
add current function
GyuH13 baad93e
unified motor object with motor proxy
GyuH13 bfb62ef
change function name which is named getMotor to createMotor
GyuH13 3ef96ec
remove motor header in group_executor.hpp
GyuH13 0af6a8a
lint
GyuH13 970dddf
bump
GyuH13 5a4733f
bump
GyuH13 aaff0f1
remove protocol arg in connector
GyuH13 b87a605
add error checking
GyuH13 90d55c6
change file structure
GyuH13 1f812ea
modified makefile
GyuH13 0052c5c
bump
GyuH13 160e3b9
change name of package to Easy SDK
GyuH13 0a4f971
reflect review
GyuH13 693076c
reflect review
GyuH13 ea714c4
Merge pull request #664 from ROBOTIS-GIT/feature-api-update
GyuH13 e86135b
bug fix that cache status is not updated
GyuH13 8c8ba6c
Bump
GyuH13 61f382f
Merge pull request #668 from ROBOTIS-GIT/feature-status-cache-bug-fix
GyuH13 a3b550e
python single motor control update
GyuH13 56dc925
cpp refactoring
GyuH13 6dd9bd5
add group motor control in python
GyuH13 2903299
add current and PWM mode
GyuH13 6f9f3cc
add getPresentpwm function
GyuH13 6920d45
python group control update
GyuH13 e3055cc
lint
GyuH13 516a3e5
cpp improvement update
GyuH13 58ed7d3
add data_types.hpp and remove stagedCommand.hpp
GyuH13 7475813
cpp update
GyuH13 6d55bc9
remove include control_table sentence in groupExecutor
GyuH13 aa87a44
refactorying groupExecutor
GyuH13 fa009d5
Added compatibility for Python versions below 3.9
GyuH13 2765bc9
processStatusRequests: add error handling for operating mode and torq…
GyuH13 e80ea1c
control_table.py: fix CONTROL_TABLE_PATH import for correct module st…
GyuH13 48736a5
motor.py: add error handling for unsupported data length in read/writ…
GyuH13 21cb38c
fix: update closePort method to use instance port_handler
GyuH13 02b75d5
fix: enhance error handling in port opening and baud rate setting
GyuH13 d55edd2
fix: improve error handling for port opening in Connector class
GyuH13 7455529
refactor: remove commented-out code for executeRead method in GroupEx…
GyuH13 9b97ae6
fix: update package description to reflect version 4.0.1
GyuH13 9f10443
refactor: replace custom _toSignedInt method with toSignedInt functio…
GyuH13 36a3388
fix: handle multiple import errors for resources module in control_ta…
GyuH13 e235116
rename DxlErrorCode to DxlError and update references across the code…
GyuH13 b52c049
refactor: update DxlRuntimeError and getErrorMessage to use dxl_error…
GyuH13 b9ce5ff
refactoring
GyuH13 0330829
Add broadcastPing() and closePort() in connector class of cpp
GyuH13 d0883d8
add motor control methods for homing offset and limits
GyuH13 e977a8d
BUMP 4.0.2
GyuH13 cb6eab9
bump
GyuH13 edf6c09
changes args type of setGoalPosition, setGoalVelocity uint32_t to in…
GyuH13 b04a0ed
Merge pull request #669 from ROBOTIS-GIT/feature-easy-sdk-python-update
GyuH13 77a9e8e
dxl easy sdk support sbc
GyuH13 db84b49
add env variable
GyuH13 067853b
Makefile: Add support for dynamixel_easy_sdk and update install/unins…
GyuH13 3359728
Add additional include directory path
GyuH13 efe34c9
Makefile: Update C++ standard to C++17 for 32-bit and 64-bit builds
GyuH13 0a31f2c
Dynamixel Easy SDK supports Linux SBC environments, Linux 32-bit plat…
GyuH13 c539379
Fix email address for Hyungyu Kim in authors list
GyuH13 c1f5d8b
CMakeLists.txt:add include path
GyuH13 83600f0
support ros python
GyuH13 4ce0ef3
Merge pull request #672 from ROBOTIS-GIT/feature-support-easy-sdk-in-…
GyuH13 e340f30
update version in cpp library.properties
GyuH13 f03fbcf
Merge pull request #675 from ROBOTIS-GIT/feature-version-fix
GyuH13 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,63 @@ | ||
| // Copyright 2025 ROBOTIS CO., LTD. | ||
| // | ||
| // Licensed under the Apache License, Version 2.0 (the "License"); | ||
| // you may not use this file except in compliance with the License. | ||
| // You may obtain a copy of the License at | ||
| // | ||
| // http://www.apache.org/licenses/LICENSE-2.0 | ||
| // | ||
| // Unless required by applicable law or agreed to in writing, software | ||
| // distributed under the License is distributed on an "AS IS" BASIS, | ||
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| // See the License for the specific language governing permissions and | ||
| // limitations under the License. | ||
| // | ||
| // Author: Hyungyu Kim | ||
|
|
||
| #ifndef DYNAMIXEL_SDK_INCLUDE_DYNAMIXEL_EASY_SDK_CONNECTOR_HPP_ | ||
| #define DYNAMIXEL_SDK_INCLUDE_DYNAMIXEL_EASY_SDK_CONNECTOR_HPP_ | ||
|
|
||
| #include <memory> | ||
| #include <string> | ||
| #include <vector> | ||
|
|
||
| #include "dynamixel_sdk/dynamixel_sdk.h" | ||
| #include "dynamixel_easy_sdk/dynamixel_error.hpp" | ||
| #include "dynamixel_easy_sdk/motor.hpp" | ||
| #include "dynamixel_easy_sdk/group_executor.hpp" | ||
|
|
||
| namespace dynamixel | ||
| { | ||
| class Connector | ||
| { | ||
| public: | ||
| Connector(const std::string & port_name, int baud_rate); | ||
|
|
||
| virtual ~Connector(); | ||
|
|
||
| std::unique_ptr<Motor> createMotor(uint8_t id); | ||
| std::vector<std::unique_ptr<Motor>> createAllMotors(int start_id = 0, int end_id = 252); | ||
| std::unique_ptr<GroupExecutor> createGroupExecutor(); | ||
|
|
||
| Result<void, DxlError> write1ByteData(uint8_t id, uint16_t address, uint8_t value); | ||
| Result<void, DxlError> write2ByteData(uint8_t id, uint16_t address, uint16_t value); | ||
| Result<void, DxlError> write4ByteData(uint8_t id, uint16_t address, uint32_t value); | ||
| Result<uint8_t, DxlError> read1ByteData(uint8_t id, uint16_t address); | ||
| Result<uint16_t, DxlError> read2ByteData(uint8_t id, uint16_t address); | ||
| Result<uint32_t, DxlError> read4ByteData(uint8_t id, uint16_t address); | ||
|
|
||
| Result<void, DxlError> reboot(uint8_t id); | ||
| Result<uint16_t, DxlError> ping(uint8_t id); | ||
| Result<std::vector<uint8_t>, DxlError> broadcastPing(); | ||
| Result<void, DxlError> factoryReset(uint8_t id, uint8_t option); | ||
| void closePort() {port_handler_->closePort();} | ||
|
|
||
| PortHandler * getPortHandler() const {return port_handler_.get();} | ||
| PacketHandler * getPacketHandler() const {return packet_handler_;} | ||
|
|
||
| private: | ||
| std::unique_ptr<PortHandler> port_handler_; | ||
| PacketHandler * packet_handler_; | ||
| }; | ||
| } // namespace dynamixel | ||
| #endif /* DYNAMIXEL_SDK_INCLUDE_DYNAMIXEL_EASY_SDK_CONNECTOR_HPP_ */ |
This file contains hidden or 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,40 @@ | ||
| // Copyright 2025 ROBOTIS CO., LTD. | ||
| // | ||
| // Licensed under the Apache License, Version 2.0 (the "License"); | ||
| // you may not use this file except in compliance with the License. | ||
| // You may obtain a copy of the License at | ||
| // | ||
| // http://www.apache.org/licenses/LICENSE-2.0 | ||
| // | ||
| // Unless required by applicable law or agreed to in writing, software | ||
| // distributed under the License is distributed on an "AS IS" BASIS, | ||
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| // See the License for the specific language governing permissions and | ||
| // limitations under the License. | ||
| // | ||
| // Author: Hyungyu Kim | ||
|
|
||
| #ifndef DYNAMIXEL_SDK_INCLUDE_DYNAMIXEL_EASY_SDK_CONTROL_TABLE_HPP_ | ||
| #define DYNAMIXEL_SDK_INCLUDE_DYNAMIXEL_EASY_SDK_CONTROL_TABLE_HPP_ | ||
|
|
||
| #include <cstdint> | ||
| #include <fstream> | ||
| #include <iostream> | ||
| #include <map> | ||
| #include <sstream> | ||
| #include <string> | ||
|
|
||
| #include "dynamixel_easy_sdk/data_types.hpp" | ||
| #include "dynamixel_easy_sdk/dynamixel_error.hpp" | ||
|
|
||
| namespace dynamixel | ||
| { | ||
| class ControlTable | ||
| { | ||
| public: | ||
| static const std::map<uint16_t, std::string> ParsingModelList(); | ||
| static const std::string getModelName(uint16_t model_number); | ||
| static const std::map<std::string, ControlTableItem> & getControlTable(uint16_t model_number); | ||
| }; | ||
| } // namespace dynamixel | ||
| #endif /* DYNAMIXEL_SDK_INCLUDE_DYNAMIXEL_EASY_SDK_CONTROL_TABLE_HPP_ */ |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.