Skip to content

Rowing0914/SLAM_Robot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SLAM and autonomous navigation with ROS + kinect + Arduino

This is the project for the autonomous navigation of the mobile robot which is built from scratch by myself with a huge support from Dr.Stephen Alty at Royal Holloway, University of London

Motivational Work

https://sungjik.wordpress.com/2015/09/28/my_personal_robotic_companion/

Hardware

Tools

Environment

  • DELL Inspiron 15 7500
    • CPU: i7 7th Gen
    • GPU: GTX1060 Max Design
    • OS: Ubuntu 16.0.4 LTS
    • ROS: Kinetic
    • Python: 3.6.2
  • Raspberry Pi
    • Model: 3 Model B+
    • OS: Light Ubuntu(I wanted to use Ubuntu)

How to use

# ===== Server =====
$ export ROS_IP=ip_address
$ export ROS_MASTER_URI=http://ip_address_of_master:1131
$ cd ~/sketchbook/rosserial_test
# using arduino-make, we deploy the code(.ino file) followed by launching the ros topic
$ sh deploy_run_ros.sh

# ===== Local Machine =====
$ export ROS_IP=ip_address
$ export ROS_MASTER_URI=http://ip_address_of_master:1131
# check if the topic has been successfully launched
$ rostopic list
# go forward
$ rostopic pub /remote_control std_msgs/String "data: 'FORWARD'"
# turn left
$ rostopic pub /remote_control std_msgs/String "data: 'LEFT'"
# turn right
$ rostopic pub /remote_control std_msgs/String "data: 'RIGHT'"
# stop moving
$ rostopic pub /remote_control std_msgs/String "data: 'STOP'"

Compile and Uploading files through CLI on Arduino

# install arduino-mk
$ sudo apt-get install arduino-mk
$ make # verification of the code
$ make upload # upload the verified code
$ make upload clean # upload the verified code followed by removing the built directory
# for more details pls, check the git repo

ROS on distributed machines

$ export ROS_IP=ip_address
# 11311 is the default port for rosmaster
$ export ROS_MASTER_URI=http://ip_address_of_master:1131 

# Test
# on master
$ roscore
$ rosrun rospy_tutorials listener.py

# on server
$ rosrun rospy_tutorials talker.py

1552685720092

DC Motor Specification

Specification Link

History

  1. I have tried Cam Jam Edukit 3 Robotics

  1. Try making it powerful by attaching metal plates

hmm... does not look pretty good and it was quite unstable... Eventually it got broken.lol

  1. So I have decided to refurbish the base by using wooden pranks

this time it turned out that the legs was not stable... I mean it's obviously looks like a legless bouncing chicken.

  1. So I bought two DC motors and a caster wheel for a chair! and replaced the chicken legs with them!

  1. Finally I moved on to playing with Kinect and solder a bit of the power supply cable of it to attach the DC DC converter which is connected to the portable power supply!

About

Road to SLAM engineer!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published