Skip to content

Commit aa64715

Browse files
authored
Merge pull request #22 from ROBOTIS-GIT/develop
Develop
2 parents 7523e79 + ca4c342 commit aa64715

File tree

451 files changed

+9412
-1597
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

451 files changed

+9412
-1597
lines changed

ReleaseNote.txt

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
==============================================
2+
Dynamixel SDK v3.3.3 (Protocol 1.0/2.0)
3+
==============================================
4+
5+
- 08.03.2016
6+
7+
* SDK C# Resource Files comments Korean -> English
8+
* SDK C# properties comments Korean removed
9+
* SDK C# example default device path modified
10+
* SDK All License marks for example codes updated
11+
* SDK Java example source - folder name changed
12+
* SDK MATLAB example code modified as platform version auto-detection #1
13+
* SDK C/C++ build file for linux used by SBC(Single Board Computer)s updated #15
14+
15+
* Solved issue : #3, #8, #1, #15
16+
17+
118
==============================================
219
Dynamixel SDK v3.3.2 (Protocol 1.0/2.0)
320
==============================================

c#/dynamixel_functions_csharp/win32/dynamixel.cs

+33-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,43 @@
1+
/*******************************************************************************
2+
* Copyright (c) 2016, ROBOTIS CO., LTD.
3+
* All rights reserved.
4+
*
5+
* Redistribution and use in source and binary forms, with or without
6+
* modification, are permitted provided that the following conditions are met:
7+
*
8+
* * Redistributions of source code must retain the above copyright notice, this
9+
* list of conditions and the following disclaimer.
10+
*
11+
* * Redistributions in binary form must reproduce the above copyright notice,
12+
* this list of conditions and the following disclaimer in the documentation
13+
* and/or other materials provided with the distribution.
14+
*
15+
* * Neither the name of ROBOTIS nor the names of its
16+
* contributors may be used to endorse or promote products derived from
17+
* this software without specific prior written permission.
18+
*
19+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20+
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22+
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23+
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26+
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27+
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29+
*******************************************************************************/
30+
31+
/* Author: Ryu Woon Jung (Leon) */
32+
133
using System;
234
using System.Runtime.InteropServices;
335

436
namespace dynamixel_sdk
537
{
638
class dynamixel
739
{
8-
const string dll_path = "../../../c/build/win32/output/dxl_x86_c.dll";
40+
const string dll_path = "../../../../../../../../c/build/win32/output/dxl_x86_c.dll";
941

1042
#region PortHandler
1143
[DllImport(dll_path)]

c#/dynamixel_functions_csharp/win64/dynamixel.cs

+33-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,43 @@
1+
/*******************************************************************************
2+
* Copyright (c) 2016, ROBOTIS CO., LTD.
3+
* All rights reserved.
4+
*
5+
* Redistribution and use in source and binary forms, with or without
6+
* modification, are permitted provided that the following conditions are met:
7+
*
8+
* * Redistributions of source code must retain the above copyright notice, this
9+
* list of conditions and the following disclaimer.
10+
*
11+
* * Redistributions in binary form must reproduce the above copyright notice,
12+
* this list of conditions and the following disclaimer in the documentation
13+
* and/or other materials provided with the distribution.
14+
*
15+
* * Neither the name of ROBOTIS nor the names of its
16+
* contributors may be used to endorse or promote products derived from
17+
* this software without specific prior written permission.
18+
*
19+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20+
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22+
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23+
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26+
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27+
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29+
*******************************************************************************/
30+
31+
/* Author: Ryu Woon Jung (Leon) */
32+
133
using System;
234
using System.Runtime.InteropServices;
335

436
namespace dynamixel_sdk
537
{
638
class dynamixel
739
{
8-
const string dll_path = "../../../c/build/win64/output/dxl_x64_c.dll";
40+
const string dll_path = "../../../../../../../../c/build/win64/output/dxl_x64_c.dll";
941

1042
#region PortHandler
1143
[DllImport(dll_path)]

c#/protocol1.0/bulk_read/win32/bulk_read/BulkRead.cs

+32-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,34 @@
1-
/*
2-
* BulkRead.cs
3-
*
4-
* Created on: 2016. 6. 20.
5-
* Author: Ryu Woon Jung (Leon)
6-
*/
1+
/*******************************************************************************
2+
* Copyright (c) 2016, ROBOTIS CO., LTD.
3+
* All rights reserved.
4+
*
5+
* Redistribution and use in source and binary forms, with or without
6+
* modification, are permitted provided that the following conditions are met:
7+
*
8+
* * Redistributions of source code must retain the above copyright notice, this
9+
* list of conditions and the following disclaimer.
10+
*
11+
* * Redistributions in binary form must reproduce the above copyright notice,
12+
* this list of conditions and the following disclaimer in the documentation
13+
* and/or other materials provided with the distribution.
14+
*
15+
* * Neither the name of ROBOTIS nor the names of its
16+
* contributors may be used to endorse or promote products derived from
17+
* this software without specific prior written permission.
18+
*
19+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20+
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22+
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23+
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26+
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27+
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29+
*******************************************************************************/
30+
31+
/* Author: Ryu Woon Jung (Leon) */
732

833
//
934
// ********* Bulk Read Example *********
@@ -40,7 +65,7 @@ class BulkRead
4065
public const int DXL1_ID = 1; // Dynamixel ID: 1
4166
public const int DXL2_ID = 2; // Dynamixel ID: 2
4267
public const int BAUDRATE = 1000000;
43-
public const string DEVICENAME = "/dev/ttyUSB0"; // Check which port is being used on your controller
68+
public const string DEVICENAME = "COM1"; // Check which port is being used on your controller
4469
// ex) "COM1" Linux: "/dev/ttyUSB0"
4570

4671
public const int TORQUE_ENABLE = 1; // Value for enabling the torque

c#/protocol1.0/bulk_read/win32/bulk_read/Properties/AssemblyInfo.cs

+14-14
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
using System.Runtime.CompilerServices;
33
using System.Runtime.InteropServices;
44

5-
// 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해
6-
// 제어됩니다. 어셈블리와 관련된 정보를 수정하려면
7-
// 이러한 특성 값을 변경하세요.
5+
6+
7+
88
[assembly: AssemblyTitle("bulk_read")]
99
[assembly: AssemblyDescription("")]
1010
[assembly: AssemblyConfiguration("")]
@@ -14,23 +14,23 @@
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]
1616

17-
// ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에
18-
// 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면
19-
// 해당 형식에 대해 ComVisible 특성을 true로 설정하세요.
17+
18+
19+
2020
[assembly: ComVisible(false)]
2121

22-
// 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다.
22+
2323
[assembly: Guid("25a1bbb1-0e8d-4f9f-8e31-ec0c1e61db35")]
2424

25-
// 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다.
25+
2626
//
27-
// 주 버전
28-
// 부 버전
29-
// 빌드 번호
30-
// 수정 버전
27+
28+
29+
30+
3131
//
32-
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로
33-
// 지정되도록 할 수 있습니다.
32+
33+
3434
// [assembly: AssemblyVersion("1.0.*")]
3535
[assembly: AssemblyVersion("1.0.0.0")]
3636
[assembly: AssemblyFileVersion("1.0.0.0")]

c#/protocol1.0/bulk_read/win32/bulk_read/dynamixel.cs

+33-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,43 @@
1+
/*******************************************************************************
2+
* Copyright (c) 2016, ROBOTIS CO., LTD.
3+
* All rights reserved.
4+
*
5+
* Redistribution and use in source and binary forms, with or without
6+
* modification, are permitted provided that the following conditions are met:
7+
*
8+
* * Redistributions of source code must retain the above copyright notice, this
9+
* list of conditions and the following disclaimer.
10+
*
11+
* * Redistributions in binary form must reproduce the above copyright notice,
12+
* this list of conditions and the following disclaimer in the documentation
13+
* and/or other materials provided with the distribution.
14+
*
15+
* * Neither the name of ROBOTIS nor the names of its
16+
* contributors may be used to endorse or promote products derived from
17+
* this software without specific prior written permission.
18+
*
19+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20+
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22+
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23+
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26+
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27+
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29+
*******************************************************************************/
30+
31+
/* Author: Ryu Woon Jung (Leon) */
32+
133
using System;
234
using System.Runtime.InteropServices;
335

436
namespace dynamixel_sdk
537
{
638
class dynamixel
739
{
8-
const string dll_path = "../../../c/build/win32/output/dxl_x86_c.dll";
40+
const string dll_path = "../../../../../../../../c/build/win32/output/dxl_x86_c.dll";
941

1042
#region PortHandler
1143
[DllImport(dll_path)]

c#/protocol1.0/bulk_read/win64/bulk_read/BulkRead.cs

+32-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,34 @@
1-
/*
2-
* BulkRead.cs
3-
*
4-
* Created on: 2016. 6. 20.
5-
* Author: Ryu Woon Jung (Leon)
6-
*/
1+
/*******************************************************************************
2+
* Copyright (c) 2016, ROBOTIS CO., LTD.
3+
* All rights reserved.
4+
*
5+
* Redistribution and use in source and binary forms, with or without
6+
* modification, are permitted provided that the following conditions are met:
7+
*
8+
* * Redistributions of source code must retain the above copyright notice, this
9+
* list of conditions and the following disclaimer.
10+
*
11+
* * Redistributions in binary form must reproduce the above copyright notice,
12+
* this list of conditions and the following disclaimer in the documentation
13+
* and/or other materials provided with the distribution.
14+
*
15+
* * Neither the name of ROBOTIS nor the names of its
16+
* contributors may be used to endorse or promote products derived from
17+
* this software without specific prior written permission.
18+
*
19+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20+
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22+
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23+
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26+
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27+
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29+
*******************************************************************************/
30+
31+
/* Author: Ryu Woon Jung (Leon) */
732

833
//
934
// ********* Bulk Read Example *********
@@ -40,7 +65,7 @@ class BulkRead
4065
public const int DXL1_ID = 1; // Dynamixel ID: 1
4166
public const int DXL2_ID = 2; // Dynamixel ID: 2
4267
public const int BAUDRATE = 1000000;
43-
public const string DEVICENAME = "/dev/ttyUSB0"; // Check which port is being used on your controller
68+
public const string DEVICENAME = "COM1"; // Check which port is being used on your controller
4469
// ex) "COM1" Linux: "/dev/ttyUSB0"
4570

4671
public const int TORQUE_ENABLE = 1; // Value for enabling the torque

c#/protocol1.0/bulk_read/win64/bulk_read/Properties/AssemblyInfo.cs

+14-14
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
using System.Runtime.CompilerServices;
33
using System.Runtime.InteropServices;
44

5-
// 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해
6-
// 제어됩니다. 어셈블리와 관련된 정보를 수정하려면
7-
// 이러한 특성 값을 변경하세요.
5+
6+
7+
88
[assembly: AssemblyTitle("bulk_read")]
99
[assembly: AssemblyDescription("")]
1010
[assembly: AssemblyConfiguration("")]
@@ -14,23 +14,23 @@
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]
1616

17-
// ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에
18-
// 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면
19-
// 해당 형식에 대해 ComVisible 특성을 true로 설정하세요.
17+
18+
19+
2020
[assembly: ComVisible(false)]
2121

22-
// 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다.
22+
2323
[assembly: Guid("25a1bbb1-0e8d-4f9f-8e31-ec0c1e61db35")]
2424

25-
// 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다.
25+
2626
//
27-
// 주 버전
28-
// 부 버전
29-
// 빌드 번호
30-
// 수정 버전
27+
28+
29+
30+
3131
//
32-
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로
33-
// 지정되도록 할 수 있습니다.
32+
33+
3434
// [assembly: AssemblyVersion("1.0.*")]
3535
[assembly: AssemblyVersion("1.0.0.0")]
3636
[assembly: AssemblyFileVersion("1.0.0.0")]

c#/protocol1.0/bulk_read/win64/bulk_read/dynamixel.cs

+33-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,43 @@
1+
/*******************************************************************************
2+
* Copyright (c) 2016, ROBOTIS CO., LTD.
3+
* All rights reserved.
4+
*
5+
* Redistribution and use in source and binary forms, with or without
6+
* modification, are permitted provided that the following conditions are met:
7+
*
8+
* * Redistributions of source code must retain the above copyright notice, this
9+
* list of conditions and the following disclaimer.
10+
*
11+
* * Redistributions in binary form must reproduce the above copyright notice,
12+
* this list of conditions and the following disclaimer in the documentation
13+
* and/or other materials provided with the distribution.
14+
*
15+
* * Neither the name of ROBOTIS nor the names of its
16+
* contributors may be used to endorse or promote products derived from
17+
* this software without specific prior written permission.
18+
*
19+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20+
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22+
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23+
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26+
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27+
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29+
*******************************************************************************/
30+
31+
/* Author: Ryu Woon Jung (Leon) */
32+
133
using System;
234
using System.Runtime.InteropServices;
335

436
namespace dynamixel_sdk
537
{
638
class dynamixel
739
{
8-
const string dll_path = "../../../c/build/win64/output/dxl_x64_c.dll";
40+
const string dll_path = "../../../../../../../../c/build/win64/output/dxl_x64_c.dll";
941

1042
#region PortHandler
1143
[DllImport(dll_path)]

0 commit comments

Comments
 (0)