Skip to content

srl-ncra/swarm-vslam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swarm-vSLAM: A Swarm Multi-mapping Visual SLAM

Project Flow Diagram

Flowchart

1. Client Setup (over SIMBot)

We did the client setup on a NanoPi NEO Plus 2 which was operating Ubuntu Core 20.04 LTS. You can set up a NanoPi by following this tutorial: NanoPi NEO Plus2. After Ubuntu installation, assign an IP to the NanoPi and access it using ssh, then follow these commands:

  1. Make sure that you are in root directory.

  2. Run: mkdir opencv_com

  3. Run: cd opencv_com

  4. Run: sudo nano requirements.txt Copy the text from requirements.txt to this file and save.

  5. Run: pip install -r requirements.txt (All libraries will be automatically installed)

  6. Run: sudo nano obs_pi.py Copy content of obs_pi.py to this file. Save and close. (C+S then C+X)

If you face following OpenCV error

Error: ImportError: libGL.so.1: cannot open shared object file: No such file or directory

  1. Run: sudo apt-get update && apt-get install -y python3-opencv

Running Obstacle Detection

This code will start moving the SIMBot while avoiding obstacles and publishing camera data on a ROS topic which the server will subscribe to

  1. Make sure you are in opencv_com directory.
  2. Run: python3 obs_pi.py

2. Server Setup (GUI for visualization)

To setup the server, we need to install CCM-SLAM on the PC. After installation: Make multiple copies of the Client.launch file according to the number of robots being used. 2. Run roslaunch ccmslam Client.launch 3. Run rviz for visualization of the trajectories of multiple agents. The final setup should look like this: SLAM

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published