Skip to content

Commit fedda2a

Browse files
authored
New Crowdin updates (#578)
* New translations readme.md (Korean) * New translations readme.md (Chinese Simplified) * New translations storm32.md (Korean) * New translations storm32.md (Chinese Simplified) * New translations all.md (Korean) * New translations all.md (Chinese Simplified) * New translations ardupilotmega.md (Korean) * New translations ardupilotmega.md (Chinese Simplified) * New translations common.md (Korean) * New translations common.md (Chinese Simplified) * New translations loweheiser.md (Korean) * New translations loweheiser.md (Chinese Simplified) * New translations example_c_udp.md (Korean) * New translations example_c_udp.md (Chinese Simplified) * New translations ardupilotmega.md (Korean) * New translations ardupilotmega.md (Chinese Simplified)
1 parent f5384b7 commit fedda2a

File tree

14 files changed

+606
-52
lines changed

14 files changed

+606
-52
lines changed

ko/mavgen_c/example_c_udp.md

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

3-
The [MAVLink UDP Example](https://github.com/mavlink/mavlink/tree/master/examples/linux) is a simple C example that sends some data to _QGroundControl_ using MAVLink over UDP.
3+
The [MAVLink UDP Example](https://github.com/mavlink/mavlink/tree/master/examples/c) is a simple C example that sends some data to _QGroundControl_ using MAVLink over UDP.
44
_QGroundControl_ responds with heartbeats and other messages, which are then printed by this program.
55

66
:::info
@@ -31,12 +31,12 @@ The following instructions show how to build and run the example.
3131
You can put/generate the library wherever you like, but the build command below assumes they are located in directory named **include** below the MAVLink root directory.
3232
:::
3333

34-
2. Open a terminal and navigate to [examples/linux](https://github.com/mavlink/mavlink/tree/master/examples/linux)
34+
2. Open a terminal and navigate to [examples/c](https://github.com/mavlink/mavlink/tree/master/examples/c)
3535

3636
3. Compile with GCC using the following command:
3737

3838
```sh
39-
gcc -std=c99 -I ../../include/common -o mavlink_udp mavlink_udp.c
39+
gcc -std=c99 -I ../../include/common -o mavlink_udp udp_example.c
4040
```
4141

4242
::: info
@@ -64,7 +64,7 @@ The following instructions show how to build and run the example.
6464
6. The example should start displaying the received data in the terminal:
6565

6666
```sh
67-
~/github/mavlink/examples/linux$ ./mavlink_udp
67+
~/github/mavlink/examples/c$ ./mavlink_udp
6868
Bytes Received: 17
6969
Datagram: fe 09 00 ff 00 00 00 00 00 00 06 08 c0 04 03 19 87
7070
Received packet: SYS: 255, COMP: 0, LEN: 9, MSG ID: 0

ko/messages/README.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
<!-- THIS FILE IS AUTO-GENERATED FROM XML: https://github.com/mavlink/mavlink/blob/master/doc/mavlink_xml_to_markdown.py (Do not update mavlink-devguide) -->
2+
3+
# XML Definition Files & Dialects
4+
5+
MAVLink definitions files can be found in [mavlink/message definitions](https://github.com/mavlink/mavlink/blob/master/message_definitions/).
6+
These can roughly be divided into:
7+
8+
- [Standard definitions](#standard-definitions) - core definitions shared by many flight stacks
9+
- [Test definitions](#test-definitions) - definitions to support testing and validation
10+
- [Dialects](#dialects) - _protocol-_ and _vendor-specific_ messages, enums and commands
11+
12+
## Standard Definitions
13+
14+
The following XML definition files are considered standard/core (i.e. not dialects):
15+
16+
- [minimal.xml](minimal.md) - the minimum set of entities (messages, enums, MAV_CMD) required to set up a MAVLink network.
17+
- [standard.xml](standard.md) - the standard set of entities that are implemented by almost all flight stacks (at least 2, in a compatible way).
18+
This `includes` [minimal.xml](minimal.md).
19+
- [common.xml](common.md) - the set of entities that have been implemented in at least one core flight stack.
20+
This `includes` [standard.xml](minimal.md)
21+
22+
> **Note** We are still working towards moving the truly standard entities from **common.xml** to **standard.xml**
23+
> Currently you should include [common.xml](common.md)
24+
25+
In addition:
26+
27+
- [development.xml](development.md) - XML definitions that are _proposed_ for inclusion in the standard definitions.
28+
These are work in progress.
29+
30+
## Test Definitions
31+
32+
The following definitions are used for testing and dialect validation:
33+
34+
- [all.xml](all.md) - This includes all other XML files, and is used to verify that there are no ID clashes (and can potentially be used by GCS to communicate with any core dialect).
35+
- [test.xml](test.md) - Test XML definition file.
36+
37+
## Dialects {#dialects}
38+
39+
MAVLink _dialects_ are XML definition files that define _protocol-_ and _vendor-specific_ messages, enums and commands.
40+
41+
> **Note** Vendor forks of MAVLink may contain XML entities that have not yet been pushed into the main repository (and will not be documented).
42+
43+
Dialects may _include_ other MAVLink XML files, which may in turn contain other XML files (up to 5 levels of XML file nesting are allowed - see `MAXIMUM_INCLUDE_FILE_NESTING` in [mavgen.py](https://github.com/ArduPilot/pymavlink/blob/master/generator/mavgen.py#L44)).
44+
A typical pattern is for a dialect to include [common.xml](../messages/common.md) (containing the _MAVLink standard definitions_), extending it with vendor or protocol specific messages.
45+
46+
The dialect definitions are:
47+
48+
- [cubepilot.xml](cubepilot.md)
49+
- [python_array_test.xml](python_array_test.md)
50+
- [ardupilotmega.xml](ardupilotmega.md)
51+
- [common.xml](common.md)
52+
- [development.xml](development.md)
53+
- [matrixpilot.xml](matrixpilot.md)
54+
- [ASLUAV.xml](ASLUAV.md)
55+
- [csAirLink.xml](csAirLink.md)
56+
- [all.xml](all.md)
57+
- [storm32.xml](storm32.md)
58+
- [icarous.xml](icarous.md)
59+
- [test.xml](test.md)
60+
- [AVSSUAS.xml](AVSSUAS.md)
61+
- [uAvionix.xml](uAvionix.md)
62+
- [minimal.xml](minimal.md)
63+
- [paparazzi.xml](paparazzi.md)
64+
- [standard.xml](standard.md)
65+
- [ualberta.xml](ualberta.md)
66+
- [loweheiser.xml](loweheiser.md)

ko/messages/all.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Dialect: all
44

5-
This dialect is intended to `include` all other [dialects](../messages/index.md) in the [mavlink/mavlink](https://github.com/mavlink/mavlink) repository (including [external dialects](https://github.com/mavlink/mavlink/tree/master/external/dialects#mavlink-external-dialects)).
5+
This dialect is intended to `include` all other [dialects](../messages/README.md) in the [mavlink/mavlink](https://github.com/mavlink/mavlink) repository (including [external dialects](https://github.com/mavlink/mavlink/tree/master/external/dialects#mavlink-external-dialects)).
66

77
Dialects that are in **all.xml** are guaranteed to not have clashes in messages, enums, enum ids, and MAV_CMDs.
88
This ensure that:
@@ -57,9 +57,9 @@ span.warning {
5757

5858
| Type | Defined | Included |
5959
| -------------------------- | ------- | -------- |
60-
| [Messages](#messages) | 0 | 364 |
61-
| [Enums](#enumerated-types) | 0 | 235 |
62-
| [Commands](#mav_commands) | 216 | 0 |
60+
| [Messages](#messages) | 0 | 372 |
61+
| [Enums](#enumerated-types) | 0 | 236 |
62+
| [Commands](#mav_commands) | 218 | 0 |
6363

6464
The following sections list all entities in the dialect (both included and defined in this file).
6565

0 commit comments

Comments
 (0)