Autonomous Rover From Scratch (ROS) Part 2
Вставка
- Опубліковано 3 лип 2024
- 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) - Наука та технологія
Best video on this topic on whole UA-cam I have found till now
Thanks for the quality content, man! Excellent explanations of concepts.
This doesn't look as complicated as I thought it was. Thanks!
Great Build Man! and great explanation as well!
Great instructional video and quite clear. Thanks!
look Amezing , what a clear cut of words congratulations looking forward more like interfacing lider then stack navigation then ros control . keep doing
Very well produced content
Well explained, thanks for making this, good luck! Also, please make that ARM video, looking forward to it!
Love the videos. Keep it up!
Great explanation, thank you
Thanks for your detailed information , waiting for 3rd video
Very worthfull time spend to watch, thanks for sharing 👍 .
Great content man
thank you for this presentation
Super helpful! Thank you!
Looks slick
Nice useful video. Thankyou so much
Thank you so much, helped a lot
Nice Content, waiting for more tutorials...
Thank you, the SLAM part please. :D
Kindly upload the part 3!
This was an interesting series! everything was well explained! good job! What about a part 3?!
Where is part 3?
It's been exactly 2 months. I am waiting.
new subscriber!
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.
hi, when the next episode will get release? Can't wait for it.
Finally 🤩
well described but can you define the wireless connectivity you implemented on this project?
nice tut plz more vdo
Hi can you pit some links for learning and understanding the PID controller and also about two drive wheel kinematics formula. Thanks in advance.
Please suggest some resources to learn ROS
@VinayLanka when you will upload part 3?
Can you give more instructions on mapping with lidar?
Hey @Vinay Lanka, pls can I get the link to order that LiDar ?
Please next part
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?
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.
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?
That's a very good question 🤔
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?
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
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.
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.
Hello, would this be possible in STM32 instead of arduino?
Any ROS beginner tutorial
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?
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??
Can you tell me how to tune PID?
please do the part 3
i need to know how to link camera input with the movement of the dc motor
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.
Power Banks Come with 12v,1.5A port, so why the use boost converter?
Any of the folks following this that made it work, could you post the github link for differential-drive? Many thanks.
Need part 3 also
Can you Help
Coloque o esquema diagrama de ligações das shild. Excelente projeto parabéns.
How u use rviz without vnc server? Isthat raspberry connect to your monitor with wireless? Iam sorry iam newbie
do you have the schematic diagram of ardiuno to motor driver wiring ??? if you have give it to me thanks!!
Amazing video! Even without a LIDAR, is it possible to the robot to return to home position backtracking its path?
Easily…?
Where is complete project
🤩💥💯👍🌟
Ros robot needs wifi to function after complete? Or offline as well?
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)
Bro which is better to have ubuntu server or ubuntu desktop running on raspberry Pi ? I'm using kinect for mapping
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.
Thank you for this video. please update your github repo...
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.
Can you just share the circuit diagram of the connections?
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 ?
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.
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.
Great works! but how to combine the odom with LiDAR or any sensor? to make it closed loop
That would come in the next video, Part 3 of this series. We use the gmapping package for mapping and move_base for navigation
@@vinaylanka god bless you, im waiting the part3 because i can't sync the hardware to the rviz, thanks a lot, appreciate it
@@vinaylanka when will part 3 be published?
@@vinaylanka Publish please part 3, you explain so nice everything.
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
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
Hi,Does your project need radar?
How much cost of this project?
odom just revolves around base_link,what is the reason?
In RViz, make Odom as the fixed link
Paddad se
Please get new video in 2-3 days.
Can you please share the motor name and model number.
hey man, did change /lwheel and /rwheel to single topic /speed?
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
@@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
@@wc-jai667 Can you please share the changed code?
Did you add lidar to your system?
Thanks.
Hii brother I want to learn ros please help me
you sure the equations you gave are correct? not working in my situation!
I can't see my move on rviz also different code on youtube and github
please someone help me
@@ahmetakkaya738 Did you solve the problem?
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.
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.
@@pranavshevkar269 Hello bro,did you add lidar in your robot,can you help me?
@@agrimekatronik321 Sure, what's the problem
@@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.
I have same problem.. I cant understand your solution @@pranavshevkar269 .Can you please tell that again
bro next video???????
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 :(
@@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
@@vinaylanka bro can you share forward kinematics code ??? How to convert wheel encoder data to forward kinematics 😭🙏 pls help me bro
Fix the GitHub link :)
Oh yes that's fixed now!