Skip to content

2D and 3D obstacle mapper used for embedded applications and written for AUAC Drone

Notifications You must be signed in to change notification settings

nyameaama/Obstacle-Map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Obstacle-Map

2D Obstacle Mapper library for embedded applications.

About

This library is

How to use

  • In this sketch, data is read from ultrasonic sensor into a Map2D object

  • Create Map2D object

      //Map2D object
      OBSTACLE_MAP *newObj = new OBSTACLE_MAP;
    
  • Sensor Data

      //Variable holding value
      double new_reading = ULTRASONIC_NEW();
    
      //Variable holding measurement angle
      double angle = GET_ANGLE();
    
  • Initialise Map2D - This method returns a unique ID corresponding to the map

      //Put INIT method in object 
      uint8_t init = newObj -> MAP2D(INIT);
    
  • Call Map function - This method takes in the value and bearing/degree

      //Call Map function
      newObj -> ADD_TO_MAP_2D(init,angle,new_reading);
    

Future Release:

  • 3D mapping support by augmenting DOF readings with distance/bearing values

  • Less memory footprint with greater microcontroller support

This repository is no longer updated. Updated project files are here

About

2D and 3D obstacle mapper used for embedded applications and written for AUAC Drone

Resources

Stars

Watchers

Forks

Packages

No packages published