Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
8e514b2
window update librarysetup and basic read write tutorial
GyuH13 Sep 2, 2025
63ca708
h3 to h2
GyuH13 Sep 2, 2025
9a9a151
add sync and bulk tutorial window version
GyuH13 Sep 3, 2025
072c50a
devide window and linux in tutorial
GyuH13 Sep 3, 2025
047453d
add run icon image
GyuH13 Sep 3, 2025
0760a35
update python window tutorial
GyuH13 Sep 3, 2025
1ebb89b
refactorying construction of library setup
GyuH13 Sep 4, 2025
d6ac31f
unify form in navigation
GyuH13 Sep 4, 2025
08cf6c5
reflect ai review
GyuH13 Sep 4, 2025
a58270b
fix head title size error
GyuH13 Sep 4, 2025
32575ac
make basic frame
GyuH13 Sep 4, 2025
9129d6a
sample code re numbering
GyuH13 Sep 4, 2025
f461596
renumbering api reference
GyuH13 Sep 4, 2025
82d0996
Merge branch 'feature-sdk-window-update' of https://github.com/ROBOTI…
GyuH13 Sep 4, 2025
68f912c
api manual update
GyuH13 Sep 8, 2025
cd8dac4
api update
GyuH13 Sep 10, 2025
3df9353
update api tutorial step1
GyuH13 Oct 10, 2025
1c354be
single motor tutorial
GyuH13 Oct 13, 2025
9160a60
api group control tutorial
GyuH13 Oct 13, 2025
e1d90bc
remove example category
GyuH13 Oct 13, 2025
9a6a833
update api reference
GyuH13 Oct 14, 2025
de804b9
dynmaixel easy sdk update
GyuH13 Oct 20, 2025
7671689
Merge branch 'master' of https://github.com/ROBOTIS-GIT/emanual into …
GyuH13 Oct 20, 2025
0c0af32
fix bug that group control category linked with Dynamixel SDK sidebar
GyuH13 Oct 21, 2025
9aa650e
add error reference
GyuH13 Oct 21, 2025
518527c
reflect review
GyuH13 Oct 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
89 changes: 54 additions & 35 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,9 @@ main:
- title: "DYNAMIXEL"
titlekr: "다이나믹셀"
children:
- title: "DYNAMIXEL Easy SDK"
titlekr: "다이나믹셀 Easy SDK"
url: /software/dynamixel/dynamixel_easy_sdk/getting_started/
- title: "DYNAMIXEL SDK"
titlekr: "다이나믹셀 SDK"
url: /software/dynamixel/dynamixel_sdk/overview/
Expand Down Expand Up @@ -29628,6 +29631,43 @@ robotis_manipulator_libs:
- title: "Step4 Use it"
url: /software/robotis_manipulator_libs/#step4-use-it

#DYNAMIXEL EASY SDK sidebar
dynamixel_easy_sdk:
- title: "Getting Started"
url: /software/dynamixel/dynamixel_easy_sdk/getting_started/#requirements
children:
- title: "Requirements"
url: /software/dynamixel/dynamixel_easy_sdk/getting_started/#requirements
- title: "Download and Build SDK"
url: /software/dynamixel/dynamixel_easy_sdk/getting_started/#download-and-build-sdk
- title: "Hardware Setup"
url: /software/dynamixel/dynamixel_easy_sdk/getting_started/#hardware-setup
- title: "Move Motor to target position"
url: /software/dynamixel/dynamixel_easy_sdk/getting_started/#move-motor-to-target-position
- title: "Introduction"
url: /software/dynamixel/dynamixel_easy_sdk/introduction/#dynamixel-easy-sdk-introduction
- title: "Single Motor Control Tutorial"
url: /software/dynamixel/dynamixel_easy_sdk/single_motor_tutorial
children:
- title: "Moving DYNAMIXEL"
url: /software/dynamixel/dynamixel_easy_sdk/single_motor_tutorial_step1/#dynamixel-easy-sdk-tutorial-step1
- title: "Read Data from DYNAMIXEL"
url: /software/dynamixel/dynamixel_easy_sdk/single_motor_tutorial_step2/#dynamixel-easy-sdk-tutorial-step2
- title: "Leader and Follower"
url: /software/dynamixel/dynamixel_easy_sdk/single_motor_tutorial_step3/#dynamixel-easy-sdk-tutorial-step3
- title: "OMX Teleoperation"
url: /software/dynamixel/dynamixel_easy_sdk/single_motor_tutorial_step4/#dynamixel-easy-sdk-tutorial-step4
- title: "Group Motor Control Tutorial"
url: /software/dynamixel/dynamixel_easy_sdk/group_motor_tutorial
children:
- title: "Simultaneous Control"
url: /software/dynamixel/dynamixel_easy_sdk/group_motor_tutorial_step5/#dynamixel-easy-sdk-tutorial-step5
- title: "Simultaneous Reading"
url: /software/dynamixel/dynamixel_easy_sdk/group_motor_tutorial_step6/#dynamixel-easy-sdk-tutorial-step6
- title: "OMX Teleoperation"
url: /software/dynamixel/dynamixel_easy_sdk/group_motor_tutorial_step7/#dynamixel-easy-sdk-tutorial-step7
- title: "API Reference"
url: /software/dynamixel/dynamixel_easy_sdk/api_reference/#api-reference

#DYNAMIXEL SDK sidebar
dynamixel_sdk:
Expand All @@ -29646,7 +29686,6 @@ dynamixel_sdk:
url: /software/dynamixel/dynamixel_sdk/overview/#supported-operating-systems
- title: "Supported Languages"
url: /software/dynamixel/dynamixel_sdk/overview/#supported-languages
##
- title: "Quick Start Guide"
url: /software/dynamixel/dynamixel_sdk/quick_start_guide/#quick-start-guide
children:
Expand All @@ -29657,40 +29696,20 @@ dynamixel_sdk:
- title: "Library Setup"
url: /software/dynamixel/dynamixel_sdk/library_setup/#library-setup
children:
- title: "C Windows"
url: /software/dynamixel/dynamixel_sdk/library_setup/c_windows/#c-windows
- title: "C Linux"
url: /software/dynamixel/dynamixel_sdk/library_setup/c_linux/#c-linux
- title: "C macOS"
url: /software/dynamixel/dynamixel_sdk/library_setup/c_macos/#c-macos
- title: "CPP Windows"
url: /software/dynamixel/dynamixel_sdk/library_setup/cpp_windows/#cpp-windows
- title: "CPP Linux"
url: /software/dynamixel/dynamixel_sdk/library_setup/cpp_linux/#library-setup-cpp-linux
- title: "CPP macOS"
url: /software/dynamixel/dynamixel_sdk/library_setup/cpp_macos/#cpp-macos
- title: "Csharp Windows"
url: /software/dynamixel/dynamixel_sdk/library_setup/csharp_windows/#csharp-windows
- title: "Python Windows"
url: /software/dynamixel/dynamixel_sdk/library_setup/python_windows/#python-windows
- title: "Python Linux"
url: /software/dynamixel/dynamixel_sdk/library_setup/python_linux/#python-linux
- title: "Python macOS"
url: /software/dynamixel/dynamixel_sdk/library_setup/python_macos/#python-macos
- title: "Java Windows"
url: /software/dynamixel/dynamixel_sdk/library_setup/java_windows/#java-windows
- title: "Java Linux"
url: /software/dynamixel/dynamixel_sdk/library_setup/java_linux/#java-linux
- title: "Java macOS"
url: /software/dynamixel/dynamixel_sdk/library_setup/java_macos/#java-macos
- title: "MATLAB Windows"
url: /software/dynamixel/dynamixel_sdk/library_setup/matlab_windows/#matlab-windows
- title: "MATLAB Linux"
url: /software/dynamixel/dynamixel_sdk/library_setup/matlab_linux/#matlab-linux
- title: "MATLAB macOS"
url: /software/dynamixel/dynamixel_sdk/library_setup/matlab_macos/#matlab-macos
- title: "LabVIEW Windows"
url: /software/dynamixel/dynamixel_sdk/library_setup/labview_windows/#labview-windows
- title: "C"
url: /software/dynamixel/dynamixel_sdk/library_setup/c/#library-setup-c-linux
- title: "CPP"
url: /software/dynamixel/dynamixel_sdk/library_setup/cpp/#library-setup-cpp-linux
- title: "Python"
url: /software/dynamixel/dynamixel_sdk/library_setup/python/#library-setup-python-linux
- title: "Csharp"
url: /software/dynamixel/dynamixel_sdk/library_setup/csharp/#library-setup-csharp-windows
- title: "Java"
url: /software/dynamixel/dynamixel_sdk/library_setup/java/#library-setup-java-linux
- title: "MATLAB"
url: /software/dynamixel/dynamixel_sdk/library_setup/matlab/#library-setup-matlab-linux
- title: "LabVIEW"
url: /software/dynamixel/dynamixel_sdk/library_setup/labview/#library-setup-labview-windows
- title: Basic Read/Write tutorial
url: /software/dynamixel/dynamixel_sdk/basic_read_write_tutorial/
children:
Expand Down
114 changes: 114 additions & 0 deletions _includes/en/software/dynamixel_sdk/library_setup/c_linux.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
{::options parse_block_html="true" /}

<div class="main-header">
<h1 id="library-setup-c-linux">Library Setup &lt;C Linux&gt;</h1>
</div>
<style>
.main-header h1::before {
content: none !important;
}
</style>

This tutorial is written assuming you are using the latest version of Ubuntu. Commands may not be the same for alternative distributions of Linux.

# [Install requirements](#install-requirements)

- The DYNAMIXEL SDK requires GNU gcc ver. 5.4.0 20160609 or higher
- To check the version of your gcc compiler
``` bash
$ gcc -v
```

- Download the requirements
``` bash
$ sudo apt-get install gcc
$ sudo apt-get install build-essential
$ sudo apt-get install gcc-multilib g++-multilib # For cross-compiling
```

# [Build the SDK](#build-the-SDK)
- Check your system architecture
``` bash
$ uname -m
```

- Enter the appropriate build folder depending on your system and build the SDK
``` bash
$ cd DynamixelSDK/c/build/linux64 # for 64-bit systems
$ sudo make install
```
- make sure to enter the correct folder according to your system architecture.
- `linux64` for 64-bit systems
- `linux32` for 32-bit systems
- `linux_sbc` for ARM-based SBCs like Raspberry Pi

- If the build completes successfully, you should see the .so file generated inside the build folder.
``` bash
$ ls
libdxl_x86_c.so Makefile
```

- Grant permission to access the port
``` bash
$ sudo chmod 666 /dev/ttyUSB0
```

<br>
- Common `make` commands for building the SDK
``` bash
$ make # Compile the source code and generate binaries
$ make install # Install the library files to the system
$ make clean # Remove all build files and reset the build environment
$ make uninstall # Remove files installed by 'make install' from the system
$ make reinstall # Reinstall by cleaning, rebuilding, and installing again
```
{: .notice--success}

# [Building and Running the Sample Code](#building-and-running-the-sample-code)

The DYNAMIXEL SDK example code for C uses a .so (Linux Shared Object) library built in C.
The previous instructions walk you through building the latest library files in `[DynamixelSDK folder]/c/build/[linuxXX]/libdxl_xYY_c.so` built by its own source code.

* Go to the Makefile's directory using `cd`:

``` bash
$ cd [DynamixelSDK folder]/c/example/protocol1.0/read_write/linux32
```

OR

``` bash
$ cd [DynamixelSDK folder]/c/example/protocol1.0/read_write/linux64
```

![](/assets/images/sw/sdk/dynamixel_sdk/library_setup/c/linux/sample_code/exc4.png)

* Build the executable file:

``` bash
$ make
```

![](/assets/images/sw/sdk/dynamixel_sdk/library_setup/c/linux/sample_code/exc1.png)

* If there is an error, `$ make clean` then `$ make` again.

* To delete the executable file, `$ make clean`.

![](/assets/images/sw/sdk/dynamixel_sdk/library_setup/c/linux/sample_code/exc2.png)

* Access the port you will be using to communicate with DYNAMIXEL:

``` bash
$ sudo chmod a+rw /dev/ttyUSB0
```

![](/assets/images/sw/sdk/dynamixel_sdk/library_setup/c/linux/sample_code/exc3.png)

* Run the executable file:

``` bash
$ ./read_write
```

![](/assets/images/sw/sdk/dynamixel_sdk/library_setup/c/linux/sample_code/exc5.png)
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
---
layout: archive
lang: en
ref: c_macos
read_time: true
share: true
author_profile: false
permalink: /docs/en/software/dynamixel/dynamixel_sdk/library_setup/c_macos/
sidebar:
title: DYNAMIXEL SDK
nav: "dynamixel_sdk"
---

<style>body {counter-reset: h1 4 !important;}</style>
<div style="counter-reset: h2 2"></div>
<!-- <style>body {counter-reset: h1 4 !important;}</style>
<div style="counter-reset: h2 2"></div> -->

<!--[dummy Header 1]>
<h1 id="library-setup"><a href="#library-setup">Library Setup</a></h1>
<![end dummy Header 1]-->

## [C macOS](#c-macos)
{::options parse_block_html="true" /}

<div class="main-header">
<h1 id="library-setup-c-macos">Library Setup &lt;C macOS&gt;</h1>
</div>
<style>
.main-header h1::before {
content: none !important;
}
</style>

{% include en/maintenance_is_in_progress.md %}

Expand Down
Loading