Skip to content

rt-net/raspicat_slam_navigation

Repository files navigation

raspicat_slam_navigation

Raspberry Pi CatでSLAMやナビゲーションを行うためのROSメタパッケージです。

Requirements

Installation

Source Build

Raspberry Pi 4

# パッケージのダウンロード
cd ~/catkin_ws/src
git clone -b $ROS_DISTRO-devel https://github.com/rt-net/raspicat_slam_navigation.git
git clone -b $ROS_DISTRO-devel https://github.com/rt-net/raspicat_description.git
git clone -b $ROS_DISTRO-devel https://github.com/rt-net/raspicat_ros.git
# 依存パッケージのインストール
rosdep update
rosdep install -r -y -i --from-paths .
# ビルド&インストール
cd ~/catkin_ws
catkin_make
source ~/catkin_ws/devel/setup.bash

Remote PC

# パッケージのダウンロード
cd ~/catkin_ws/src
git clone -b $ROS_DISTRO-devel https://github.com/rt-net/raspicat_slam_navigation.git
git clone -b $ROS_DISTRO-devel https://github.com/rt-net/raspicat_description.git
git clone -b $ROS_DISTRO-devel https://github.com/rt-net/raspicat_ros.git
git clone -b $ROS_DISTRO-devel https://github.com/rt-net/raspicat_sim.git  # シミュレータを使う場合
# 依存パッケージのインストール
rosdep update
rosdep install -r -y -i --from-paths .
# ビルド&インストール
cd ~/catkin_ws
catkin_make
source ~/catkin_ws/devel/setup.bash

Package Overview

raspicat_slam

SLAMを行うためのパッケージです。

このパッケージでは、以下のROSパッケージを使用してSLAMを実行することができます。

raspicat_navigation

ナビゲーションを行うためのパッケージです。

このパッケージでは、以下のROSパッケージを使用してナビゲーションを実行することができます。

Usage

Rosbag play

SLAM

  • Gmapping
roslaunch raspicat_slam raspicat_gmapping.launch rosbag:=true rosbag_rate:=1 rosbag_topics:="/odom /scan /tf /tf_static" rosbag_filename:=$(rospack find raspicat_slam)/config/rosbag/iscas_museum.bag
roslaunch raspicat_slam map_save.launch map_file:=$(rospack find raspicat_slam)/config/maps/gmapping
raspicat_gmapping.mp4
  • Cartographer
roslaunch raspicat_slam raspicat_cartographer.launch rosbag:=true rosbag_rate:=1 rosbag_topics:="/odom /scan /tf /tf_static" rosbag_rate:=1 rosbag_filename:=$(rospack find raspicat_slam)/config/rosbag/iscas_museum.bag
roslaunch raspicat_slam map_save.launch map_file:=$(rospack find raspicat_slam)/config/maps/cartographer
raspicat_cartographer.mp4
  • Slam Toolbox
roslaunch raspicat_slam raspicat_slam_toolbox.launch rosbag:=true rosbag_rate:=1 rosbag_topics:="/odom /scan /tf /tf_static" rosbag_rate:=1 rosbag_filename:=$(rospack find raspicat_slam)/config/rosbag/iscas_museum.bag
roslaunch raspicat_slam map_save.launch map_file:=$(rospack find raspicat_slam)/config/maps/slam_toolbox
raspicat_slam_toolbox.mp4

Simulation

SLAM

  • Gmapping
roslaunch raspicat_gazebo raspicat_iscas_museum.launch rviz:=false
roslaunch raspicat_slam raspicat_gmapping.launch joy:=false
roslaunch raspicat_slam map_save.launch map_file:=$(rospack find raspicat_slam)/config/maps/gmapping
  • Cartographer
roslaunch raspicat_gazebo raspicat_iscas_museum.launch rviz:=false
roslaunch raspicat_slam raspicat_cartographer.launch joy:=false
roslaunch raspicat_slam map_save.launch map_file:=$(rospack find raspicat_slam)/config/maps/cartographer
  • Slam Toolbox
roslaunch raspicat_gazebo raspicat_iscas_museum.launch rviz:=false
roslaunch raspicat_slam raspicat_slam_toolbox.launch joy:=false
roslaunch raspicat_slam map_save.launch map_file:=$(rospack find raspicat_slam)/config/maps/slam_toolbox

Navigation

  • move_base
roslaunch raspicat_gazebo raspicat_iscas_museum.launch rviz:=false
roslaunch raspicat_navigation raspicat_navigation.launch navigation:="move_base"
raspicat_move_base.mp4
  • Neonavigation
roslaunch raspicat_gazebo raspicat_iscas_museum.launch rviz:=false
roslaunch raspicat_navigation raspicat_navigation.launch navigation:="neonav"
raspicat_neonavigation.mp4

Actual machine

SLAM

  • Gmapping
Raspberry Pi 4
roscore
roslaunch raspicat_bringup raspicat_bringup.launch lidar_ether:=false lidar_usb:=true joy:=true
Remote PC
roslaunch raspicat_slam raspicat_gmapping.launch
roslaunch raspicat_slam map_save.launch map_file:=$(rospack find raspicat_slam)/config/maps/gmapping
  • Cartographer
Raspberry Pi 4
roscore
roslaunch raspicat_bringup raspicat_bringup.launch lidar_ether:=false lidar_usb:=true joy:=true
Remote PC
roslaunch raspicat_slam raspicat_cartographer.launch
roslaunch raspicat_slam map_save.launch map_file:=$(rospack find raspicat_slam)/config/maps/cartographer
  • Slam Toolbox
Raspberry Pi 4
roscore
roslaunch raspicat_bringup raspicat_bringup.launch lidar_ether:=false lidar_usb:=true joy:=true
Remote PC
roslaunch raspicat_slam raspicat_slam_toolbox.launch
roslaunch raspicat_slam map_save.launch map_file:=$(rospack find raspicat_slam)/config/maps/slam_toolbox

Navigation

  • Move_base
Raspberry Pi 4
roscore
roslaunch raspicat_bringup raspicat_bringup.launch lidar_ether:=false lidar_usb:=true joy:=false
Remote PC
roslaunch raspicat_navigation raspicat_navigation.launch navigation:="move_base"
  • Neonavigation
Raspberry Pi 4
roscore
roslaunch raspicat_bringup raspicat_bringup.launch lidar_ether:=false lidar_usb:=true joy:=false
Remote PC
roslaunch raspicat_navigation raspicat_navigation.launch navigation:="neonav"

License

(C) 2020-2022 RT Corporation

各ファイルはライセンスがファイル中に明記されている場合、そのライセンスに従います。特に明記されていない場合は、Apache License, Version 2.0に基づき公開されています。
ライセンスの全文はLICENSEまたはhttps://www.apache.org/licenses/LICENSE-2.0から確認できます。

※このソフトウェアは基本的にオープンソースソフトウェアとして「AS IS」(現状有姿のまま)で提供しています。本ソフトウェアに関する無償サポートはありません。
バグの修正や誤字脱字の修正に関するリクエストは常に受け付けていますが、それ以外の機能追加等のリクエストについては社内のガイドラインを優先します。

About

Raspberry Pi CatでSLAM/Navigationを試すためのROSパッケージ

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •