Autonomous Rover From Scratch (ROS) Part 2

  Рет қаралды 74,131

Vinay Lanka

Vinay Lanka

Күн бұрын

Welcome to Part 2 of making an Autonomous robot from scratch using ROS.
This ultra-long episode covers a lot of stuff. We finally finish writing the Arduino sketch for the hardware. We briefly understand what ROS is, why it was formed and how it works. We look at the kinematics of a differential-drive robot and implement the differential-drive package in a ROS workspace.
Liked the video? Please drop a like.
I would love to hear feedback in the comments below.
Also, subscribe and check out the channel for more content!
The code used in the video -
github.com/vinay-lanka/navbot...
ROS Installation -
wiki.ros.org/melodic/Installation
ROS Network Setup -
wiki.ros.org/ROS/NetworkSetup
Missed a link? Lemme know in the comment section below.
Music used in the video -
Honey (Prod. Kid Polo)
Rarin Instrumental (Prod. GTA)

Пікірлер: 110
@TheRealFrankWizza
@TheRealFrankWizza 2 жыл бұрын
This doesn't look as complicated as I thought it was. Thanks!
@surajchess3114
@surajchess3114 2 жыл бұрын
Best video on this topic on whole KZfaq I have found till now
@VivekGuptaIn
@VivekGuptaIn 3 жыл бұрын
Great Build Man! and great explanation as well!
@dignadicesj
@dignadicesj 2 жыл бұрын
Thanks for the quality content, man! Excellent explanations of concepts.
@deekshavinjamuri1331
@deekshavinjamuri1331 3 жыл бұрын
Well explained, thanks for making this, good luck! Also, please make that ARM video, looking forward to it!
@user-rg2dn1ns1h
@user-rg2dn1ns1h 6 ай бұрын
Where is part 3?
@gowthamgowtham8587
@gowthamgowtham8587 2 жыл бұрын
look Amezing , what a clear cut of words congratulations looking forward more like interfacing lider then stack navigation then ros control . keep doing
@WIZURAI-AGV
@WIZURAI-AGV Жыл бұрын
Great instructional video and quite clear. Thanks!
@MK-9519
@MK-9519 2 жыл бұрын
Thanks for your detailed information , waiting for 3rd video
@antonioconsiglio95
@antonioconsiglio95 2 жыл бұрын
Very worthfull time spend to watch, thanks for sharing 👍 .
@talhakhalid6381
@talhakhalid6381 2 жыл бұрын
well described but can you define the wireless connectivity you implemented on this project?
@dibyasankhakundu9147
@dibyasankhakundu9147 2 жыл бұрын
Hi can you pit some links for learning and understanding the PID controller and also about two drive wheel kinematics formula. Thanks in advance.
@claybowser
@claybowser 10 күн бұрын
thank you for this presentation
@jjadams2850
@jjadams2850 3 жыл бұрын
Very well produced content
@whtsp_ig_shorts_india
@whtsp_ig_shorts_india 3 жыл бұрын
Great explanation, thank you
@jadenngo1941
@jadenngo1941 2 жыл бұрын
Love the videos. Keep it up!
@vetriselvan7759
@vetriselvan7759 2 жыл бұрын
Kindly upload the part 3!
@vishnub9165
@vishnub9165 3 жыл бұрын
Great content man
@humanoid91
@humanoid91 Жыл бұрын
This was an interesting series! everything was well explained! good job! What about a part 3?!
@jacobbaehr7874
@jacobbaehr7874 Жыл бұрын
Why do you need to use both a raspberry pi and another computer with a ros installation and a ws? cant you just SSH into the PI through windows and start scripts that way?
@christopherlazo2064
@christopherlazo2064 Жыл бұрын
Hello, would this be possible in STM32 instead of arduino?
@markojosuepuchurilopez7564
@markojosuepuchurilopez7564 11 ай бұрын
Hi man, I think it is too late, but what incredible video. You should keep doing these kind of videos. Excellent !!!!!! I would like to know how do you program the lidar.
@deviprasadp3391
@deviprasadp3391 3 жыл бұрын
Power Banks Come with 12v,1.5A port, so why the use boost converter?
@JoshKindhart
@JoshKindhart Жыл бұрын
Super helpful! Thank you!
@abdulmajidbabale2610
@abdulmajidbabale2610 3 жыл бұрын
Hey @Vinay Lanka, pls can I get the link to order that LiDar ?
@mrabbot-iit1908
@mrabbot-iit1908 11 ай бұрын
bhaiya how to begin ros as a beginner and how to implement it in hardware please tell, I am doing mechatronics engineering at IIT Bhilai.
@anaskhairan4195
@anaskhairan4195 10 ай бұрын
How u use rviz without vnc server? Isthat raspberry connect to your monitor with wireless? Iam sorry iam newbie
@bgowtham217
@bgowtham217 5 ай бұрын
Hi really good explanation but I have one doubt. For controlling motor drive and Ros Raspberry Pi is enough but why your using pi and ardunio boards?
@FenilJainBCE
@FenilJainBCE 3 жыл бұрын
Looks slick
@JohnMacGuy
@JohnMacGuy 2 жыл бұрын
Great video up to the point of trying to clone differential-drive. The link in your comment went to the hardware code...no differential drive. The github clone in your video did not exist. Since this is an essential part of making this project work, where can I find the differential-drive github URL?
@s.murtazahussain3029
@s.murtazahussain3029 Жыл бұрын
do you have the schematic diagram of ardiuno to motor driver wiring ??? if you have give it to me thanks!!
@JayasuryaaGR
@JayasuryaaGR 2 жыл бұрын
Nice useful video. Thankyou so much
@theh0lycow
@theh0lycow 6 ай бұрын
Thank you so much, helped a lot
@jihadbader
@jihadbader Жыл бұрын
Thank you, the SLAM part please. :D
@manavt2000
@manavt2000 2 жыл бұрын
Please suggest some resources to learn ROS
@mavencheong
@mavencheong 2 жыл бұрын
hi, when the next episode will get release? Can't wait for it.
@whac-a-robot
@whac-a-robot Жыл бұрын
Can you tell me how to tune PID?
@KanagachidambaresanGR
@KanagachidambaresanGR Жыл бұрын
HI., thanks for the great content.,., I am working on RPLIDAR based hector slam.,., i am missing in integrating with gpio and motor connection part also to serve predefined map to localize to particular location., can you help or post new video on this??
@ketanjain-sp7pi
@ketanjain-sp7pi 2 ай бұрын
hey great project u have built here. can you tell how u have learnt all these various concepts, like ROS, rasberry pi and all. Please suggest me as im beginner.
@divyaprakashbiswas8781
@divyaprakashbiswas8781 2 жыл бұрын
Thanks for sharing. I looked into the differential_drive ROS package. I found the twist_to_motors node and pid_velocity node also. If I use those nodes, I don't need to implement PID in the Arduino sketch, right? Is there any specific reason you didn't use them in this project?
@malof.5290
@malof.5290 Ай бұрын
That's a very good question 🤔
@neverback4221
@neverback4221 2 жыл бұрын
It's been exactly 2 months. I am waiting.
@DevGhiya
@DevGhiya 2 ай бұрын
Hi, the robot looks cool. Could you provide some resources from where I can learn about the electronics part of robotics? Your help would be greatly appreciated
@ssaniljainn
@ssaniljainn 2 жыл бұрын
How did you use the teleop with the hardware of the motors? You wrote a code using arduino for making the wheels work, but then directly launched the teleop through the rpi. Did not understand that part.
@pranavshevkar269
@pranavshevkar269 2 жыл бұрын
teleop_twist_keyboard publishes to /cmd_vel topic. In the arduino code, it is subscribed to this topic and the message is decoded to move the motors.
@pratikhrohane4410
@pratikhrohane4410 2 жыл бұрын
Nice Content, waiting for more tutorials...
@junaideqbal2383
@junaideqbal2383 Жыл бұрын
@VinayLanka when you will upload part 3?
@akumal5819
@akumal5819 2 жыл бұрын
i want to learn ros but I rally hate raspberry pi. can we make ros robot using only windows 10 laptop and arduino without raspberry pi ?
@longnguyen-mr1im
@longnguyen-mr1im 22 күн бұрын
Can you give more instructions on mapping with lidar?
@stilus3d323
@stilus3d323 Жыл бұрын
Coloque o esquema diagrama de ligações das shild. Excelente projeto parabéns.
@JohnMacGuy
@JohnMacGuy 2 жыл бұрын
Any of the folks following this that made it work, could you post the github link for differential-drive? Many thanks.
@gufransabri9012
@gufransabri9012 2 жыл бұрын
demand_speed_right = demandx + (demandz*0.1075); in this line, you used the formula you talked about in the video. Do i have to change the 0.1075 value according to my robot's length? Thanks
@pranavshevkar269
@pranavshevkar269 2 жыл бұрын
Yes, you have to change that value according to your robot geometry. After calculations it is equal to (distance between two wheels in meters)/2
@Mr.042k
@Mr.042k 3 жыл бұрын
Bro which is better to have ubuntu server or ubuntu desktop running on raspberry Pi ? I'm using kinect for mapping
@vinaylanka
@vinaylanka 3 жыл бұрын
If you're comfortable with working in a terminal environment I'd suggest using the ubuntu server. I'd also suggest going for a ROS Master-Slave combination as you're using a kinect and that takes a lot of resources.
@71_a_siddharthjadhav70
@71_a_siddharthjadhav70 2 жыл бұрын
Can you just share the circuit diagram of the connections?
@praveenbharati3032
@praveenbharati3032 2 жыл бұрын
Where is complete project
@user-ug2in4dm2x
@user-ug2in4dm2x 8 ай бұрын
Hi,Does your project need radar?
@theoldknowledge6778
@theoldknowledge6778 2 жыл бұрын
Amazing video! Even without a LIDAR, is it possible to the robot to return to home position backtracking its path?
@theoldknowledge6778
@theoldknowledge6778 2 жыл бұрын
Easily…?
@jeff-oi7cl
@jeff-oi7cl 2 жыл бұрын
new subscriber!
@yahinjose4036
@yahinjose4036 Жыл бұрын
Can you please share the motor name and model number.
@user-zv2qx5tx6n
@user-zv2qx5tx6n Жыл бұрын
How much cost of this project?
@vjpanda
@vjpanda 2 жыл бұрын
Need part 3 also Can you Help
@amrshaheen3018
@amrshaheen3018 3 жыл бұрын
Finally 🤩
@akumal5819
@akumal5819 3 жыл бұрын
Ros robot needs wifi to function after complete? Or offline as well?
@vinaylanka
@vinaylanka 3 жыл бұрын
Right now I've used a Raspberry Pi 3B and a laptop together over wifi because I wasn't sure that the Pi 3 can handle the navigation stack. With a Raspberry Pi 4 or any other powerful SBC, you can completely power it offline (i.e. without WiFi)
@ravindraditama136
@ravindraditama136 3 жыл бұрын
Great works! but how to combine the odom with LiDAR or any sensor? to make it closed loop
@vinaylanka
@vinaylanka 3 жыл бұрын
That would come in the next video, Part 3 of this series. We use the gmapping package for mapping and move_base for navigation
@ravindraditama136
@ravindraditama136 3 жыл бұрын
@@vinaylanka god bless you, im waiting the part3 because i can't sync the hardware to the rviz, thanks a lot, appreciate it
@dutahasta4428
@dutahasta4428 2 жыл бұрын
@@vinaylanka when will part 3 be published?
@agrimekatronik321
@agrimekatronik321 Жыл бұрын
@@vinaylanka Publish please part 3, you explain so nice everything.
@wc-jai667
@wc-jai667 2 жыл бұрын
hey man, did change /lwheel and /rwheel to single topic /speed?
@pranavshevkar269
@pranavshevkar269 2 жыл бұрын
The code in github publishes to /speed which is not yet updated. Please make changes to the arduino code by carefully following the video so as to publish to /lwheel and /rwheel topic
@wc-jai667
@wc-jai667 2 жыл бұрын
@@pranavshevkar269 🥲 took a day to figure it out.... btw I finished my project in a month after that comment posted, anyway thank you for replying
@agrimekatronik321
@agrimekatronik321 Жыл бұрын
@@wc-jai667 Can you please share the changed code? Did you add lidar to your system? Thanks.
@user-xi8yr3fq3t
@user-xi8yr3fq3t 10 ай бұрын
Please next part
@vinodkinoni4863
@vinodkinoni4863 2 жыл бұрын
nice tut plz more vdo
@ahmetakkaya738
@ahmetakkaya738 2 жыл бұрын
odom just revolves around base_link,what is the reason?
@pranavshevkar269
@pranavshevkar269 Жыл бұрын
In RViz, make Odom as the fixed link
@ssaniljainn
@ssaniljainn 2 жыл бұрын
Also, I have 2 more questions: 1. I wanted to know how I can use python instead of C++? 2. Can the bot work without the use of the encoders? I have an RPLidar, and in the past, I have been able to use SLAM by also realizing its pose estimation and localisation, too. I am hoping to use just that instead of encoders. Just not sure how.
@pranavshevkar269
@pranavshevkar269 2 жыл бұрын
Yes, You can impliment it without the use of encoders and use Hector slam. But without encoders, it is difficult to control the direction since the motors are not always accurate.
@neverback4221
@neverback4221 2 жыл бұрын
I did everything the same. but there is no change in my rviz screen. what is the reason for this? base_link and odom are in place. it doesn't move.
@pranavshevkar269
@pranavshevkar269 2 жыл бұрын
I faced the same problem. The code in github publishes to /speed which is not yet updated. Please make changes to the arduino code by carefully following the video so as to publish to /lwheel and /rwheel topic.
@agrimekatronik321
@agrimekatronik321 Жыл бұрын
@@pranavshevkar269 Hello bro,did you add lidar in your robot,can you help me?
@pranavshevkar269
@pranavshevkar269 Жыл бұрын
@@agrimekatronik321 Sure, what's the problem
@agrimekatronik321
@agrimekatronik321 Жыл бұрын
@@pranavshevkar269 Thanks a lot for reply,what is the next step of this video to do mapping and autonomous navigation.Do we need to write more scripts? Can you tell me steps to do mapping and navigation.I mean if we clone gmapping and move_base packages can we do mapping and navigation? And i read in gmapping documentation that he needs a transform from laser to base_link(fixed),how can i do that. Thanks again.
@yasirurasanjaya7809
@yasirurasanjaya7809 Жыл бұрын
I have same problem.. I cant understand your solution ​@@pranavshevkar269 .Can you please tell that again
@rushabhkulkarni363
@rushabhkulkarni363 2 жыл бұрын
you sure the equations you gave are correct? not working in my situation!
@ahmetakkaya738
@ahmetakkaya738 2 жыл бұрын
I can't see my move on rviz also different code on youtube and github
@ahmetakkaya738
@ahmetakkaya738 2 жыл бұрын
please someone help me
@agrimekatronik321
@agrimekatronik321 Жыл бұрын
@@ahmetakkaya738 Did you solve the problem?
@aminfirdaus3279
@aminfirdaus3279 2 жыл бұрын
please do the part 3
@aminfirdaus3279
@aminfirdaus3279 2 жыл бұрын
i need to know how to link camera input with the movement of the dc motor
@vikasverma8668
@vikasverma8668 2 жыл бұрын
Hii brother I want to learn ros please help me
@naseefak6806
@naseefak6806 3 жыл бұрын
Thank you for this video. please update your github repo...
@vinaylanka
@vinaylanka 3 жыл бұрын
Yeah I'll update the repository soon, I'm actually working on a few changes, so I didn't want to include any breaking changes.
@RC_Ira
@RC_Ira 8 ай бұрын
🤩💥💯👍🌟
@neverback4221
@neverback4221 2 жыл бұрын
Please get new video in 2-3 days.
@Bablukhan-is4ox
@Bablukhan-is4ox 2 жыл бұрын
Paddad se
@vsrinivasan7509
@vsrinivasan7509 3 жыл бұрын
bro next video???????
@vinaylanka
@vinaylanka 3 жыл бұрын
Hey, I'm sorry for the delay. I'm a final year student and the final semester project workload is keeping me busy :/ The project is over and the next video is being filmed but it's taking longer than expected :(
@vsrinivasan7509
@vsrinivasan7509 3 жыл бұрын
@@vinaylanka Bro can you share video part 2 coding of Ros and Arduino......in git hub the Arduino coding is different from coding you have shown in video...pls help me bro I am currently working on mobile robot
@vsrinivasan8258
@vsrinivasan8258 3 жыл бұрын
@@vinaylanka bro can you share forward kinematics code ??? How to convert wheel encoder data to forward kinematics 😭🙏 pls help me bro
@amrshaheen3018
@amrshaheen3018 3 жыл бұрын
Fix the GitHub link :)
@vinaylanka
@vinaylanka 3 жыл бұрын
Oh yes that's fixed now!
Autonomous Rover From Scratch (ROS) Part 1
10:46
Vinay Lanka
Рет қаралды 75 М.
Micro-Ros robot using PlatformIO for esp32 for ROS2
15:57
Muhammad Luqman
Рет қаралды 10 М.
КАРМАНЧИК 2 СЕЗОН 5 СЕРИЯ
27:21
Inter Production
Рет қаралды 577 М.
¡Puaj! No comas piruleta sucia, usa un gadget 😱 #herramienta
00:30
JOON Spanish
Рет қаралды 22 МЛН
Когда на улице Маябрь 😈 #марьяна #шортс
00:17
Building a ROS Robot for Mapping and Navigation #2
36:37
James Bruton
Рет қаралды 118 М.
I Made a Self Driving FPV RC Car
7:55
Steven Gong
Рет қаралды 306 М.
Why 3D Printing Buildings Leads to Problems
15:44
Stewart Hicks
Рет қаралды 159 М.
Make a TINY Arduino Drone with FPV Camera - Will It Fly?
20:26
Max Imagination
Рет қаралды 449 М.
Using ROS SLAM on the REAL ROBOT like ATCart!
18:22
stepbystep-robotics
Рет қаралды 32 М.
wheeled robot control and odometry
42:16
CCI Robotics
Рет қаралды 40 М.
Как я сделал домашний кинотеатр
0:41
RICARDO
Рет қаралды 1,5 МЛН
#miniphone
0:18
Miniphone
Рет қаралды 11 МЛН
Apple, как вас уделал Тюменский бренд CaseGuru? Конец удивил #caseguru #кейсгуру #наушники
0:54
CaseGuru / Наушники / Пылесосы / Смарт-часы /
Рет қаралды 4,5 МЛН