Skip to main content
Skip table of contents

Communication Module

Overview

The Communication Module is a module that enables serial and TCP/IP communication with the robot.

This guide shows you how to create your own Framework Application besides the existing components provided by default in Dart-IDE.

This article assumes you're already familiar with Dart-IDE. If you aren't, we suggest you retake a look at VSCode Extension.

Create a new Communication Module Project

Open Dart-IDE, and do the following steps:

  • Step 1: In the main menu, select Create New Project.

스크린샷 2025-07-24 오전 7.44.10.png
  • Step 2: In the dialog that appears, select the Framework Module option in the Module section.

스크린샷 2025-07-24 오전 10.35.34.png

  • Step 3: In the dialog that appears, fill up all necessary information.

스크린샷 2025-07-24 오전 10.36.14.png

Number

Title

Description

1

Name

The name of the new project.

2

Package Name

The package name of the new project.

3

Framework Module Category

Framework Module Category

4

Framework Module Sub Category

Framework Module Detailed category

5

Save Location

The folder where you save the new project on your local PC.

6

Module Version

Module Version

7

DART SDK Version

The Dr.Dart-SDK version of the new project.
If you want to change the SDK version while coding, you must change the information on the manifest.js file. For more information, please refer to Dart-SDK

  • Step 5: Click Finish. Then you can see your framework module’s folder.

스크린샷 2025-07-24 오전 10.37.27.png

Understanding the Communication Module project structure

The chart below describes the project source structure of a Communication Module project.

The main parts of a Communication Module project are:

  • lib: Library folder

  • src: Package source folder

  • include: package header file folder

  • manifest.json: Package information definition file

Communication Module project structure

Example

This image shows a robot with a hand-shaped gripper making drip coffee.

  • Communication module transmits 0x04. This means for the "Grasp Gripper" command.

    • Communication module should know that 0x04 means “Grasp Gripper”.

    • When a developer, using IDE, who wants to control the Gripper writes a communication module, write it according to the protocol.

  • Also communication module can also transmit data having other meanings.

  • On the other hand, the communication module may receive meaningful data.

  • Of course, that data means the Gripper's response.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.