Ask Your Question
0

Robot with raspberry pi and ROS

asked 2017-11-30 16:34:27 -0500

Mohammedism gravatar image

Hello everyone, Sorry for the general question, but i did not know when to ask. I have been using ROS for a while now (SImulation), and i know how to use SLAM to build a map. So i decided to build a robot with raspberry pi with ROS installed in it. I have never built such a thing before, so is there any place you recommend that i should start from? and what is the easiest way to build such a robot ?

thank you

edit retag flag offensive close merge delete

Comments

Hi, I am also building a robot with raspberry pi. Let me know of your progress and maybe I can give you some pointers if you want.

gpldecha gravatar imagegpldecha ( 2018-04-05 14:40:26 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-12-01 04:57:45 -0500

updated 2017-12-01 05:07:58 -0500

Depending upon the material available, you can start the process in the following way:-

1) Robot model - Decide the kind of robot you want to build. Is it a differential drive robot, a four wheeled one or do you want to build some other config.? You will find plenty of kits and stuff online.( This is assuming that it's a ground based mobile robot. If it's like a quadcopter, again you need to choose if you want a plus or an X frame)

2) Differential Kinematics- You can study how the robots velocities are related to it's individual wheel velocities. After this you can develop equations to update the robots odometry( one step towards robot localisation) using feedback from wheel encoders. You will require motor drivers, servo motors and wheel encoders which are compatible with Raspberry Pi.

3) For SLAM- you need to know what sensor are you using. Depending upon this you can choose a suitable SLAM algorithm to use. A Monocular camera ? An RGBD camera or a LiDAR. Or maybe a LidarLiteV3 like sensor rotated using a servo motor ? You also need to work on the communications between Raspberry Pi and a desktop computer as I'm not sure if SLAM can run on a Raspberry Pi. However, I might be wrong as well.

After this you can start creating ROS nodes to take control decisions from your localisation data. The visual/laser-based odometry data from SLAM can be taken from suitable topics and utilized.

To conclude, it depends a lot on your budget and what kind of sensors you have access to. For a more mathematical foundation, you can take up this course, or maybe read the book on "Introduction to Autonomous Mobile Robots" Autonomous Mobile Robots course from ETHZ

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2017-11-30 16:34:27 -0500

Seen: 607 times

Last updated: Dec 01 '17