SlideShare ist ein Scribd-Unternehmen logo
1 von 5
Developed By: SYED MURTAZA HUSSAIN RIZVI.
Dedication
Specially this project work is dedicated to my parants S.Mujahid hussain (My Father),
Kaneez Fatima Rizvi (My Mother), Institute of Industrial Electronics Engineering: IIEE and to
the students of IIEE.
Contribution
 Thanks to https://www.instructables.com/Using-RPlidar-With-Robot-Navigation/ for
raspberry Pi 3 Model B ubiquity ROS image.
 Thanks to http://chaolong-chen blog.logdown.com/posts/696217-cmake for changing
cmake of ROS built cmake.
 The procedure of downloading image and install it inti raspberry PI 3 Model b is given as
follows.
 https://learn.ubiquityrobotics.com/kinetic_pi_image_downloads or
https://drive.google.com/file/d/1i2dIdWIRxAvBUhbEWWqz2AGqrtGw2dBs/view?usp=share
_link download latest image of ROS kinetic.
 https://etcher.download/ from this link download etcher for writing the image on SD card.
 Insert SD card at-least of 16 Gb of original SanDisk of read 90 mb/sec and write 100 mb/sec
on your computer using card reader and select downloaded image by clicking select from
files and click on write it takes about 10 to 15 min.
 After this insert SD-card on raspberry pi and run.
 Password is ubuntu find terminal and run
This system has already Ros kinetic. Therefore, we started with Connect to the WiFi network that starts
with ubiquityrobot. Password is robotseverywhere. Go to Terminal, and connect to your Pi using ssh
ubuntu@10.42.0.1. Password is ubuntu.
 sudo systemctl disable magni-base
 Then disconnect ubiquityrobot network and Connect raspberry pi to your wifi device and
connect with your pc through ssh communication which is given as follows:
 ssh ubuntu@ubiquityrobot.local
 similarly note that : in above last command your pc and raspberry pi must be connected with
same wifi device
 similarly note that : when you connect your pc to raspberry pi again and again you can find
the error of same local host you can solve this by running given commands:
 ssh-keygen -R ubiquityrobot.local
 run again
 ssh ubuntu@ubiquityrobot.local
 Time to upgrade Cmake So we will start by install the cmake 3.7.2 Installation by a PPA
(Upgrade to 3.7). by run given command find your cmake version:
 At my time 3.7 is the latest version and also Arduino ROS serial support up to 3.5. so you
must be upgrade your cmake version if it is 3.5.2 in above given image.
 For upgradation of cmake version run following command :
 sudo apt-get install software-properties-common
 sudo add-apt-repository ppa:george-edison55/cmake-3.x
 sudo apt-get update
 sudo apt-get install cmake
 sudo apt-get upgrade
 curl -sS https://cmake.org/files/v3.4/cmake-3.4.0-Linux-x86_64.tar.gz | sudo tar -xzC /opt
 note that : in above last command you will change 3.4 to 3.7 or above and 3.4.0 to 3.7.2 to
above.
 sudo apt-get install build-essential
 wget http://www.cmake.org/files/v3.3/cmake-3.3.2.tar.gz
 similarly note that : in above last command you will change 3.3 to 3.7 or above and 3.3.2 to
3.7.2 to above.
 tar xf cmake-3.3.2.tar.gz
 similarly note that : in above last command you will change 3.3.2 to 3.7.2 to above.
 cd cmake-3.3.2
 similarly note that : in above last command you will change 3.3.2 to 3.7.2 to above.
 ./configure
 make
 sudo apt-get install checkinstall
 sudo checkinstall
 sudo make install
 then installation of RPlidar kinetic installation is follows:
 cd catkin_ws
 cd src
 git clone https://github.com/Slamtec/rplidar_ros.git
 cd ..
 catkin_make
 source devel/setup.bash
 connect rplidar to raspberry pi port and run:
 ls -l /dev |grep ttyUSB
 sudo chmod 666 /dev/ttyUSB0
 roslaunch rplidar_ros view_rplidar.launch
 Next step is to install hector slam package using following commands:
 sudo apt-get install qt4-qmake qt4-dev-tools
 cd catkin_ws
 cd src
 git clone https://github.com/tu-darmstadt-ros-pkg/hector_slam.git
 cd ..
 catkin_make
 similarly note that : in above last command you will modify some hector slam files you can
do this from Set the Coordinate Frame Parameters heading till end of page in given link:
 https://automaticaddison.com/how-to-build-an-indoor-map-using-ros-and-lidar-based-
slam/
 And finally, its time to install Arduino ROSserial and installation ROS libraries in raspberry pi
https://www.youtube.com/watch?v=WLVfZXxpHYI&ab_channel=TizianoFiorenzani you can
follow this tutorial otherwise plz follow given commands:
 https://www.arduino.cc/en/software go site and download Linux ARM file 32-bit like this:
 Extract this file, copy arduino 1.8.13 folder from your download folder to your Desktop and
change name from arduino 1.8.13 to arduino.
 Run given commands:
 cd Desktop/Arduino/
 ./install.sh
 Close terminal and open new terminal and run
 sudo apt-get install ros-kinetic-rosserial-arduino
 sudo apt-get install ros- kinetic-rosserial
 cd Desktop/arduino/libraries/
 ls
 rosrun rosserial_arduino make_libraries.py .
 open arduino and go to files go in examples and see Ros lib is present or not if it is present
well done otherwise again follow the commands carefully.
 Upload your code to Arduino.
 Open terminal and run roscore
 Open 2nd
terminal and run follow command for gateway of serial communication of
aurduino to ros:
 rosrun rosserial_python serial_node.py /dev/ttyUSB0 _baud:=115200
note: usb should be connected on first port and if there is any type of device connect before
usb remove and connect Arduino firstly.
ROS master slave communication link
 https://youtu.be/pJ_LL4gGGEM
 THANKS all of you and specially to my teachers who give the idea about this technology.

Weitere ähnliche Inhalte

Ähnlich wie Respberry Pi 3 Model B ubiquity ROS image.docx

Ähnlich wie Respberry Pi 3 Model B ubiquity ROS image.docx (20)

Howto Pxeboot
Howto PxebootHowto Pxeboot
Howto Pxeboot
 
Scripting for infosecs
Scripting for infosecsScripting for infosecs
Scripting for infosecs
 
9 creating cent_os 7_mages_for_dpdk_training
9 creating cent_os 7_mages_for_dpdk_training9 creating cent_os 7_mages_for_dpdk_training
9 creating cent_os 7_mages_for_dpdk_training
 
Rust Embedded Development on ESP32 and basics of Async with Embassy
Rust Embedded Development on ESP32 and basics of Async with EmbassyRust Embedded Development on ESP32 and basics of Async with Embassy
Rust Embedded Development on ESP32 and basics of Async with Embassy
 
Plug-ins: Building, Shipping, Storing, and Running - Nandhini Santhanam and T...
Plug-ins: Building, Shipping, Storing, and Running - Nandhini Santhanam and T...Plug-ins: Building, Shipping, Storing, and Running - Nandhini Santhanam and T...
Plug-ins: Building, Shipping, Storing, and Running - Nandhini Santhanam and T...
 
Using Nix and Docker as automated deployment solutions
Using Nix and Docker as automated deployment solutionsUsing Nix and Docker as automated deployment solutions
Using Nix and Docker as automated deployment solutions
 
CodeIgniter For Project : Workshop 001 - Install Docker and CodeIgniter
CodeIgniter For Project : Workshop 001 - Install Docker and CodeIgniterCodeIgniter For Project : Workshop 001 - Install Docker and CodeIgniter
CodeIgniter For Project : Workshop 001 - Install Docker and CodeIgniter
 
Deploy django apps using docker
Deploy django apps using dockerDeploy django apps using docker
Deploy django apps using docker
 
Rally_Docker_deployment_JumpVM
Rally_Docker_deployment_JumpVMRally_Docker_deployment_JumpVM
Rally_Docker_deployment_JumpVM
 
DeveloperWeek 2015: A Practical Introduction to Docker
DeveloperWeek 2015: A Practical Introduction to DockerDeveloperWeek 2015: A Practical Introduction to Docker
DeveloperWeek 2015: A Practical Introduction to Docker
 
5 年後還是新手 - WordPress Plugin 開發大冒險 - GOTY
5 年後還是新手 - WordPress Plugin 開發大冒險 - GOTY5 年後還是新手 - WordPress Plugin 開發大冒險 - GOTY
5 年後還是新手 - WordPress Plugin 開發大冒險 - GOTY
 
A Continuous Packaging Pipeline
A Continuous Packaging PipelineA Continuous Packaging Pipeline
A Continuous Packaging Pipeline
 
GDG-ANDROID-ATHENS Meetup: Build in Docker with Jenkins
GDG-ANDROID-ATHENS Meetup: Build in Docker with Jenkins GDG-ANDROID-ATHENS Meetup: Build in Docker with Jenkins
GDG-ANDROID-ATHENS Meetup: Build in Docker with Jenkins
 
ERP System Implementation Kubernetes Cluster with Sticky Sessions
ERP System Implementation Kubernetes Cluster with Sticky Sessions ERP System Implementation Kubernetes Cluster with Sticky Sessions
ERP System Implementation Kubernetes Cluster with Sticky Sessions
 
Tutorial to setup OpenStreetMap tileserver with customized boundaries of India
Tutorial to setup OpenStreetMap tileserver with customized boundaries of IndiaTutorial to setup OpenStreetMap tileserver with customized boundaries of India
Tutorial to setup OpenStreetMap tileserver with customized boundaries of India
 
An Overview of the IHK/McKernel Multi-kernel Operating System
An Overview of the IHK/McKernel Multi-kernel Operating SystemAn Overview of the IHK/McKernel Multi-kernel Operating System
An Overview of the IHK/McKernel Multi-kernel Operating System
 
Docker in Action
Docker in ActionDocker in Action
Docker in Action
 
Check the version with fixes. Link in description
Check the version with fixes. Link in descriptionCheck the version with fixes. Link in description
Check the version with fixes. Link in description
 
KCD Munich 2023 - Demystifying Container Images Understanding Multi-Architect...
KCD Munich 2023 - Demystifying Container Images Understanding Multi-Architect...KCD Munich 2023 - Demystifying Container Images Understanding Multi-Architect...
KCD Munich 2023 - Demystifying Container Images Understanding Multi-Architect...
 
Docker as an every day work tool
Docker as an every day work toolDocker as an every day work tool
Docker as an every day work tool
 

Kürzlich hochgeladen

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Kürzlich hochgeladen (20)

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 

Respberry Pi 3 Model B ubiquity ROS image.docx

  • 1. Developed By: SYED MURTAZA HUSSAIN RIZVI. Dedication Specially this project work is dedicated to my parants S.Mujahid hussain (My Father), Kaneez Fatima Rizvi (My Mother), Institute of Industrial Electronics Engineering: IIEE and to the students of IIEE. Contribution  Thanks to https://www.instructables.com/Using-RPlidar-With-Robot-Navigation/ for raspberry Pi 3 Model B ubiquity ROS image.  Thanks to http://chaolong-chen blog.logdown.com/posts/696217-cmake for changing cmake of ROS built cmake.  The procedure of downloading image and install it inti raspberry PI 3 Model b is given as follows.  https://learn.ubiquityrobotics.com/kinetic_pi_image_downloads or https://drive.google.com/file/d/1i2dIdWIRxAvBUhbEWWqz2AGqrtGw2dBs/view?usp=share _link download latest image of ROS kinetic.  https://etcher.download/ from this link download etcher for writing the image on SD card.  Insert SD card at-least of 16 Gb of original SanDisk of read 90 mb/sec and write 100 mb/sec on your computer using card reader and select downloaded image by clicking select from files and click on write it takes about 10 to 15 min.  After this insert SD-card on raspberry pi and run.  Password is ubuntu find terminal and run This system has already Ros kinetic. Therefore, we started with Connect to the WiFi network that starts with ubiquityrobot. Password is robotseverywhere. Go to Terminal, and connect to your Pi using ssh ubuntu@10.42.0.1. Password is ubuntu.
  • 2.  sudo systemctl disable magni-base  Then disconnect ubiquityrobot network and Connect raspberry pi to your wifi device and connect with your pc through ssh communication which is given as follows:  ssh ubuntu@ubiquityrobot.local  similarly note that : in above last command your pc and raspberry pi must be connected with same wifi device  similarly note that : when you connect your pc to raspberry pi again and again you can find the error of same local host you can solve this by running given commands:  ssh-keygen -R ubiquityrobot.local  run again  ssh ubuntu@ubiquityrobot.local  Time to upgrade Cmake So we will start by install the cmake 3.7.2 Installation by a PPA (Upgrade to 3.7). by run given command find your cmake version:  At my time 3.7 is the latest version and also Arduino ROS serial support up to 3.5. so you must be upgrade your cmake version if it is 3.5.2 in above given image.  For upgradation of cmake version run following command :  sudo apt-get install software-properties-common  sudo add-apt-repository ppa:george-edison55/cmake-3.x  sudo apt-get update  sudo apt-get install cmake  sudo apt-get upgrade  curl -sS https://cmake.org/files/v3.4/cmake-3.4.0-Linux-x86_64.tar.gz | sudo tar -xzC /opt  note that : in above last command you will change 3.4 to 3.7 or above and 3.4.0 to 3.7.2 to above.  sudo apt-get install build-essential
  • 3.  wget http://www.cmake.org/files/v3.3/cmake-3.3.2.tar.gz  similarly note that : in above last command you will change 3.3 to 3.7 or above and 3.3.2 to 3.7.2 to above.  tar xf cmake-3.3.2.tar.gz  similarly note that : in above last command you will change 3.3.2 to 3.7.2 to above.  cd cmake-3.3.2  similarly note that : in above last command you will change 3.3.2 to 3.7.2 to above.  ./configure  make  sudo apt-get install checkinstall  sudo checkinstall  sudo make install  then installation of RPlidar kinetic installation is follows:  cd catkin_ws  cd src  git clone https://github.com/Slamtec/rplidar_ros.git  cd ..  catkin_make  source devel/setup.bash  connect rplidar to raspberry pi port and run:  ls -l /dev |grep ttyUSB  sudo chmod 666 /dev/ttyUSB0  roslaunch rplidar_ros view_rplidar.launch  Next step is to install hector slam package using following commands:  sudo apt-get install qt4-qmake qt4-dev-tools  cd catkin_ws  cd src  git clone https://github.com/tu-darmstadt-ros-pkg/hector_slam.git  cd ..  catkin_make  similarly note that : in above last command you will modify some hector slam files you can do this from Set the Coordinate Frame Parameters heading till end of page in given link:
  • 4.  https://automaticaddison.com/how-to-build-an-indoor-map-using-ros-and-lidar-based- slam/  And finally, its time to install Arduino ROSserial and installation ROS libraries in raspberry pi https://www.youtube.com/watch?v=WLVfZXxpHYI&ab_channel=TizianoFiorenzani you can follow this tutorial otherwise plz follow given commands:  https://www.arduino.cc/en/software go site and download Linux ARM file 32-bit like this:  Extract this file, copy arduino 1.8.13 folder from your download folder to your Desktop and change name from arduino 1.8.13 to arduino.  Run given commands:  cd Desktop/Arduino/  ./install.sh  Close terminal and open new terminal and run  sudo apt-get install ros-kinetic-rosserial-arduino  sudo apt-get install ros- kinetic-rosserial  cd Desktop/arduino/libraries/  ls  rosrun rosserial_arduino make_libraries.py .  open arduino and go to files go in examples and see Ros lib is present or not if it is present well done otherwise again follow the commands carefully.  Upload your code to Arduino.  Open terminal and run roscore  Open 2nd terminal and run follow command for gateway of serial communication of aurduino to ros:  rosrun rosserial_python serial_node.py /dev/ttyUSB0 _baud:=115200 note: usb should be connected on first port and if there is any type of device connect before usb remove and connect Arduino firstly.
  • 5. ROS master slave communication link  https://youtu.be/pJ_LL4gGGEM  THANKS all of you and specially to my teachers who give the idea about this technology.