Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions en/mavgen_c/example_c_udp.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MAVLink C UDP Example

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.
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.
_QGroundControl_ responds with heartbeats and other messages, which are then printed by this program.

> **Note** The example should work on any Unix-like system (Linux, MacOS, BSD, etc.).
Expand All @@ -27,7 +27,7 @@ The following instructions show how to build and run the example.

> **Note** 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.

1. Open a terminal and navigate to [examples/linux](https://github.com/mavlink/mavlink/tree/master/examples/linux)
1. Open a terminal and navigate to [examples/c](https://github.com/mavlink/mavlink/tree/master/examples/c)
1. Compile with GCC using the following command:

```sh
Expand Down Expand Up @@ -55,7 +55,7 @@ The following instructions show how to build and run the example.
1. The example should start displaying the received data in the terminal:

```sh
~/github/mavlink/examples/linux$ ./mavlink_udp
~/github/mavlink/examples/c$ ./mavlink_udp
Bytes Received: 17
Datagram: fe 09 00 ff 00 00 00 00 00 00 06 08 c0 04 03 19 87
Received packet: SYS: 255, COMP: 0, LEN: 9, MSG ID: 0
Expand Down
8 changes: 4 additions & 4 deletions ko/examples/c_udp.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MAVLink C UDP Example

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. *QGroundControl* responds with heartbeats and other messages, which are then printed by this program.
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. *QGroundControl* responds with heartbeats and other messages, which are then printed by this program.

> **Note** The example should work on any Unix-like system (Linux, MacOS, BSD, etc.). These instructions were tested on a clean *Ubuntu LTS 16.04* installation using the default version of *gcc* (5.4.0).

Expand All @@ -16,7 +16,7 @@ The following instructions show how to build and run the example.

> **Note** 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.

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

3. Compile with GCC using the following command:

Expand All @@ -42,7 +42,7 @@ The following instructions show how to build and run the example.

6. The example should start displaying the received data in the terminal:

~/github/mavlink/examples/linux$ ./mavlink_udp
~/github/mavlink/examples/c$ ./mavlink_udp
Bytes Received: 17
Datagram: fe 09 00 ff 00 00 00 00 00 00 06 08 c0 04 03 19 87
Received packet: SYS: 255, COMP: 0, LEN: 9, MSG ID: 0
Expand All @@ -51,4 +51,4 @@ The following instructions show how to build and run the example.
Datagram: fe 09 01 ff 00 00 00 00 00 00 06 08 c0 04 03 f3 f9
Received packet: SYS: 255, COMP: 0, LEN: 9, MSG ID: 0

...
...
8 changes: 4 additions & 4 deletions ko/examples/example_c_udp.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MAVLink C UDP Example

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. *QGroundControl* responds with heartbeats and other messages, which are then printed by this program.
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. *QGroundControl* responds with heartbeats and other messages, which are then printed by this program.

> **Note** The example should work on any Unix-like system (Linux, MacOS, BSD, etc.). These instructions were tested on a clean *Ubuntu LTS 16.04* installation using the default version of *gcc* (5.4.0).

Expand All @@ -16,7 +16,7 @@ The following instructions show how to build and run the example.

> **Note** 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.

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

3. Compile with GCC using the following command:

Expand All @@ -42,7 +42,7 @@ The following instructions show how to build and run the example.

6. The example should start displaying the received data in the terminal:

~/github/mavlink/examples/linux$ ./mavlink_udp
~/github/mavlink/examples/c$ ./mavlink_udp
Bytes Received: 17
Datagram: fe 09 00 ff 00 00 00 00 00 00 06 08 c0 04 03 19 87
Received packet: SYS: 255, COMP: 0, LEN: 9, MSG ID: 0
Expand All @@ -51,4 +51,4 @@ The following instructions show how to build and run the example.
Datagram: fe 09 01 ff 00 00 00 00 00 00 06 08 c0 04 03 f3 f9
Received packet: SYS: 255, COMP: 0, LEN: 9, MSG ID: 0

...
...
6 changes: 3 additions & 3 deletions ko/mavgen_c/example_c_udp.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MAVLink C UDP Example

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. *QGroundControl* responds with heartbeats and other messages, which are then printed by this program.
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. *QGroundControl* responds with heartbeats and other messages, which are then printed by this program.

> **Note** The example should work on any Unix-like system (Linux, MacOS, BSD, etc.). These instructions were tested on a clean *Ubuntu LTS 20.04* installation using the default version of *gcc* (9.3.0).

Expand All @@ -23,7 +23,7 @@ The following instructions show how to build and run the example.

> **Note** 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.

1. Open a terminal and navigate to [examples/linux](https://github.com/mavlink/mavlink/tree/master/examples/linux)
1. Open a terminal and navigate to [examples/c](https://github.com/mavlink/mavlink/tree/master/examples/c)
1. Compile with GCC using the following command:
```bash
gcc -std=c99 -I ../../include/common -o mavlink_udp mavlink_udp.c
Expand All @@ -45,7 +45,7 @@ The following instructions show how to build and run the example.

1. The example should start displaying the received data in the terminal:
```
~/github/mavlink/examples/linux$ ./mavlink_udp
~/github/mavlink/examples/c$ ./mavlink_udp
Bytes Received: 17
Datagram: fe 09 00 ff 00 00 00 00 00 00 06 08 c0 04 03 19 87
Received packet: SYS: 255, COMP: 0, LEN: 9, MSG ID: 0
Expand Down
6 changes: 3 additions & 3 deletions kr/examples/c_udp.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MAVLink C UDP Example

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.
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.
*QGroundControl* responds with heartbeats and other messages, which are then printed by this program.

> **Note** The example should work on any Unix-like system (Linux, MacOS, BSD, etc.).
Expand All @@ -17,7 +17,7 @@ The following instructions show how to build and run the example.
<span></span>
> **Note** 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.

1. Open a terminal and navigate to [examples/linux](https://github.com/mavlink/mavlink/tree/master/examples/linux)
1. Open a terminal and navigate to [examples/c](https://github.com/mavlink/mavlink/tree/master/examples/c)
1. Compile with GCC using the following command:
```bash
gcc -std=c99 -I ../../include/common -o mavlink_udp mavlink_udp.c
Expand All @@ -40,7 +40,7 @@ The following instructions show how to build and run the example.

1. The example should start displaying the received data in the terminal:
```
~/github/mavlink/examples/linux$ ./mavlink_udp
~/github/mavlink/examples/c$ ./mavlink_udp
Bytes Received: 17
Datagram: fe 09 00 ff 00 00 00 00 00 00 06 08 c0 04 03 19 87
Received packet: SYS: 255, COMP: 0, LEN: 9, MSG ID: 0
Expand Down
6 changes: 3 additions & 3 deletions zh/examples/c_udp.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

> **注意** 您可以在您喜欢的地方放置/生成的库,但下面的建设命令假定它们位于 **包括** 在 MAVLink 根目录下。

2. 打开终端并导航到 [实例/linux](https://github.com/mavlink/mavlink/tree/master/examples/linux)
2. 打开终端并导航到 [实例/c](https://github.com/mavlink/mavlink/tree/master/examples/c)

3. 使用下列命令编译GCC:

Expand All @@ -42,7 +42,7 @@

6. 例子应该开始显示终端收到的数据:

~/github/mavlink/examples/linux$ ./mavlink_udp
~/github/mavlink/examples/c$ ./mavlink_udp
Bytes Received: 17
Datagram: fe 09 00 ff 00 00 00 00 00 00 06 08 c0 04 03 19 87
Received packet: SYS: 255, COMP: 0, LEN: 9, MSG ID: 0
Expand All @@ -51,4 +51,4 @@
Datagram: fe 09 01 ff 00 00 00 00 00 00 06 08 c0 04 03 f3 f9
Received packet: SYS: 255, COMP: 0, LEN: 9, MSG ID: 0

...
...
6 changes: 3 additions & 3 deletions zh/examples/example_c_udp.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

> **注意** 您可以在您喜欢的地方放置/生成的库,但下面的建设命令假定它们位于 **包括** 在 MAVLink 根目录下。

2. 打开终端并导航到 [实例/linux](https://github.com/mavlink/mavlink/tree/master/examples/linux)
2. 打开终端并导航到 [实例/c](https://github.com/mavlink/mavlink/tree/master/examples/c)

3. 使用下列命令编译GCC:

Expand All @@ -42,7 +42,7 @@

6. 例子应该开始显示终端收到的数据:

~/github/mavlink/examples/linux$ ./mavlink_udp
~/github/mavlink/examples/c$ ./mavlink_udp
Bytes Received: 17
Datagram: fe 09 00 ff 00 00 00 00 00 00 06 08 c0 04 03 19 87
Received packet: SYS: 255, COMP: 0, LEN: 9, MSG ID: 0
Expand All @@ -51,4 +51,4 @@
Datagram: fe 09 01 ff 00 00 00 00 00 00 06 08 c0 04 03 f3 f9
Received packet: SYS: 255, COMP: 0, LEN: 9, MSG ID: 0

...
...
6 changes: 3 additions & 3 deletions zh/mavgen_c/example_c_udp.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MAVLink C UDP Example

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. *QGroundControl* responds with heartbeats and other messages, which are then printed by this program.
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. *QGroundControl* responds with heartbeats and other messages, which are then printed by this program.

> **Note** The example should work on any Unix-like system (Linux, MacOS, BSD, etc.). These instructions were tested on a clean *Ubuntu LTS 20.04* installation using the default version of *gcc* (9.3.0).

Expand All @@ -23,7 +23,7 @@ The following instructions show how to build and run the example.

> **Note** 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.

1. Open a terminal and navigate to [examples/linux](https://github.com/mavlink/mavlink/tree/master/examples/linux)
1. Open a terminal and navigate to [examples/c](https://github.com/mavlink/mavlink/tree/master/examples/c)
1. Compile with GCC using the following command:
```bash
gcc -std=c99 -I ../../include/common -o mavlink_udp mavlink_udp.c
Expand All @@ -45,7 +45,7 @@ The following instructions show how to build and run the example.

1. The example should start displaying the received data in the terminal:
```
~/github/mavlink/examples/linux$ ./mavlink_udp
~/github/mavlink/examples/c$ ./mavlink_udp
Bytes Received: 17
Datagram: fe 09 00 ff 00 00 00 00 00 00 06 08 c0 04 03 19 87
Received packet: SYS: 255, COMP: 0, LEN: 9, MSG ID: 0
Expand Down