Skip to content

Commit aa19069

Browse files
authored
New Crowdin updates (#677)
* New translations index.md (Korean) * New translations payload.md (Korean) * New translations traffic_management.md (Korean) * New translations define_xml_element.md (Korean) * New translations mavlink_version.md (Korean) * New translations index.md (Korean) * New translations faq.md (Korean) * New translations contributing.md (Korean) * New translations generate_libraries.md (Korean) * New translations installation.md (Korean) * New translations mavlink_2.md (Korean) * New translations message_signing.md (Korean) * New translations packet_loss.md (Korean) * New translations serialization.md (Korean) * New translations wireshark.md (Korean) * New translations xml_schema.md (Korean) * New translations crc.md (Korean) * New translations index.md (Korean) * New translations howto_requestmessages.md (Korean) * New translations mission.md (Korean) * New translations offboard_control.md (Korean) * New translations parameter.md (Korean) * New translations timesync.md (Korean) * New translations arm_authorization.md (Korean) * New translations battery.md (Korean) * New translations camera_v1.md (Korean) * New translations command.md (Korean) * New translations events.md (Korean) * New translations gimbal_v2.md (Korean) * New translations component_metadata.md (Korean) * New translations index.md (Chinese Simplified) * New translations payload.md (Chinese Simplified) * New translations traffic_management.md (Chinese Simplified) * New translations define_xml_element.md (Chinese Simplified) * New translations mavlink_version.md (Chinese Simplified) * New translations index.md (Chinese Simplified) * New translations faq.md (Chinese Simplified) * New translations contributing.md (Chinese Simplified) * New translations generate_libraries.md (Chinese Simplified) * New translations installation.md (Chinese Simplified) * New translations mavlink_2.md (Chinese Simplified) * New translations message_signing.md (Chinese Simplified) * New translations packet_loss.md (Chinese Simplified) * New translations serialization.md (Chinese Simplified) * New translations wireshark.md (Chinese Simplified) * New translations xml_schema.md (Chinese Simplified) * New translations crc.md (Chinese Simplified) * New translations index.md (Chinese Simplified) * New translations howto_requestmessages.md (Chinese Simplified) * New translations mission.md (Chinese Simplified) * New translations offboard_control.md (Chinese Simplified) * New translations parameter.md (Chinese Simplified) * New translations timesync.md (Chinese Simplified) * New translations arm_authorization.md (Chinese Simplified) * New translations battery.md (Chinese Simplified) * New translations camera_v1.md (Chinese Simplified) * New translations command.md (Chinese Simplified) * New translations events.md (Chinese Simplified) * New translations gimbal_v2.md (Chinese Simplified) * New translations component_metadata.md (Chinese Simplified) * New translations common.md (Korean) * New translations common.md (Chinese Simplified)
1 parent d9404db commit aa19069

Some content is hidden

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

62 files changed

+262
-248
lines changed

ko/about/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,6 @@
6969
<dt>How can I further reduce the generated C library size?</dt>
7070
<dd>On extremely resource-constrained systems you may be able to reduce the size of the generated library by setting <code>MAVLINK_COMM_NUM_BUFFERS=1</code> and <code>MAVLINK_MAX_PAYLOAD_LEN</code>="size of your largest buffer" (assuming only one comm link and that your payload is less than the maximum supported by MAVLink).
7171
You should also make sure that any buffers you use to pass into MAVLink are also as small as possible (e.g. the one passed into <code>mavlink_msg_to_send_buffer()</code>).
72-
<br><br>Another alternative is to use one of the other generators. For example <a href="https://github.com/olliw42/fastmavlink">fastMavlink</a> asserts that it is smaller and more efficient than the libraries generated by mavgen (this has not been valided by the MAVLink project).</dd>
72+
<br><br>Another alternative is to use one of the other generators. For example <a href="https://github.com/olliw42/fastmavlink">fastMavlink</a> asserts that it is smaller and more efficient than the libraries generated by mavgen (this has not been validated by the MAVLink project).</dd>
7373

7474
</dl>

ko/contributing/contributing.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The sections below explain how to contribute to each category and how to raise a
2828
Changes to the [mavgen](../getting_started/generate_libraries.md#mavgen) generator must be added as pull requests through the [ArduPilot/pymavlink](https://github.com/ArduPilot/pymavlink) project.
2929

3030
Changes to existing generator code (e.g. bug fixes) are automatically tested by continuous integration (github actions).
31-
Once you have made against your PR pass, the changes will be reviewed by a project team member.
31+
Once you have made your PR pass, the changes will be reviewed by a project team member.
3232

3333
More significant changes to the generator, such as the addition of a new programming language, will require:
3434

@@ -47,14 +47,14 @@ Ideally:
4747

4848
## How to Contribute Stand Alone Generators
4949

50-
We would prefer that new languages are supported via [mavgen](../getting_started/generate_libraries.md#mavgen) rather than "standalone generators", as this provides a consistent inteface for end users, and ensures that source files are parsed and handled consistently.
50+
We would prefer that new languages are supported via [mavgen](../getting_started/generate_libraries.md#mavgen) rather than "standalone generators", as this provides a consistent interface for end users, and ensures that source files are parsed and handled consistently.
5151

5252
That said will consider moving stand-alone generators into the MAVLink project under the same conditions as for new mavgen generator code (see section above).
5353
Primarily this means that the team developing the generator must provide sufficient validation that the generator works and commitment to support it.
5454

5555
## How to Open a Pull Request
5656

57-
1. First [fork and clone](https://help.github.com/articles/fork-a-repo) the project project.
57+
1. First [fork and clone](https://help.github.com/articles/fork-a-repo) the project.
5858

5959
2. Create a feature branch off master
6060

ko/file_formats/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ _QGroundControl_ and many other GCS support an older plain-text format for missi
1616
This is not officially part of MAVLink and does not allow rally point or geofence information to be provided.
1717

1818
The format is shown below.
19-
The first line contains the file format and version information, while subsequent the line(s) are mission items.
19+
The first line contains the file format and version information, while subsequent line(s) are mission items.
2020

2121
```
2222
QGC WPL <VERSION>

ko/getting_started/generate_libraries.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ For more information see [Supported Languages](../index.md#supported_languages).
2020
## Pre-requisites
2121

2222
1. You must already have [Installed the MAVLink toolchain](../getting_started/installation.md), which includes the mavgenerate and mavgen tools used below as well as the [XML Message Definitions](../messages/index.md).
23-
2. If you are generating messages for a [custom dialect](../messages/index.md#dialects), copy the dialect [XML definition file(s)](../messages/index.md#xml-definition-files--dialects) into the directory [message_definitions/v1.0/](https://github.com/mavlink/mavlink/tree/master/message_definitions/v1.0).
23+
2. If you are generating messages for a [custom dialect](../messages/dialects.md), copy the dialect [XML definition file(s)](../messages/index.md#xml-definition-files--dialects) into the directory [message_definitions/v1.0/](https://github.com/mavlink/mavlink/tree/master/message_definitions/v1.0).
2424

2525
::: info
2626
_mavgen_ can handle dialects that have relative paths for included XML files (e.g typically [common.xml](../messages/common.md)), but other generators may not.
@@ -90,7 +90,7 @@ python3 -m pymavlink.tools.mavgen --lang=C --wire-protocol=2.0 --output=generate
9090
```
9191

9292
:::info
93-
The syntax for for generating Python modules is the same, except that the `--output` specifies a _filename_ rather than a directory.
93+
The syntax for generating Python modules is the same, except that the `--output` specifies a _filename_ rather than a directory.
9494
:::
9595

9696
<!-- https://github.com/ArduPilot/pymavlink/issues/203 -->

ko/getting_started/installation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Installing MAVLink Toolchain
22

3-
This topic explains how to install the [MAVLink toolchain](https://github.com/mavlink/mavlink). The toolchain includes the [XML message definitions](../messages/index.md) as well as the the GUI/command line tools that use the definitions to [Generate MAVLink Source Files](../getting_started/generate_libraries.md).
3+
This topic explains how to install the [MAVLink toolchain](https://github.com/mavlink/mavlink). The toolchain includes the [XML message definitions](../messages/index.md) as well as the GUI/command line tools that use the definitions to [Generate MAVLink Source Files](../getting_started/generate_libraries.md).
44

55
:::tip
66
You do not need to install or generate the source files if you are using the C programming language and a standard [dialect](../messages/index.md#dialects).
@@ -25,9 +25,9 @@ To install the MAVLink toolchain:
2525

2626
- **Windows:** Download from [Python for Windows](https://www.python.org/downloads/)
2727
- **Ubuntu Linux** Make sure Python and Pip are both installed:
28-
```
29-
sudo apt install python3-tk
30-
```
28+
```
29+
sudo apt install python3-tk
30+
```
3131
3232
2. Clone the official [mavlink repo](https://github.com/mavlink/mavlink) or your fork with your custom dialect:
3333

ko/guide/crc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ MAVLink services that need to use a Cyclic Redundancy Check (CRC) should choose
44

55
:::info
66
Using the same CRC implementation for all cases means that only one implementation is required.
7-
Do not introduce another unless there without a compelling technical reason.
7+
Do not introduce another unless there is a compelling technical reason.
88
:::
99

1010
:::info

ko/guide/define_xml_element.md

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -93,48 +93,48 @@ To create a new dialect file:
9393

9494
3. Copy the following text into the new file.
9595

96-
```xml
97-
<?xml version="1.0"?>
98-
<mavlink>
96+
```xml
97+
<?xml version="1.0"?>
98+
<mavlink>
9999

100-
<include>common.xml</include>
101-
<!-- <version>9</version> -->
102-
<dialect>8</dialect>
100+
<include>common.xml</include>
101+
<!-- <version>9</version> -->
102+
<dialect>8</dialect>
103103

104-
<enums>
105-
<!-- Enums are defined here (optional) -->
106-
</enums>
104+
<enums>
105+
<!-- Enums are defined here (optional) -->
106+
</enums>
107107

108-
<messages>
109-
<!-- Messages are defined here (optional) -->
110-
</messages>
108+
<messages>
109+
<!-- Messages are defined here (optional) -->
110+
</messages>
111111

112-
</mavlink>
113-
```
112+
</mavlink>
113+
```
114114

115-
The template assumes that your dialect:
115+
The template assumes that your dialect:
116116

117-
- imports **common.xml** (`<include>common.xml</include>`)
118-
- takes its version from **common.xml** (which is why the `version` tags are commented out).
117+
- imports **common.xml** (`<include>common.xml</include>`)
118+
- takes its version from **common.xml** (which is why the `version` tags are commented out).
119119

120120
4. Update the `include`(s):
121121

122-
- if the dialect is not based on **common.xml** remove the existing `include` line
123-
- Add additional `<include> </include>` elements to import additional files/dialects.
122+
- if the dialect is not based on **common.xml** remove the existing `include` line
123+
- Add additional `<include> </include>` elements to import additional files/dialects.
124124

125-
::: info
126-
Includes in nested files are ignored.
127-
:::
125+
::: info
126+
Includes in nested files are ignored.
127+
:::
128128

129129
5. Update the `version`:
130130

131-
- Most dialects should leave the version commented out (i.e. all dialects that include **common.xml**).
132-
- Dialects that are _not_ based on **common.xml** can uncomment the `<version>6</version>` line and use whatever version is desired.
131+
- Most dialects should leave the version commented out (i.e. all dialects that include **common.xml**).
132+
- Dialects that are _not_ based on **common.xml** can uncomment the `<version>6</version>` line and use whatever version is desired.
133133

134-
::: info
135-
The `version` specified in the top level file is used by default, if present.
136-
If it is not present in the file, then a `version` from an included file is used.
137-
:::
134+
::: info
135+
The `version` specified in the top level file is used by default, if present.
136+
If it is not present in the file, then a `version` from an included file is used.
137+
:::
138138

139139
6. Update the `<dialect>8</dialect>` line to replace `8` with the next-largest unused dialect number (based on the other files in the folder).
140140

@@ -176,7 +176,7 @@ Messages must be declared between the `<messages></messages>` tags in either **c
176176
Each message is defined using `<message id="" name="LIBRARY_UNIQUE_NAME"> ... </message>` tags (with unique `id` and `name` attributes).
177177

178178
:::tip
179-
The only only difference between messages defined in **common.xml** or _dialect_ files is they they must use different `id` ranges in order to ensure that the `ids` are unique. See [Message Id Ranges](#message_id_ranges) for more information.
179+
The only difference between messages defined in **common.xml** or _dialect_ files is they they must use different `id` ranges in order to ensure that the `ids` are unique. See [Message Id Ranges](#message_id_ranges) for more information.
180180
:::
181181

182182
The main rules for messages are:
@@ -255,7 +255,7 @@ For a message in **common.xml** either change requires the agreement of major st
255255
- Create a PR and discuss in the MAVLink developer meeting.
256256

257257
::: tip
258-
Before proposing changes to **common.xml** check the codebase of major stakeholder to confirm impact.
258+
Before proposing changes to **common.xml** check the codebase of major stakeholders to confirm impact.
259259
:::
260260

261261
It is possible to change the message and field descriptions without breaking binary compatibility.
@@ -413,7 +413,7 @@ If an enum needs to be changed then there are several options:
413413
For either case, all users of the enum will need to be updated with new generated libraries.
414414

415415
:::tip
416-
Before proposing changes to **common.xml** check the codebase of major stakeholder to confirm impact.
416+
Before proposing changes to **common.xml** check the codebase of major stakeholders to confirm impact.
417417
:::
418418

419419
For an enum in **common.xml** either change requires the agreement of major stakeholders
@@ -480,7 +480,7 @@ If you are creating a new public dialect, [create an issue](https://github.com/m
480480
:::
481481

482482
There are a number of common and ArduPilot commands that are outside the ranges (e.g. 16, 200, etc.).
483-
Generally you would only use these these ranges in order to give a new command an id that is close to related to that of related commands.
483+
Generally you would only use these ranges in order to give a new command an id that is close to related to that of related commands.
484484
This can be done provided that the command id value is not used by any other XML file in the _mavlink/mavlink_ repo.
485485

486486
### Entry Names {#command_names}
@@ -531,7 +531,7 @@ If the param is reused the original default value must still mean "no action", s
531531

532532
:::info
533533
Unfortunately this means that a reserved `param` must have its default value decided when the command is declared!
534-
The default value cannot later be changed from `NaN` to `0` (or visa versa) without potential compatibility issues.
534+
The default value cannot later be changed from `NaN` to `0` (or vice versa) without potential compatibility issues.
535535
:::
536536

537537
To declare a `param` as `reserved` with `default` value of `NaN` you should use the following syntax.

ko/guide/mavlink_2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The key new features of _MAVLink 2_ are:
1313
- [Packet signing](../guide/message_signing.md) - Authenticate that messages were sent by trusted systems.
1414
- [Message extensions](../guide/define_xml_element.md#message_extensions) - Add new fields to existing MAVLink message definitions without breaking binary compatibility for receivers that have not updated.
1515
- [Empty-byte payload truncation](../guide/serialization.md#payload_truncation) - Empty (zero-filled) bytes at the end of the serialized payload must be removed before sending (All bytes were sent in _MAVLink 1_, regardless of content).
16-
- [Compatibility Flags](../guide/serialization.md#compat_flags)/[Incompatibility Flags](../guide/serialization.md#incompat_flags) - Allow for backwards compatible evolution of the protocol by indicating frames that must be handled in a special/non-standard way (packets with compatibility flags can still be handled in the standard way, while packets with incompatibility flags must be dropped if the flage is not supported).
16+
- [Compatibility Flags](../guide/serialization.md#compat_flags)/[Incompatibility Flags](../guide/serialization.md#incompat_flags) - Allow for backwards compatible evolution of the protocol by indicating frames that must be handled in a special/non-standard way (packets with compatibility flags can still be handled in the standard way, while packets with incompatibility flags must be dropped if the flag is not supported).
1717

1818
:::tip
1919
The _MAVLink 2_ [design document](https://docs.google.com/document/d/1XtbD0ORNkhZ8eKrsbSIZNLyg9sFRXMXbsR2mp37KbIg/edit?usp=sharing) provides additional background information about the changes.

ko/guide/mavlink_version.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The _MAVLink 2.0_ C/C++ and Python libraries are backwards compatible with MAVLi
1010

1111
:::info
1212
_MAVLink v0.9_ is a pre-release version that is no longer supported.
13-
The associated message set deleted in August 2018.
13+
The associated message set was deleted in August 2018.
1414
Legacy code may be present in generator and test code.
1515
:::
1616

@@ -51,7 +51,7 @@ This is reasonable because the majority of systems and communication links now r
5151
Most flight stacks assume communication links are transparent.
5252
Possible causes of links not being transparent are:
5353

54-
- Routing, which can can change or reserialize MAVLink packets (for example, there might be an intermediate router that converts between versions).
54+
- Routing, which can change or reserialize MAVLink packets (for example, there might be an intermediate router that converts between versions).
5555
- Wireless links that rely on fixed length packetization may distort or truncate variable-length MAVLink 2 frames.
5656
For example, older SiK Radios may consume MAVLink 2 messages.
5757

0 commit comments

Comments
 (0)