mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
Implemented wifi_mapping example on Mac OS X
This commit is contained in:
25
examples/WifiMapping/WifiOSX.h
Normal file
25
examples/WifiMapping/WifiOSX.h
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* WifiOSX.h
|
||||
*
|
||||
* Created on: Mar 26, 2015
|
||||
* Author: mathieu
|
||||
*/
|
||||
|
||||
#ifndef WIFIOSX_H_
|
||||
#define WIFIOSX_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
struct AccessPoint
|
||||
{
|
||||
std::string ssid;
|
||||
std::string bssid;
|
||||
int rssi;
|
||||
};
|
||||
|
||||
int getRssi(const std::string& interfaceName);
|
||||
std::vector<AccessPoint> scanAir(const std::string& interfaceName);
|
||||
|
||||
|
||||
#endif /* WIFIOSX_H_ */
|
||||
Reference in New Issue
Block a user