-
Hi guys I am very new to this field and I came across this repo and it seems very helpful. I am trying to make a homemade roomba based on the turtlebot3 platform. I found this repo has a grid based sweep algorithm which is great for my use case. I kind of a newb so I wondering how I can implement the algorithm into a workspace and test it out with RVIZ and gazebo. I found another repon on github which is doing something very similar to what I am trying to implement but has no sweep algorithms, only p2p (https://github.com/SakshayMahna/Robotics-Playground/tree/main/turtlebot3_ws) if anyone with some experience could help me out, I would be very grateful. Thanks. (email: [email protected]) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hello @ZKhodeir! 1. Set up your TurtleBot3 WorkspaceIf you haven’t done so already, you need to set up your ROS workspace where you will integrate the code. Here's how you can do that:
2. Download the Grid Sweep Algorithm RepoYou mentioned that you’ve found a repo with a grid-based sweep algorithm. Assuming you have already cloned it, you’ll want to put it inside your workspace:
3. Set Up RViz and Gazebo
4. Integrating the Sweep Algorithm
5. Testing the Algorithm in GazeboOnce you've integrated the algorithm, you can launch your Gazebo simulation and test it:
6. Debugging and Refinement
7. Final TestingOnce the algorithm is working well in Gazebo and RViz, you can start thinking about deploying it on a real TurtleBot3, but that's another step. For now, Gazebo should give you a good environment to test and fine-tune the behavior. Some Resources:
|
Beta Was this translation helpful? Give feedback.
Hello @ZKhodeir!
It sounds like you're diving into an exciting project, and it’s great that you're using the TurtleBot3 platform! To help you implement the grid-based sweep algorithm into your workspace and test it in RViz and Gazebo, I'll break it down into a few key steps:
1. Set up your TurtleBot3 Workspace
If you haven’t done so already, you need to set up your ROS workspace where you will integrate the code. Here's how you can do that:
Install ROS: Make sure you have ROS installed on your system. TurtleBot3 typically uses ROS Melodic or Noetic, so make sure to follow the correct setup instructions for your ROS version.