[ROS Q&A] 181 - 2D Drone Navigation (Part 1 Mapping)

  Переглядів 10,565

The Construct

The Construct

День тому

* Get all the ROS code of the video in this link: www.rosject.io/l/c5e1367/
In the video of today, we are going to see how to easily create a map of an indoor environment using a drone and the gmapping package from the Navigation Stack.
Get the full code of this video with this ROSject Link --▸ www.rosject.io/l/8797919/
🔴 Subscribe for more free ROS learning: / @theconstruct
RELATED ROS RESOURCES&LINKS:
ROS Development Studio (ROSDS) ---▸ rosds.online
Robot Ignite Academy --▸ www.robotigniteacademy.com
ROSject Link --▸ www.rosject.io/l/8797919/
Quadrotor simulation --▸ bitbucket.org/theconstructcor...
depthimage_to_laserscan --▸ wiki.ros.org/depthimage_to_las...
Turtlebot Navigation --▸ wiki.ros.org/turtlebot_navigation
---
Feedback
---
Did you like this video? Do you have questions about what is explained? Whatever the case, please leave a comment on the comments section below, so we can interact and learn from each other.
If you want to learn about other ROS topics, please let us know on the comments area and we will do a video about it :)
#ROS #Robot #rostutorials

КОМЕНТАРІ: 36
@Xxsynysterg8sxX
@Xxsynysterg8sxX 3 роки тому
Hello again! In this I noticed after getting to the Frames.pdf section that my frames don't include any of the predecessor frames to base_link. Has there been an update to the code base that caused this change? Thank you!
@jrltroll
@jrltroll 2 роки тому
Muy buen video, un gustazo descubrir que es hispanohablante, saludos desde Mexico Queretaro
@rahulkadam5948
@rahulkadam5948 5 років тому
Using Hector slam can we generate 3d map?
@eashwarsathyamurthy8365
@eashwarsathyamurthy8365 3 роки тому
I am facing a problem. Running the /takeoff topic is not working as demonstrated in the video. The drone immediately lands after going to a certain height instead of staying in the air? Could you please help me with this problem @The Construct?
@peppegti
@peppegti 3 роки тому
hello, is it possible to simulate a urdf xacro drone with sitl arducopter?
@samarthjain601
@samarthjain601 2 роки тому
Hi,can I request for a navigation video for underwater ROV DRONES?
@gorilla543210
@gorilla543210 5 років тому
Really appreciate your work!
@darkraiman33
@darkraiman33 5 років тому
Incredibly useful video, do you have any videos which might explain how localization works with sensor fusion of a 2d lidar and imu? We're using the stm32 nucleo board f401re with rplidar and I'm not sure how to get it working. Thanks!
@TheConstruct
@TheConstruct 5 років тому
Hi James, just a small correction: you should not directly fuse lidar with IMU for localization. You can fuse IMU with odometry or with a particle filter localization (which uses the lidar). I don't know about your specific board, but we just released a course that clearly explains how to do this fusing, as well as using GPS with odometry, and some more. The online course is here: www.theconstructsim.com/construct-learn-develop-robots-using-ros/robotigniteacademy_learnros/ros-courses-library/ros-robot-localization-package/ Also, we did a Live Class about this subject some months ago. You can find them here: ukposts.info/have/v-deo/poGLmXeYnXp2q3k.html
@darkraiman33
@darkraiman33 5 років тому
@@TheConstruct I see! Brill, thankyou!
@thecatalystdesigner4607
@thecatalystdesigner4607 5 років тому
@@TheConstruct Hi, could you please answer the first jamesislost's question? I'm facing the same issue and don't know what to do. Thank you very much for your time
@darkraiman33
@darkraiman33 5 років тому
Hey, when I get to 16:50 and do rostopic pub /takeoff std_msgs/Empty "{}", nothing happens? I've enabled the motors and when I echo the rostopic /takeoff I see "---" when the command is used? I'm just trying to get the drone to hover in place like yours
@thecatalystdesigner4607
@thecatalystdesigner4607 5 років тому
You should first enable motors rosservice call /enable_motors true My problem is, the drone takes off, but lands immediately (looks like motors will be shut down, when it reaches some height)
@darkraiman33
@darkraiman33 5 років тому
@@thecatalystdesigner4607 Hm yeah that's an interesting problem, have you checked out the /takeoff action file to see if there's a termination command? I mentioned in the original comment that I have already enabled the motors using the rosservice command but the takeoff command used in this video does nothing. I installed using the top response here if that seems to make any difference? answers.ros.org/question/244776/is-it-possible-to-run-the-hector_quadrotor-demos-in-kinetic/
@thecatalystdesigner4607
@thecatalystdesigner4607 5 років тому
@@darkraiman33 hey, how can I check this file? Thanks for your quick reply
@RZtronics
@RZtronics 3 роки тому
@@thecatalystdesigner4607 Did you get the issue solved?
@thecatalystdesigner4607
@thecatalystdesigner4607 3 роки тому
@@RZtronics I just tried it a lot and at some point it worked. I don't really know why or how anymore.... Sorry
@ZMgeZer
@ZMgeZer 3 роки тому
Hello, great explanations, just I have a couple questions, from which pakage could I copy the launch files if I work with Melodic? How I get something in /scan topic using depthimage_to_laserscan?
@adilfarooq1430
@adilfarooq1430 2 роки тому
any update on this?
@channingprince532
@channingprince532 2 роки тому
for my experience , if you try to run it on a different ROS version , you need to re-catkin_make on your own system, otherwise , you only get lots of error.
@yashrunwal5111
@yashrunwal5111 5 років тому
Hello. Awesome Video. I have one question though. Here you are using teleop node to control the quadrotor. But in my project i want the robot to move autonomously, that is without using the teleop node. Any idea how i can do it? I have looked it up on the internet but unfortunately i could not find anything useful. Thanks.
@TheConstruct
@TheConstruct 3 роки тому
Yes, use the navigation stack. Learn how to do it with this course: www.theconstructsim.com/robotigniteacademy_learnros-3/ros-courses-library/ros-courses-programming-drones-ros/
@vishakhapatel1967
@vishakhapatel1967 Рік тому
@@TheConstruct the link provided does not work. Could you verify please? I need the drone to follow a pre planed path.
@kashifnoori6834
@kashifnoori6834 5 років тому
.Here you have simply used "world" frame as Odometry source which Gazebo is publishing but in real world we have to publish it by our self. Considering it's implementation on a real drone, then what we can use to get the Odometry data.
@TheConstruct
@TheConstruct 5 років тому
Very good point Kashif! Assuming that you have mounted a laser on the drone, you can compute a rough odometry based on the laser changes movements. There is an interesting package in ROS that does compute it for you: wiki.ros.org/laser_scan_matcher Let us know if you implement this modification!
@thecatalystdesigner4607
@thecatalystdesigner4607 5 років тому
when I'm trying to takeoff, it takes off, but lands immediately. Any suggestions how to fix it? Thank you
@TheConstruct
@TheConstruct 5 років тому
Two questions: 1. Are you using the provided rosject (the link is above in the description area) 2. Have you launched the command: $ rostopic pub /takeoff std_msgs/Empty "{}"
@thecatalystdesigner4607
@thecatalystdesigner4607 5 років тому
@@TheConstruct Yes, I tried everything as mentioned in video and am sending the message as it is sent in the video
@TheConstruct
@TheConstruct 5 років тому
@@thecatalystdesigner4607 It is strange we just tested that everything is correct. Are you tenting on your local computer or on ROSDS? Can you share with us your rosject, so we can check what is happening with your code?
@thecatalystdesigner4607
@thecatalystdesigner4607 5 років тому
@@TheConstruct I'm doing it local, BC I want to use it afterwards on a real Intel Aero RTF drone
@TheConstruct
@TheConstruct 5 років тому
@@thecatalystdesigner4607 Ok, then it is very difficult to help you with that, because the reasons can be many in your local computer. Can you try in the ROSDS? Do you know that you can connect the ROSDS to your real robot and execute the code from the ROSDS in the real drone? Check this video about it: ukposts.info/have/v-deo/qXZ1oYuCnneCmp8.html
@vitalram1985
@vitalram1985 4 роки тому
Ever thing worked fine bu at end tele operation doesn't move the drone.
@rithikjain3140
@rithikjain3140 3 роки тому
Did you got the solution for this? I am facing the same issue.
@VinodKumar-qq9gc
@VinodKumar-qq9gc 3 роки тому
Hi i went well until finally, not able to run roslauch turtlebot_teleop keyboard_teleop.launch. Says file or folder not found Anybody can help?
@zainabtemitopeolalekan6046
@zainabtemitopeolalekan6046 3 роки тому
I am facing the same problem. Have you been able to get past it?
@rithikjain3140
@rithikjain3140 3 роки тому
Install turtlebot package in simulation_ws and then catkin_make .
[ROS Q&A] 182 - 2D Drone Navigation with ROS (Part 2 Localization)
12:25
The Construct
Переглядів 4,1 тис.
Making a Drone Smarter With Motion Planning
12:53
Nicholas Rehm
Переглядів 72 тис.
Godzilla Attacks Brawl Stars!!!
00:39
Brawl Stars
Переглядів 9 млн
Create An AI Copy Of Your Brain
4:38
David Ziembicki - Expert Business Agency
Переглядів 147
[ROS Q&A] 053 - How to Move a Robot to a Certain Point Using Twist
24:16
The Construct
Переглядів 54 тис.
What Is Autonomous Navigation? | Autonomous Navigation, Part 1
11:30
Has Generative AI Already Peaked? - Computerphile
12:48
Computerphile
Переглядів 178 тис.
ROS NAVIGATION IN 5 DAYS #4 - Path Planning - Part 2
42:05
The Construct
Переглядів 18 тис.
RPLidar and Hector SLAM for Beginners | ROS Tutorial #8
9:41
Tiziano Fiorenzani
Переглядів 147 тис.
[ROS Q&A] 183 - 2D Drone Navigation with ROS (Part 3 Path Planning)
21:27
The Difference Between a Drone Flight Controller and Flight Computer
7:18
DIY Indoor Autonomous Drone! - Part 2 (Kalibr & Calibration)
8:30
SimpleKernel
Переглядів 77 тис.
поворотний механізм для антени
0:17
Lazeruk
Переглядів 13 тис.
Как установить Windows 10/11?
0:56
Construct PC
Переглядів 1,8 млн
НЕ ПОКУПАЙТЕ НОВЫЙ СМАРТФОН, ПОКА НЕ ВЫШЕЛ ЭТОТ [2024]
13:25
Thebox - о технике и гаджетах
Переглядів 78 тис.