VOOZH about

URL: https://qiita.com/k-koh/items/c57c02df772785816c14

⇱ Dronecode - uORB Messaging #ROS - Qiita


👁 Image
1

Go to list of users who liked

0

Share on X(Twitter)

Share on Facebook

Add to Hatena Bookmark

More than 5 years have passed since last update.

@k-koh(Jinxian Xiang)in👁 Image
株式会社センシンロボティクス

Dronecode - uORB Messaging

1
Last updated at Posted at 2020-07-05

ドローンの自律飛行を実現するには、DronecodeとMAVSDKを試してみます。

目次

  1. PX4環境構築
  2. uORB Messaging
  3. QGroundControlの使い方(ユーザーガイド)
  4. MAVLinkの入門
  5. QGroundControlのカスタマイズ開発

動作環境

  • Ubuntu 18.04
  • ROS Melodic

uORB Messaging

uORBとは、スレッドとプロセス内通信で非同期な publish/subscribeのメッセージAPIです。

新しいTopicの追加

  • msg/フォルダーに.msgファイルを追加
  • msg/CMakeLists.txtにファイル名を追加
  • Topicを使用には、headerファイルをinclude
# include <uORB/topics/topic_name.h>

Topicのパブリッシュ

list all topics

ls /obj

listen to the content of one topic for 5 messages

listener sensor_accel 5

shows the publishing frequency of each topic in real-time

uorb top
1

Go to list of users who liked

0
0

Go to list of comments

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1

Go to list of users who liked

0