mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
Added GPS class for convenience, database viewer can view GPS values and export to KML format
This commit is contained in:
@@ -1975,16 +1975,11 @@ int RTABMapApp::setMappingParameter(const std::string & key, const std::string &
|
||||
}
|
||||
}
|
||||
|
||||
void RTABMapApp::setGPS(double stamp,
|
||||
double longitude,
|
||||
double latitude,
|
||||
double altitude,
|
||||
double accuracy,
|
||||
double bearing)
|
||||
void RTABMapApp::setGPS(const rtabmap::GPS & gps)
|
||||
{
|
||||
if(camera_)
|
||||
{
|
||||
camera_->setGPS(stamp, longitude, latitude, altitude, accuracy, bearing);
|
||||
camera_->setGPS(gps);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user