introlab / rtabmap

RTAB-Map library and standalone application
https://introlab.github.io/rtabmap
Other
2.72k stars 775 forks source link

Google earth #530

Open Quitino opened 4 years ago

Quitino commented 4 years ago

Thank you very much for your excellent work. When I read the wiki, I found that SLAM Trajectory can be imported into Google earth display. How do you do this?thank you.

matlabbe commented 4 years ago

The database should have GPS recorded in it, then the options:

  1. File->Export Poses...-> Google Earth (*.kml)
  2. File->Export GPS...-> Google Earth (*.kml)

will be enabled in rtabmap-databaseViewer tool. Example from database downloaded from here:

$ rtabmap-databaseViewer loop_3it_gps.db

Screenshot from 2020-04-17 17-46-12

petterhs commented 3 years ago

Hi! Does this method still work? When I try with the example database linked above I get this result: loop_3it_gps

Similar results when I use my own DB

matlabbe commented 3 years ago

Hi, I tested on https://earth.google.com/web/ and it still work. Screenshot from 2021-09-08 17-40-17 Screenshot from 2021-09-08 17-40-52

The kml:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
    <name>/home/mathieu/Downloads/gps.kml</name>
    <StyleMap id="msn_ylw-pushpin">
        <Pair>
            <key>normal</key>
            <styleUrl>#sn_ylw-pushpin</styleUrl>
        </Pair>
        <Pair>
            <key>highlight</key>
            <styleUrl>#sh_ylw-pushpin</styleUrl>
        </Pair>
    </StyleMap>
    <Style id="sh_ylw-pushpin">
        <IconStyle>
            <scale>1.2</scale>
        </IconStyle>
        <LineStyle>
            <color>ff808000</color>
        </LineStyle>
    </Style>
    <Style id="sn_ylw-pushpin">
        <LineStyle>
            <color>ff808000</color>
        </LineStyle>
    </Style>
    <Placemark>
        <name>/home/mathieu/Downloads/gps</name>
        <styleUrl>#msn_ylw-pushpin</styleUrl>       <LineString>
            <coordinates>
                -71.942607,45.378918,174.000000 -71.942605,45.378917,174.000000 -71.942603,45.378916,175.000000 -71.942600,45.378918,175.000000 -71.942599,45.378919,175.000000 -71.942597,45.378920,175.000000 -71.942594,45.378921,176.000000 -71.942592,45.378923,176.000000 -71.942590,45.378924,176.000000 -71.942590,45.378925,176.000000 -71.942586,45.378932,176.000000 -71.942584,45.378936,177.000000 -71.942583,45.378938,177.000000 -71.942586,45.378938,176.000000 -71.942588,45.378940,176.000000 -71.942595,45.378935,175.000000 -71.942595,45.378936,176.000000 -71.942590,45.378941,175.000000 -71.942581,45.378943,175.000000 -71.942571,45.378944,178.000000 -71.942559,45.378945,178.000000 -71.942553,45.378940,179.000000 -71.942545,45.378936,180.000000 -71.942539,45.378933,181.000000 -71.942534,45.378929,181.000000 -71.942526,45.378925,183.000000 -71.942517,45.378919,183.000000 -71.942509,45.378913,180.000000 -71.942500,45.378907,180.000000 -71.942493,45.378901,180.000000 -71.942488,45.378897,179.000000 -71.942483,45.378898,178.000000 -71.942476,45.378903,179.000000 -71.942468,45.378905,179.000000 -71.942464,45.378905,180.000000 -71.942458,45.378905,181.000000 -71.942448,45.378907,181.000000 -71.942440,45.378912,184.000000 -71.942430,45.378915,186.000000 -71.942420,45.378909,190.000000 -71.942411,45.378903,190.000000 -71.942400,45.378896,191.000000 -71.942388,45.378892,193.000000 -71.942384,45.378889,192.000000 -71.942377,45.378887,193.000000 -71.942367,45.378886,194.000000 -71.942357,45.378887,194.000000 -71.942345,45.378886,196.000000 -71.942331,45.378878,197.000000 -71.942325,45.378868,196.000000 -71.942317,45.378861,197.000000 -71.942295,45.378856,198.000000 -71.942272,45.378856,198.000000 -71.942250,45.378867,194.000000 -71.942227,45.378885,196.000000 -71.942208,45.378903,193.000000 -71.942191,45.378919,192.000000 -71.942175,45.378932,192.000000 -71.942147,45.378956,192.000000 -71.942133,45.378969,191.000000 -71.942120,45.378981,192.000000 -71.942107,45.378991,191.000000 -71.942093,45.379000,192.000000 -71.942077,45.379008,191.000000 -71.942061,45.379015,194.000000 -71.942046,45.379023,193.000000 -71.942031,45.379030,192.000000 -71.942018,45.379040,191.000000 -71.942008,45.379047,189.000000 -71.942000,45.379055,189.000000 -71.941991,45.379063,188.000000 -71.941984,45.379071,186.000000 -71.941981,45.379080,186.000000 -71.941979,45.379088,185.000000 -71.941979,45.379097,184.000000 -71.941980,45.379107,183.000000 -71.941981,45.379116,183.000000 -71.941981,45.379135,183.000000 -71.941981,45.379144,181.000000 -71.941981,45.379151,181.000000 -71.941981,45.379160,181.000000 -71.941978,45.379167,181.000000 -71.941974,45.379170,179.000000 -71.941969,45.379175,177.000000 -71.941963,45.379182,178.000000 -71.941955,45.379192,178.000000 -71.941948,45.379200,177.000000 -71.941942,45.379208,176.000000 -71.941937,45.379214,176.000000 -71.941934,45.379222,176.000000 -71.941933,45.379231,177.000000 -71.941931,45.379239,177.000000 -71.941929,45.379247,177.000000 -71.941926,45.379255,177.000000 -71.941923,45.379265,177.000000 -71.941920,45.379275,177.000000 -71.941917,45.379286,175.000000 -71.941915,45.379296,176.000000 -71.941911,45.379302,176.000000 -71.941907,45.379309,177.000000 -71.941905,45.379318,174.000000 -71.941905,45.379320,173.000000 -71.941907,45.379323,173.000000 -71.941913,45.379326,172.000000 -71.941924,45.379333,172.000000 -71.941938,45.379339,172.000000 -71.941951,45.379346,172.000000 -71.941963,45.379353,173.000000 -71.941972,45.379361,174.000000 -71.941980,45.379368,174.000000 -71.941988,45.379373,174.000000 -71.941995,45.379379,176.000000 -71.942014,45.379389,174.000000 -71.942021,45.379396,175.000000 -71.942027,45.379405,175.000000 -71.942034,45.379420,176.000000 -71.942040,45.379432,176.000000 -71.942045,45.379447,177.000000 -71.942049,45.379462,178.000000 -71.942051,45.379474,176.000000 -71.942052,45.379483,176.000000 -71.942051,45.379490,178.000000 -71.942051,45.379494,178.000000 -71.942053,45.379491,176.000000 -71.942054,45.379486,175.000000 -71.942053,45.379481,175.000000 -71.942061,45.379480,175.000000 -71.942075,45.379480,174.000000 -71.942086,45.379479,174.000000 -71.942095,45.379478,174.000000 -71.942097,45.379478,174.000000 -71.942095,45.379477,174.000000 -71.942095,45.379475,174.000000 -71.942092,45.379473,174.000000 -71.942088,45.379473,174.000000 -71.942083,45.379473,174.000000 -71.942080,45.379471,174.000000 -71.942080,45.379471,174.000000 -71.942081,45.379473,174.000000 -71.942081,45.379472,174.000000 -71.942081,45.379471,174.000000 -71.942080,45.379470,174.000000 -71.942079,45.379469,174.000000 -71.942079,45.379470,174.000000 -71.942078,45.379470,174.000000 -71.942078,45.379470,174.000000 -71.942078,45.379470,174.000000 -71.942078,45.379470,174.000000 -71.942078,45.379470,174.000000 -71.942077,45.379470,174.000000 -71.942077,45.379470,174.000000 -71.942077,45.379470,174.000000 -71.942077,45.379470,174.000000 -71.942077,45.379470,174.000000 -71.942077,45.379470,174.000000 -71.942077,45.379469,174.000000 -71.942077,45.379469,174.000000 -71.942077,45.379469,174.000000 -71.942077,45.379469,174.000000 -71.942077,45.379469,174.000000 -71.942077,45.379469,174.000000 -71.942077,45.379469,174.000000 -71.942077,45.379469,174.000000 -71.942077,45.379469,174.000000 -71.942077,45.379469,174.000000 -71.942077,45.379469,174.000000 -71.942077,45.379469,174.000000 -71.942077,45.379469,174.000000 -71.942077,45.379469,174.000000 -71.942077,45.379469,174.000000 -71.942077,45.379469,174.000000 -71.942077,45.379469,174.000000 -71.942077,45.379469,174.000000 -71.942078,45.379468,173.000000 -71.942080,45.379468,173.000000 -71.942081,45.379466,173.000000 -71.942085,45.379463,173.000000 -71.942092,45.379462,173.000000 -71.942103,45.379465,173.000000 -71.942117,45.379469,173.000000 -71.942128,45.379474,174.000000 -71.942138,45.379479,175.000000 -71.942148,45.379485,174.000000 -71.942158,45.379490,175.000000 -71.942168,45.379493,174.000000 -71.942189,45.379500,174.000000 -71.942200,45.379505,172.000000 -71.942212,45.379509,171.000000 -71.942225,45.379512,171.000000 -71.942237,45.379514,170.000000 -71.942250,45.379516,171.000000 -71.942263,45.379518,171.000000 -71.942272,45.379519,170.000000 -71.942283,45.379520,171.000000 -71.942293,45.379522,170.000000 -71.942304,45.379524,170.000000 -71.942317,45.379525,170.000000 -71.942327,45.379528,169.000000 -71.942339,45.379530,170.000000 -71.942352,45.379531,170.000000 -71.942368,45.379532,170.000000 -71.942383,45.379531,171.000000 -71.942396,45.379532,170.000000 -71.942405,45.379534,170.000000 -71.942414,45.379537,170.000000 -71.942424,45.379540,170.000000 -71.942436,45.379544,169.000000 -71.942447,45.379548,169.000000 -71.942458,45.379551,168.000000 -71.942465,45.379552,167.000000 -71.942471,45.379554,166.000000 -71.942478,45.379551,167.000000 -71.942482,45.379548,167.000000 -71.942486,45.379543,168.000000 -71.942491,45.379538,168.000000 -71.942498,45.379530,168.000000 -71.942506,45.379521,168.000000 -71.942510,45.379514,168.000000 -71.942515,45.379509,168.000000 -71.942521,45.379503,169.000000 -71.942526,45.379497,169.000000 -71.942531,45.379496,166.000000 -71.942536,45.379494,165.000000 -71.942543,45.379491,165.000000 -71.942552,45.379487,165.000000 -71.942561,45.379483,164.000000 -71.942571,45.379479,165.000000 -71.942582,45.379474,167.000000 -71.942589,45.379468,167.000000 -71.942597,45.379464,168.000000 -71.942604,45.379460,166.000000 -71.942614,45.379456,167.000000 -71.942627,45.379452,167.000000 -71.942633,45.379452,167.000000 -71.942640,45.379448,167.000000 -71.942647,45.379442,168.000000 -71.942661,45.379422,167.000000 -71.942665,45.379412,168.000000 -71.942664,45.379402,169.000000 -71.942663,45.379391,169.000000 -71.942661,45.379379,168.000000 -71.942660,45.379368,169.000000 -71.942661,45.379356,169.000000 -71.942662,45.379344,169.000000 -71.942664,45.379332,170.000000 -71.942666,45.379321,170.000000 -71.942670,45.379311,170.000000 -71.942674,45.379300,170.000000 -71.942679,45.379289,170.000000 -71.942684,45.379279,170.000000 -71.942688,45.379268,170.000000 -71.942693,45.379258,169.000000 -71.942697,45.379248,169.000000 -71.942703,45.379238,170.000000 -71.942710,45.379230,169.000000 -71.942718,45.379220,169.000000 -71.942725,45.379211,170.000000 -71.942732,45.379202,170.000000 -71.942738,45.379194,170.000000 -71.942745,45.379176,170.000000 -71.942748,45.379166,170.000000 -71.942750,45.379156,170.000000 -71.942751,45.379146,170.000000 -71.942754,45.379136,171.000000 -71.942755,45.379126,171.000000 -71.942756,45.379117,170.000000 -71.942753,45.379107,171.000000 -71.942744,45.379096,171.000000 -71.942733,45.379086,171.000000 -71.942722,45.379078,171.000000 -71.942714,45.379070,171.000000 -71.942705,45.379063,170.000000 -71.942696,45.379056,170.000000 -71.942689,45.379049,171.000000 -71.942681,45.379043,172.000000 -71.942673,45.379034,172.000000 -71.942667,45.379027,173.000000 -71.942661,45.379019,172.000000 -71.942653,45.379011,172.000000 -71.942645,45.379003,172.000000 -71.942639,45.378995,172.000000 -71.942630,45.378980,173.000000 -71.942629,45.378975,173.000000 -71.942627,45.378971,173.000000 -71.942621,45.378964,175.000000 -71.942614,45.378958,176.000000 -71.942605,45.378954,177.000000 -71.942607,45.378955,177.000000 -71.942606,45.378955,177.000000 -71.942606,45.378956,177.000000 -71.942609,45.378957,177.000000 -71.942611,45.378958,177.000000 -71.942615,45.378960,178.000000 -71.942620,45.378960,178.000000 -71.942623,45.378963,178.000000 -71.942625,45.378965,177.000000 -71.942626,45.378964,177.000000 -71.942628,45.378963,177.000000 -71.942627,45.378961,177.000000 -71.942627,45.378959,177.000000 -71.942627,45.378958,177.000000 -71.942627,45.378957,176.000000 -71.942627,45.378958,177.000000 -71.942627,45.378958,177.000000 -71.942627,45.378958,177.000000 -71.942627,45.378958,177.000000 -71.942627,45.378958,177.000000 -71.942627,45.378958,177.000000 -71.942627,45.378958,177.000000 -71.942626,45.378958,177.000000 -71.942626,45.378958,177.000000 -71.942626,45.378958,177.000000 
            </coordinates>
        </LineString>
    </Placemark>
</Document>
</kml>
petterhs commented 3 years ago

Thank you! Found the issue. For some reason the decimal separators are "," in the .kml files I export instead of ".". Probably because commas are defaults in my country. Not sure where to fix it though or if it is a problem elsewhere.

Should I open a new issue on this?

Here is my kml file:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
    <name>/home/petter/Downloads/gps2.kml</name>
    <StyleMap id="msn_ylw-pushpin">
        <Pair>
            <key>normal</key>
            <styleUrl>#sn_ylw-pushpin</styleUrl>
        </Pair>
        <Pair>
            <key>highlight</key>
            <styleUrl>#sh_ylw-pushpin</styleUrl>
        </Pair>
    </StyleMap>
    <Style id="sh_ylw-pushpin">
        <IconStyle>
            <scale>1.2</scale>
        </IconStyle>
        <LineStyle>
            <color>ff808000</color>
        </LineStyle>
    </Style>
    <Style id="sn_ylw-pushpin">
        <LineStyle>
            <color>ff808000</color>
        </LineStyle>
    </Style>
    <Placemark>
        <name>/home/petter/Downloads/gps2</name>
        <styleUrl>#msn_ylw-pushpin</styleUrl>       <LineString>
            <coordinates>
                -71,942607,45,378918,174,000000 -71,942605,45,378917,174,000000 -71,942603,45,378916,175,000000 -71,942600,45,378918,175,000000 -71,942599,45,378919,175,000000 -71,942597,45,378920,175,000000 -71,942594,45,378921,176,000000 -71,942592,45,378923,176,000000 -71,942590,45,378924,176,000000 -71,942590,45,378925,176,000000 -71,942586,45,378932,176,000000 -71,942584,45,378936,177,000000 -71,942583,45,378938,177,000000 -71,942586,45,378938,176,000000 -71,942588,45,378940,176,000000 -71,942595,45,378935,175,000000 -71,942595,45,378936,176,000000 -71,942590,45,378941,175,000000 -71,942581,45,378943,175,000000 -71,942571,45,378944,178,000000 -71,942559,45,378945,178,000000 -71,942553,45,378940,179,000000 -71,942545,45,378936,180,000000 -71,942539,45,378933,181,000000 -71,942534,45,378929,181,000000 -71,942526,45,378925,183,000000 -71,942517,45,378919,183,000000 -71,942509,45,378913,180,000000 -71,942500,45,378907,180,000000 -71,942493,45,378901,180,000000 -71,942488,45,378897,179,000000 -71,942483,45,378898,178,000000 -71,942476,45,378903,179,000000 -71,942468,45,378905,179,000000 -71,942464,45,378905,180,000000 -71,942458,45,378905,181,000000 -71,942448,45,378907,181,000000 -71,942440,45,378912,184,000000 -71,942430,45,378915,186,000000 -71,942420,45,378909,190,000000 -71,942411,45,378903,190,000000 -71,942400,45,378896,191,000000 -71,942388,45,378892,193,000000 -71,942384,45,378889,192,000000 -71,942377,45,378887,193,000000 -71,942367,45,378886,194,000000 -71,942357,45,378887,194,000000 -71,942345,45,378886,196,000000 -71,942331,45,378878,197,000000 -71,942325,45,378868,196,000000 -71,942317,45,378861,197,000000 -71,942295,45,378856,198,000000 -71,942272,45,378856,198,000000 -71,942250,45,378867,194,000000 -71,942227,45,378885,196,000000 -71,942208,45,378903,193,000000 -71,942191,45,378919,192,000000 -71,942175,45,378932,192,000000 -71,942147,45,378956,192,000000 -71,942133,45,378969,191,000000 -71,942120,45,378981,192,000000 -71,942107,45,378991,191,000000 -71,942093,45,379000,192,000000 -71,942077,45,379008,191,000000 -71,942061,45,379015,194,000000 -71,942046,45,379023,193,000000 -71,942031,45,379030,192,000000 -71,942018,45,379040,191,000000 -71,942008,45,379047,189,000000 -71,942000,45,379055,189,000000 -71,941991,45,379063,188,000000 -71,941984,45,379071,186,000000 -71,941981,45,379080,186,000000 -71,941979,45,379088,185,000000 -71,941979,45,379097,184,000000 -71,941980,45,379107,183,000000 -71,941981,45,379116,183,000000 -71,941981,45,379135,183,000000 -71,941981,45,379144,181,000000 -71,941981,45,379151,181,000000 -71,941981,45,379160,181,000000 -71,941978,45,379167,181,000000 -71,941974,45,379170,179,000000 -71,941969,45,379175,177,000000 -71,941963,45,379182,178,000000 -71,941955,45,379192,178,000000 -71,941948,45,379200,177,000000 -71,941942,45,379208,176,000000 -71,941937,45,379214,176,000000 -71,941934,45,379222,176,000000 -71,941933,45,379231,177,000000 -71,941931,45,379239,177,000000 -71,941929,45,379247,177,000000 -71,941926,45,379255,177,000000 -71,941923,45,379265,177,000000 -71,941920,45,379275,177,000000 -71,941917,45,379286,175,000000 -71,941915,45,379296,176,000000 -71,941911,45,379302,176,000000 -71,941907,45,379309,177,000000 -71,941905,45,379318,174,000000 -71,941905,45,379320,173,000000 -71,941907,45,379323,173,000000 -71,941913,45,379326,172,000000 -71,941924,45,379333,172,000000 -71,941938,45,379339,172,000000 -71,941951,45,379346,172,000000 -71,941963,45,379353,173,000000 -71,941972,45,379361,174,000000 -71,941980,45,379368,174,000000 -71,941988,45,379373,174,000000 -71,941995,45,379379,176,000000 -71,942014,45,379389,174,000000 -71,942021,45,379396,175,000000 -71,942027,45,379405,175,000000 -71,942034,45,379420,176,000000 -71,942040,45,379432,176,000000 -71,942045,45,379447,177,000000 -71,942049,45,379462,178,000000 -71,942051,45,379474,176,000000 -71,942052,45,379483,176,000000 -71,942051,45,379490,178,000000 -71,942051,45,379494,178,000000 -71,942053,45,379491,176,000000 -71,942054,45,379486,175,000000 -71,942053,45,379481,175,000000 -71,942061,45,379480,175,000000 -71,942075,45,379480,174,000000 -71,942086,45,379479,174,000000 -71,942095,45,379478,174,000000 -71,942097,45,379478,174,000000 -71,942095,45,379477,174,000000 -71,942095,45,379475,174,000000 -71,942092,45,379473,174,000000 -71,942088,45,379473,174,000000 -71,942083,45,379473,174,000000 -71,942080,45,379471,174,000000 -71,942080,45,379471,174,000000 -71,942081,45,379473,174,000000 -71,942081,45,379472,174,000000 -71,942081,45,379471,174,000000 -71,942080,45,379470,174,000000 -71,942079,45,379469,174,000000 -71,942079,45,379470,174,000000 -71,942078,45,379470,174,000000 -71,942078,45,379470,174,000000 -71,942078,45,379470,174,000000 -71,942078,45,379470,174,000000 -71,942078,45,379470,174,000000 -71,942077,45,379470,174,000000 -71,942077,45,379470,174,000000 -71,942077,45,379470,174,000000 -71,942077,45,379470,174,000000 -71,942077,45,379470,174,000000 -71,942077,45,379470,174,000000 -71,942077,45,379469,174,000000 -71,942077,45,379469,174,000000 -71,942077,45,379469,174,000000 -71,942077,45,379469,174,000000 -71,942077,45,379469,174,000000 -71,942077,45,379469,174,000000 -71,942077,45,379469,174,000000 -71,942077,45,379469,174,000000 -71,942077,45,379469,174,000000 -71,942077,45,379469,174,000000 -71,942077,45,379469,174,000000 -71,942077,45,379469,174,000000 -71,942077,45,379469,174,000000 -71,942077,45,379469,174,000000 -71,942077,45,379469,174,000000 -71,942077,45,379469,174,000000 -71,942077,45,379469,174,000000 -71,942077,45,379469,174,000000 -71,942078,45,379468,173,000000 -71,942080,45,379468,173,000000 -71,942081,45,379466,173,000000 -71,942085,45,379463,173,000000 -71,942092,45,379462,173,000000 -71,942103,45,379465,173,000000 -71,942117,45,379469,173,000000 -71,942128,45,379474,174,000000 -71,942138,45,379479,175,000000 -71,942148,45,379485,174,000000 -71,942158,45,379490,175,000000 -71,942168,45,379493,174,000000 -71,942189,45,379500,174,000000 -71,942200,45,379505,172,000000 -71,942212,45,379509,171,000000 -71,942225,45,379512,171,000000 -71,942237,45,379514,170,000000 -71,942250,45,379516,171,000000 -71,942263,45,379518,171,000000 -71,942272,45,379519,170,000000 -71,942283,45,379520,171,000000 -71,942293,45,379522,170,000000 -71,942304,45,379524,170,000000 -71,942317,45,379525,170,000000 -71,942327,45,379528,169,000000 -71,942339,45,379530,170,000000 -71,942352,45,379531,170,000000 -71,942368,45,379532,170,000000 -71,942383,45,379531,171,000000 -71,942396,45,379532,170,000000 -71,942405,45,379534,170,000000 -71,942414,45,379537,170,000000 -71,942424,45,379540,170,000000 -71,942436,45,379544,169,000000 -71,942447,45,379548,169,000000 -71,942458,45,379551,168,000000 -71,942465,45,379552,167,000000 -71,942471,45,379554,166,000000 -71,942478,45,379551,167,000000 -71,942482,45,379548,167,000000 -71,942486,45,379543,168,000000 -71,942491,45,379538,168,000000 -71,942498,45,379530,168,000000 -71,942506,45,379521,168,000000 -71,942510,45,379514,168,000000 -71,942515,45,379509,168,000000 -71,942521,45,379503,169,000000 -71,942526,45,379497,169,000000 -71,942531,45,379496,166,000000 -71,942536,45,379494,165,000000 -71,942543,45,379491,165,000000 -71,942552,45,379487,165,000000 -71,942561,45,379483,164,000000 -71,942571,45,379479,165,000000 -71,942582,45,379474,167,000000 -71,942589,45,379468,167,000000 -71,942597,45,379464,168,000000 -71,942604,45,379460,166,000000 -71,942614,45,379456,167,000000 -71,942627,45,379452,167,000000 -71,942633,45,379452,167,000000 -71,942640,45,379448,167,000000 -71,942647,45,379442,168,000000 -71,942661,45,379422,167,000000 -71,942665,45,379412,168,000000 -71,942664,45,379402,169,000000 -71,942663,45,379391,169,000000 -71,942661,45,379379,168,000000 -71,942660,45,379368,169,000000 -71,942661,45,379356,169,000000 -71,942662,45,379344,169,000000 -71,942664,45,379332,170,000000 -71,942666,45,379321,170,000000 -71,942670,45,379311,170,000000 -71,942674,45,379300,170,000000 -71,942679,45,379289,170,000000 -71,942684,45,379279,170,000000 -71,942688,45,379268,170,000000 -71,942693,45,379258,169,000000 -71,942697,45,379248,169,000000 -71,942703,45,379238,170,000000 -71,942710,45,379230,169,000000 -71,942718,45,379220,169,000000 -71,942725,45,379211,170,000000 -71,942732,45,379202,170,000000 -71,942738,45,379194,170,000000 -71,942745,45,379176,170,000000 -71,942748,45,379166,170,000000 -71,942750,45,379156,170,000000 -71,942751,45,379146,170,000000 -71,942754,45,379136,171,000000 -71,942755,45,379126,171,000000 -71,942756,45,379117,170,000000 -71,942753,45,379107,171,000000 -71,942744,45,379096,171,000000 -71,942733,45,379086,171,000000 -71,942722,45,379078,171,000000 -71,942714,45,379070,171,000000 -71,942705,45,379063,170,000000 -71,942696,45,379056,170,000000 -71,942689,45,379049,171,000000 -71,942681,45,379043,172,000000 -71,942673,45,379034,172,000000 -71,942667,45,379027,173,000000 -71,942661,45,379019,172,000000 -71,942653,45,379011,172,000000 -71,942645,45,379003,172,000000 -71,942639,45,378995,172,000000 -71,942630,45,378980,173,000000 -71,942629,45,378975,173,000000 -71,942627,45,378971,173,000000 -71,942621,45,378964,175,000000 -71,942614,45,378958,176,000000 -71,942605,45,378954,177,000000 -71,942607,45,378955,177,000000 -71,942606,45,378955,177,000000 -71,942606,45,378956,177,000000 -71,942609,45,378957,177,000000 -71,942611,45,378958,177,000000 -71,942615,45,378960,178,000000 -71,942620,45,378960,178,000000 -71,942623,45,378963,178,000000 -71,942625,45,378965,177,000000 -71,942626,45,378964,177,000000 -71,942628,45,378963,177,000000 -71,942627,45,378961,177,000000 -71,942627,45,378959,177,000000 -71,942627,45,378958,177,000000 -71,942627,45,378957,176,000000 -71,942627,45,378958,177,000000 -71,942627,45,378958,177,000000 -71,942627,45,378958,177,000000 -71,942627,45,378958,177,000000 -71,942627,45,378958,177,000000 -71,942627,45,378958,177,000000 -71,942627,45,378958,177,000000 -71,942626,45,378958,177,000000 -71,942626,45,378958,177,000000 -71,942626,45,378958,177,000000 
            </coordinates>
        </LineString>
    </Placemark>
</Document>
</kml>
matlabbe commented 3 years ago

Hi,

This is a common problem for any code using "printf" or "fprintf" with %f format. Depending on your computer locale, it will output a .or a ,. The values are exported here: https://github.com/introlab/rtabmap/blob/2fcef88016b90c5e10b1b1eb012b76cfd3fc84f1/corelib/src/Graph.cpp#L526

Related issue: http://official-rtab-map-forum.206.s1.nabble.com/play-rgbd-dataset-freiburg2-tp1714p1787.html

$ export LANG="en_US.UTF-8"

see also https://stackoverflow.com/questions/12845638/how-do-i-change-the-decimal-separator-in-the-printf-command-in-bash