How can I get started with the [FASTDDS] 03-hello_fastdds tutorial?
- 内容介绍
- 文章标签
- 相关推荐
本文共计467个文字,预计阅读时间需要2分钟。
直接输出结果:
hello-world-fastdds步骤如下:
1.创建消息.IDL文件,使用fastddsgen生成消息对应的源文件。
2.编译、运行示例程序。
3.创建消息文件://hello_fastdds.I
hello-world-fastdds
本章我们运行第一个fastdds示例——hello-world-fastdds。步骤如下:
- 创建
消息.IDL文件 - 使用
fastddsgen生成消息对应的源文件 - 编译、运行示例
创建消息文件
//hello_fastdds.IDL
struct hello_world
{
string name;
int counter;
};
生成消息对应的源文件
fastddsgen会在命令运行的文件夹下生成文件。
本文共计467个文字,预计阅读时间需要2分钟。
直接输出结果:
hello-world-fastdds步骤如下:
1.创建消息.IDL文件,使用fastddsgen生成消息对应的源文件。
2.编译、运行示例程序。
3.创建消息文件://hello_fastdds.I
hello-world-fastdds
本章我们运行第一个fastdds示例——hello-world-fastdds。步骤如下:
- 创建
消息.IDL文件 - 使用
fastddsgen生成消息对应的源文件 - 编译、运行示例
创建消息文件
//hello_fastdds.IDL
struct hello_world
{
string name;
int counter;
};
生成消息对应的源文件
fastddsgen会在命令运行的文件夹下生成文件。

![How can I get started with the [FASTDDS] 03-hello_fastdds tutorial?](/imgrand/btlaKBFC.webp)