#!/bin/bash
# DISPLAYが空でないか確認
if [ -z "$DISPLAY" ]; then
# 使用可能なディスプレイを探す
for i in {0..10}; do
# Xサーバが起動しているか確認
if xset -display ":$i" q &> /dev/null; then
export DISPLAY=":$i"
echo "DISPLAY環境変数を設定しました: $DISPLAY"
break
fi
done
# 使用可能なディスプレイが見つからない場合のエラーメッセージ
if [ -z "$DISPLAY" ]; then
echo "エラー: 使用可能なディスプレイが見つかりませんでした。" >&2
exit 1
fi
else
echo "DISPLAY環境変数は設定済みです: $DISPLAY"
fi
mROS2経由でdesctiptionを吐く
Aug 8, 2023RustでROS2 2020.10.26 岡本拓海 ros2-rustを動かしてみた報告と理解ができていない部分のまとめです。 環境 OS Ubuntu 20.04 ROS FoxyFitzroy(Dashingでは何個かヘッダが見つからずビルドエラー)
Jun 8, 2023Native Rust components for ROS2<br/>参加報告 in ROSCon 2022 ふりかえり会 2022.11.21 岡本拓海 twitter: @MrBearing2 資料URL https://hackmd.io/@MrBearing/SJPAMZG8s
Jun 8, 2023リポジトリ https://github.com/MrBearing/obniz-rust 開発ロードマップ https://www.mindomo.com/mindmap/obniz_rust-7fb0a99ef73845a9af1369a3d631de5c 外部設計 以下のような書き方でプログラムできると嬉しい。。 println!("connect"),
Apr 8, 2023or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up