Skip to content

Commit

Permalink
update from robotis git (#1)
Browse files Browse the repository at this point in the history
* Non-standard baudrates are supported on the latest Mac OS

* - added clear instruction & example

* fixed bug removeStuffing

* - added clear instruction

* added clear_multi_turn example

* remove python build

* - reduced TXPACKET_MAX_LEN & RXPACKET_MAX_LEN (4K -> 1K)
  because the size of most Dynamixel receive buffers is 1K.
- checked whether memory allocation was successful.
- marked the crc table as static const
- changed addStuffing() function (reduced stack memory usage)
- removed busy waiting for rxPacket()
- fixed the broadcastping bug in dxl_monitor

* - modified "ros" directory C++ code.

* added clearmultiturn packet handler

* added ros clearMultiTurn API

* modified ros clear multi turn

* sync opencjr

* sync opencm

* add macro

* updated the CHANGELOG and version to release binary packages

* Update bulk_read_write.py

fixed typo.

* - updated c lib & dll file.

* fixed typo.

* - fixed "protocol_combined" example bug

* - changed C# / win32 / protocol_combined output path.

* Updated the CHANGELOG and version to release binary packages

Signed-off-by: Pyo <[email protected]>

* Updated the CHANGELOG and version to release binary packages

Signed-off-by: Pyo <[email protected]>

* Update README.md

* - fixed buffer overflow bug (rxpacket size)

* Fixed buffer overflow bug (rxpacket size)

Signed-off-by: Pyo <[email protected]>

* Added change log information

Signed-off-by: Pyo <[email protected]>

* Fixed typo in the package.xml and header files

Signed-off-by: Pyo <[email protected]>

* Added imports to __init__.py in ros package.

* - packet timeout in broadcastPing() overflow bug fixed.
- bug in python removeStuffing() fixed.

* - fixed "conflicting types for 'reboot'" error in mac OS.

* Fix two potential memory leaks. (ROBOTIS-GIT#361)
- Signed-off-by: Chris Lalancette <[email protected]>

* - fixed memory leak issue (group sync/bulk series)

* - fixed an issue loading the wrong library (in x86)

* 3x faster getError member function of GroupSync&BulkRead Class ROBOTIS-GIT#388

* Update setup.py

changed the version of Dynamixel SDK

* support noetic

* update version info

* resolve package name conflict

* revise ROS1 version

* DynamixelSDK_ros_examples

* update comment

* Update CMakeLists.txt

* - modified setCustomBaudrate() function. (ROBOTIS-GIT#430)

* update changelog

* update issue template

* update issue template

* Update read_write.py

- position length bug fixed.

Co-authored-by: kizitorashiro <[email protected]>
Co-authored-by: Pyo <[email protected]>
Co-authored-by: zerom <[email protected]>
Co-authored-by: kijonggil <[email protected]>
Co-authored-by: Darby Lim <[email protected]>
Co-authored-by: guichristmann <[email protected]>
Co-authored-by: Will Son <[email protected]>
Co-authored-by: Ryan Jaehyun Shim <[email protected]>
  • Loading branch information
9 people authored Jan 14, 2021
1 parent f1625ce commit 74215ce
Show file tree
Hide file tree
Showing 137 changed files with 5,578 additions and 320 deletions.
70 changes: 15 additions & 55 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,64 +1,24 @@
ISSUE TEMPLATE ver. 1.1.1
ISSUE TEMPLATE ver. 1.2.0

Please fill this template for more accurate and prompt support.

1. Which DYNAMIXEL SDK version do you use?
- ex) `3.4.1`

2. Which programming language/tool do you use?
- ex) `C`, `C++`, `C#`, `Python`, `Java`, `MATLAB`, `LABVIEW`, `ROS`, `Arduino`, etc

3. Which operating system do you use?
- ex) `Ubuntu 16.04`, `Windows 10`, `OS X 10.14`

3. Which USB serial converter do you use?
- ex) `USB2Dynamixel`, `U2D2`, `OpenCM904`, `OpenCR`, etc

4. Which DYNAMIXEL do you use?
- ex) `MX-28(2.0)`, `AX-12W`, `XM430-W250`, etc.

5. Have you searched the issue from the closed issue threads?

BE CAREFUL!! FOLLOW THE RULES AS FOLLOWS, OR YOUR ISSUE WILL BE `WON'T FIX` ANYWAY
6. Please describe the issue in detail









STEP 1. Check what you are suffering from :

- I'm using `DynamixelSDK ver. 3.5.4`

- [3.4.1], [3.5.2], etc.

- I'm using `C++` Language

- [C] / [C++] / [C#] / [Python] / [Java] / [MATLAB] / [LABVIEW] / [ROS] / [Arduino]

- I'm using `USB2Dynamixel2` serial converter

- [USB2Dynamixel] / [USB2Dynamixel2] or [OpenCM904] / [OpenCR] / [CM700s] / [CM500s] or other ROBOTIS product only

- I'm using `XM430-W210-R`

- [MX-28], [AX-12W], [H54-200W], etc.

- and I'm having an `issue` like what

- 'My motor doesn't work', etc.


STEP 2. Write `Title` as `[3.5.4][C++][USB2Dynamixel2][XM430-W210-R] Issue : My motor doesn't work`

- Now, if you think :

- Hey, I'm using RoboPlus2.0, and having an issue, but how can I write that kind of `Title`?

- Hey, I'm using USB2AX serial converter, and having an issue, but how can I write that kind of `Title`?

- or more that is not listed on above.

- , You should write your `issue` on http://en.robotis.com/BlueAD/board.php?bbs_id=old_qna


STEP 3. Delete all written here, and describe what your problem is

- Any PICTURES or VIDEOS?

![]( Link the PICTURES or VIDEOS here, if necessary )

- Any SOURCE SAMPLES?

[]( Link the SOURCE SAMPLES here, if necessary )
7. How can we reproduce the issue?
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ notifications:
on_success: change
on_failure: always
recipients:
- pyo@robotis.com
- willson@robotis.com
env:
matrix:
- ROS_DISTRO=indigo ROS_REPO=ros UPSTREAM_WORKSPACE=debian OS_NAME=ubuntu OS_CODE_NAME=trusty
- ROS_DISTRO=kinetic ROS_REPO=ros UPSTREAM_WORKSPACE=debian OS_NAME=ubuntu OS_CODE_NAME=xenial
- ROS_DISTRO=melodic ROS_REPO=ros UPSTREAM_WORKSPACE=debian OS_NAME=ubuntu OS_CODE_NAME=bionic
- ROS_DISTRO=melodic ROS_REPO=ros UPSTREAM_WORKSPACE=debian OS_NAME=debian OS_CODE_NAME=stretch
- ROS_DISTRO=noetic ROS_REPO=ros UPSTREAM_WORKSPACE=debian OS_NAME=ubuntu OS_CODE_NAME=focal
matrix:
allow_failures:
- env: ROS_DISTRO=melodic ROS_REPO=ros UPSTREAM_WORKSPACE=debian OS_NAME=ubuntu OS_CODE_NAME=bionic
- env: ROS_DISTRO=melodic ROS_REPO=ros UPSTREAM_WORKSPACE=debian OS_NAME=debian OS_CODE_NAME=stretch
branches:
only:
Expand All @@ -33,8 +33,8 @@ branches:
- indigo-devel
- kinetic-devel
- melodic-devel
- noetic-devel
install:
- git clone https://github.com/ros-industrial/industrial_ci.git .ci_config
script:
- source .ci_config/travis.sh

13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,15 @@ DynamixelSDK supports various programming languages.
- **Python**: Python module and examples
(* Dynamic library (*.dll, *.so, and *.dylib files) / .dll: dynamic-link library on Windows / .so: shared object on Linux / .dylib: dynamic library on MacOS)

## ROS Packages for Dynamixel SDK
|Version|Indigo + Ubuntu Trusty|Kinetic + Ubuntu Xenial|Melodic + Ubuntu Bionic|
|:---:|:---:|:---:|:---:|
|[![GitHub version](https://badge.fury.io/gh/ROBOTIS-GIT%2FDynamixelSDK.svg)](https://badge.fury.io/gh/ROBOTIS-GIT%2FDynamixelSDK)|[![Build Status](https://travis-ci.org/ROBOTIS-GIT/DynamixelSDK.svg?branch=indigo-devel)](https://travis-ci.org/ROBOTIS-GIT/DynamixelSDK)|[![Build Status](https://travis-ci.org/ROBOTIS-GIT/DynamixelSDK.svg?branch=kinetic-devel)](https://travis-ci.org/ROBOTIS-GIT/DynamixelSDK)|[![Build Status](https://travis-ci.org/ROBOTIS-GIT/DynamixelSDK.svg?branch=melodic-devel)](https://travis-ci.org/ROBOTIS-GIT/DynamixelSDK)|
## ROS 1 Packages for Dynamixel SDK
|develop|master|Indigo + Ubuntu Trusty|Kinetic + Ubuntu Xenial|Melodic + Ubuntu Bionic|Noetic + Ubuntu Focal|
|:---:|:---:|:---:|:---:|:---:|:---:|
|[![Build Status](https://travis-ci.org/ROBOTIS-GIT/DynamixelSDK.svg?branch=develop)](https://travis-ci.org/ROBOTIS-GIT/DynamixelSDK)|[![Build Status](https://travis-ci.org/ROBOTIS-GIT/DynamixelSDK.svg?branch=master)](https://travis-ci.org/ROBOTIS-GIT/DynamixelSDK)|[![Build Status](https://travis-ci.org/ROBOTIS-GIT/DynamixelSDK.svg?branch=indigo-devel)](https://travis-ci.org/ROBOTIS-GIT/DynamixelSDK)|[![Build Status](https://travis-ci.org/ROBOTIS-GIT/DynamixelSDK.svg?branch=kinetic-devel)](https://travis-ci.org/ROBOTIS-GIT/DynamixelSDK)|[![Build Status](https://travis-ci.org/ROBOTIS-GIT/DynamixelSDK.svg?branch=melodic-devel)](https://travis-ci.org/ROBOTIS-GIT/DynamixelSDK)|[![Build Status](https://travis-ci.org/ROBOTIS-GIT/DynamixelSDK.svg?branch=noetic-devel)](https://travis-ci.org/ROBOTIS-GIT/DynamixelSDK)|

## ROS 2 Packages for Dynamixel SDK
|ros2-devel|ros2|Dashing + Ubuntu Bionic|Eloquent + Ubuntu Bionic|Foxy + Ubuntu Foxy|
|:---:|:---:|:---:|:---:|:---:|
|[![Build Status](https://travis-ci.org/ROBOTIS-GIT/DynamixelSDK.svg?branch=ros2-devel)](https://travis-ci.org/ROBOTIS-GIT/DynamixelSDK)|[![Build Status](https://travis-ci.org/ROBOTIS-GIT/DynamixelSDK.svg?branch=ros2)](https://travis-ci.org/ROBOTIS-GIT/DynamixelSDK)|[![Build Status](https://travis-ci.org/ROBOTIS-GIT/DynamixelSDK.svg?branch=dashing-devel)](https://travis-ci.org/ROBOTIS-GIT/DynamixelSDK)|[![Build Status](https://travis-ci.org/ROBOTIS-GIT/DynamixelSDK.svg?branch=eloquent-devel)](https://travis-ci.org/ROBOTIS-GIT/DynamixelSDK)|[![Build Status](https://travis-ci.org/ROBOTIS-GIT/DynamixelSDK.svg?branch=foxy-devel)](https://travis-ci.org/ROBOTIS-GIT/DynamixelSDK)|

For more information on ROS Packages for Dynamixel SDK, please refer to the ROS wiki pages below.
- http://wiki.ros.org/dynamixel_sdk
Expand Down
45 changes: 38 additions & 7 deletions ReleaseNote.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,48 @@
# Dynamixel SDK Release Notes

3.7.41(2020-08-12)
-------------------
* DYNAMIXEL SDK ROS example initial commit.
* Bug fix for 4.5Mbps support (#430)
* Contributors: Zerom, Will Son

3.7.31 (2020-07-13)
-------------------
* ROS 1 Noetic Ninjemys support
* 3x faster getError member function of GroupSyncRead Class
* Contributors: developer0hye, Zerom, Will Son

3.7.21 (2019-09-06)
-------------------
* Fixed buffer overflow bug (rxpacket size)
* Fixed typo in the package.xml and header files

3.7.11 (2019-08-19)
-------------------
* Updated C lib and DLL file
* Changed C# / win32 / protocol_combined output path
* Fixed "protocol_combined" example bug
* Fixed typo in bulk_read_write.py

3.7.0 (2019-01-03)
------------------
* Added clear instruction [#269](https://github.com/ROBOTIS-GIT/DynamixelSDK/issues/269)
* Removed busy waiting for rxPacket()
* Fixed addStuffing() function (reduced stack memory usage)
* Fixed memory issues [#268](https://github.com/ROBOTIS-GIT/DynamixelSDK/issues/268)
* Fixed the broadcast ping bug in dxl_monitor

3.6.2 (2018-07-17)
------------------
* added python modules for ROS to ros folder
* moved cpp library files for ROS to ros folder
* created an ROS package separately `#187 <https://github.com/ROBOTIS-GIT/DynamixelSDK/issues/187>`_
* modified the e-Manual address to emanual.robotis.com
* Added python modules for ROS to ros folder
* Moved cpp library files for ROS to ros folder
* Created an ROS package separately `#187 <https://github.com/ROBOTIS-GIT/DynamixelSDK/issues/187>`_
* Modified the e-Manual address to emanual.robotis.com

3.6.1 (2018-06-14)
------------------
* removed printTxRxResult(), printRxPacketError() `#193 <https://github.com/ROBOTIS-GIT/DynamixelSDK/issues/193>`_
* removed cache files
* merge pull request `#195 <https://github.com/ROBOTIS-GIT/DynamixelSDK/issues/195>`_
* Removed printTxRxResult(), printRxPacketError() `#193 <https://github.com/ROBOTIS-GIT/DynamixelSDK/issues/193>`_
* Removed cache files

3.6.0 (2018-03-16)
------------------
Expand Down
Binary file not shown.
34 changes: 34 additions & 0 deletions c#/protocol2.0/clear_multi_turn/win32/clear_multi_turn.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "clear_multi_turn", "clear_multi_turn\clear_multi_turn.csproj", "{321BAE3A-A494-47FA-A8CB-903202EB5FAE}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{321BAE3A-A494-47FA-A8CB-903202EB5FAE}.Debug|Any CPU.ActiveCfg = Release|Any CPU
{321BAE3A-A494-47FA-A8CB-903202EB5FAE}.Debug|Any CPU.Build.0 = Release|Any CPU
{321BAE3A-A494-47FA-A8CB-903202EB5FAE}.Debug|x64.ActiveCfg = Debug|x64
{321BAE3A-A494-47FA-A8CB-903202EB5FAE}.Debug|x64.Build.0 = Debug|x64
{321BAE3A-A494-47FA-A8CB-903202EB5FAE}.Debug|x86.ActiveCfg = Debug|x86
{321BAE3A-A494-47FA-A8CB-903202EB5FAE}.Debug|x86.Build.0 = Debug|x86
{321BAE3A-A494-47FA-A8CB-903202EB5FAE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{321BAE3A-A494-47FA-A8CB-903202EB5FAE}.Release|Any CPU.Build.0 = Release|Any CPU
{321BAE3A-A494-47FA-A8CB-903202EB5FAE}.Release|x64.ActiveCfg = Release|x64
{321BAE3A-A494-47FA-A8CB-903202EB5FAE}.Release|x64.Build.0 = Release|x64
{321BAE3A-A494-47FA-A8CB-903202EB5FAE}.Release|x86.ActiveCfg = Release|x86
{321BAE3A-A494-47FA-A8CB-903202EB5FAE}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
</startup>
</configuration>
Loading

0 comments on commit 74215ce

Please sign in to comment.