Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About the the laser scan of the model in gazebo #1

Closed
weixiang-smart opened this issue Sep 26, 2018 · 7 comments
Closed

About the the laser scan of the model in gazebo #1

weixiang-smart opened this issue Sep 26, 2018 · 7 comments

Comments

@weixiang-smart
Copy link

Hello, author!
When I launch mir_maze_world.launch and click the start button, it seems that the data of the laser scan is not correct. Data has always been shown to be "1.0" or "-inf". I would like to consult you about this problem. Thank you!

@mintar
Copy link
Member

mintar commented Sep 27, 2018

That is strange. In my tests this did not happen. I am currently on vacation and will check this out when I get back.

@weixiang-smart
Copy link
Author

That is strange. In my tests this did not happen. I am currently on vacation and will check this out when I get back.

Thank you very much!

@mintar
Copy link
Member

mintar commented Oct 8, 2018

I just tried it and everything looks normal. Since you already closed this issue, I assume the problem is solved for you, too.

$ roslaunch mir_gazebo mir_maze_world.launch
$ rostopic echo -n1 /scan  
header: 
  seq: 353
  stamp: 
    secs: 28
    nsecs: 320000000
  frame_id: "back_laser_link"
angle_min: -2.3561899662
angle_max: 2.3561899662
angle_increment: 0.00872662942857
time_increment: 0.0
scan_time: 0.0
range_min: 0.0500000007451
range_max: 29.0
ranges: [2.118232250213623, 2.134587049484253, 2.1255643367767334, 2.123037099838257, 2.130375385284424, 2.1107029914855957, 2.128129243850708, 2.140658378601074, 2.1382999420166016, 2.1324946880340576, 2.125605821609497, 2.1385717391967773, 2.148759126663208, 2.143369674682617, 2.135503053665161, 2.1218411922454834, 2.1377458572387695, 2.15207576751709, 2.1421897411346436, 2.1377933025360107, 2.1335928440093994, 2.156099557876587, 2.1604838371276855, 2.1672089099884033, 2.179746627807617, 2.167895793914795, 2.162435293197632, 2.1683316230773926, 2.199090003967285, 2.1949846744537354, 2.1995058059692383, 2.2081403732299805, 2.221367359161377, 2.214350461959839, 2.229611396789551, 2.212204933166504, 2.2290825843811035, 2.2183027267456055, 2.244197130203247, 2.2532339096069336, 2.261500597000122, 2.2581493854522705, 2.2664599418640137, 2.2864959239959717, 2.2825698852539062, 2.2938103675842285, 2.288411855697632, 2.2956020832061768, 2.3420591354370117, 2.3185205459594727, 2.3345391750335693, 2.3495659828186035, 2.362271547317505, 2.3712964057922363, 2.371367931365967, 2.379747152328491, 2.4135091304779053, 2.41119122505188, 2.426671028137207, 2.428227663040161, 2.4512152671813965, 2.4759654998779297, 2.4809587001800537, 2.492811679840088, 2.5055365562438965, 2.516127347946167, 2.520406723022461, 2.5294995307922363, 2.5393424034118652, 2.556929588317871, 2.5906982421875, 2.6021783351898193, 2.624302387237549, 2.6215031147003174, 2.6471946239471436, 2.6544079780578613, 2.6848361492156982, 2.7046000957489014, 2.6968162059783936, 2.717867612838745, 2.7706665992736816, 2.7762415409088135, 2.8030083179473877, 2.797773838043213, 2.8493664264678955, 2.873110294342041, 2.8893210887908936, 2.9039344787597656, 2.931823253631592, 2.937793493270874, 2.978701114654541, 3.008256196975708, 3.0271542072296143, 3.062617540359497, 3.103529691696167, 3.117196559906006, 3.1402077674865723, 3.168971300125122, 3.2094993591308594, 3.251033067703247, 3.2907605171203613, 3.291536331176758, 3.343796730041504, 3.3715360164642334, 3.4274685382843018, 3.456854820251465, 3.4743337631225586, 3.514113187789917, 3.5700695514678955, 3.609253168106079, 3.6601874828338623, 3.68784236907959, 3.72294545173645, 3.7720842361450195, 3.8262665271759033, 3.886568546295166, 3.9290051460266113, 3.977846622467041, 4.05377721786499, 4.1021246910095215, 4.171630382537842, 4.243593692779541, 4.298753261566162, 4.348803997039795, 4.417950630187988, 4.515266418457031, 4.56553840637207, 4.661907196044922, 4.727895736694336, 4.846011638641357, 4.908377647399902, 5.014745235443115, 5.125690937042236, 5.222495079040527, 5.317698955535889, 5.427479267120361, 5.5271077156066895, 5.6706976890563965, 5.793872356414795, 5.918496608734131, 6.054089069366455, 6.209200382232666, 6.368007183074951, 6.523158073425293, 6.715065956115723, 6.903368949890137, 7.085410118103027, 7.312719345092773, 7.508185863494873, 7.741258144378662, 7.994043827056885, 8.259462356567383, 8.526810646057129, 8.812872886657715, 9.152398109436035, 9.486310005187988, 9.77011489868164, 9.761271476745605, 9.742576599121094, 9.728898048400879, 9.69291877746582, 9.685714721679688, 9.655826568603516, 9.659469604492188, 9.639558792114258, 9.637975692749023, 9.615714073181152, 9.590508460998535, 9.615538597106934, 9.610030174255371, 9.59945011138916, 9.592260360717773, 9.577767372131348, 9.57090950012207, 4.01645565032959, 4.009784698486328, 4.00575590133667, 4.003983020782471, 4.013416767120361, 4.016206741333008, 4.00447416305542, 4.001724720001221, 4.007286071777344, 3.998131036758423, 4.00667142868042, 4.029260635375977, 3.9997613430023193, 4.007713317871094, 4.03181791305542, 4.015185356140137, 4.021133899688721, 4.031152725219727, 4.024902820587158, 4.024942874908447, 4.029960632324219, 4.052312850952148, 4.045283794403076, 4.044433116912842, 4.0491204261779785, 4.05939245223999, 4.054620265960693, 4.057176113128662, 4.068199157714844, 4.086193084716797, 4.083792686462402, 4.108575820922852, 4.101598262786865, 4.100880146026611, 4.093325614929199, 4.108699798583984, 4.140781402587891, 4.144482135772705, 4.153148651123047, 4.167515277862549, 4.16301155090332, 4.19837760925293, 4.189143180847168, 4.213865756988525, 4.217899322509766, 4.246091842651367, 4.2614569664001465, 4.252127170562744, 4.270252227783203, 4.27981424331665, 4.306707859039307, 4.309825897216797, 4.338870525360107, 4.3686394691467285, 4.378902435302734, 4.356312274932861, 4.388303756713867, 4.418210506439209, 4.455902576446533, 4.454675674438477, 4.467686653137207, 4.478784084320068, 4.51624059677124, 4.5403056144714355, 4.541219711303711, 4.586543560028076, 4.596199989318848, 4.6231913566589355, 4.642734050750732, 4.678833484649658, 4.695813179016113, 4.720130443572998, 4.759897232055664, 4.781935214996338, 4.812685966491699, 4.830791473388672, 4.8516130447387695, 4.881672382354736, 4.925502777099609, 4.941622734069824, 4.976891040802002, 5.001030445098877, 5.0398759841918945, 5.085338115692139, 5.125948429107666, 5.162121772766113, 5.16978645324707, 5.222858905792236, 5.251643180847168, 5.295975208282471, 5.325845241546631, 5.375739574432373, 5.419103622436523, 5.4875807762146, 5.5276641845703125, 5.562394142150879, 5.614215850830078, 5.679006099700928, 5.689973831176758, 5.765445232391357, 5.796125411987305, 5.8848066329956055, 5.9157586097717285, 5.981979846954346, 6.038512229919434, 6.0888447761535645, 6.159329891204834, 6.2255754470825195, 6.311742305755615, 6.344311714172363, 6.441888809204102, 6.495274543762207, 6.567416667938232, 11.9346923828125, 11.86047649383545, 11.748079299926758, 11.687216758728027, 11.636312484741211, 11.568455696105957, 11.476717948913574, 11.426420211791992, 11.35427474975586, 11.283430099487305, 11.23643970489502, 11.16183853149414, 11.121472358703613, 11.04306411743164, 10.987202644348145, 10.9457368850708, 10.891472816467285, 10.851860046386719, 10.779341697692871, 10.72321605682373, 10.683465003967285, 10.657992362976074, 10.568207740783691, 10.542464256286621, 10.498230934143066, 10.46053409576416, 10.439286231994629, 10.351935386657715, 10.33069133758545, 10.3173246383667, 10.265070915222168, 10.241114616394043, 10.208663940429688, 10.176687240600586, 10.131686210632324, 10.087929725646973, 10.058271408081055, 10.06266975402832, 10.007323265075684, 9.981352806091309, 9.964741706848145, 9.933659553527832, 9.918756484985352, 9.88013744354248, 9.847081184387207, 9.837822914123535, 9.809775352478027, 9.795576095581055, 9.775212287902832, 9.753161430358887, 9.748477935791016, 9.704619407653809, 9.700578689575195, 9.677417755126953, 9.667684555053711, 9.657683372497559, 9.633432388305664, 9.60992431640625, 9.613882064819336, 9.590357780456543, 9.608508110046387, 9.587990760803223, 9.561378479003906, 9.564738273620605, 9.553967475891113, 9.543522834777832, 9.542684555053711, 9.53089427947998, 9.546623229980469, 9.533839225769043, 9.535200119018555, 9.52115535736084, 9.507160186767578, 9.51028060913086, 9.509641647338867, 9.522525787353516, 9.52756404876709, 9.5253267288208, 9.5357666015625, 9.521219253540039, 9.55115795135498, 9.53507137298584, 9.541450500488281, 9.545952796936035, 9.5587739944458, 9.564725875854492, 9.55500602722168, 9.576929092407227, 9.584486961364746, 9.589488983154297, 9.614487648010254, 9.628747940063477, 9.623251914978027, 9.636534690856934, 9.651225090026855, 9.67340087890625, 9.699565887451172, 9.70309829711914, 9.72171688079834, 9.739249229431152, 9.768048286437988, 9.788407325744629, 9.793671607971191, 9.813923835754395, 9.844505310058594, 9.876179695129395, 9.891688346862793, 9.930131912231445, 9.957317352294922, 9.967127799987793, 9.9965181350708, 10.033958435058594, 10.06009578704834, 10.081624984741211, 10.119779586791992, 10.178014755249023, 10.193922996520996, 10.212203979492188, 10.271484375, 10.307071685791016, 10.343308448791504, 10.37364387512207, 10.418816566467285, 10.45796012878418, 10.493595123291016, 10.545352935791016, 10.608243942260742, 10.641190528869629, 10.689629554748535, 10.736424446105957, 10.755891799926758, 10.834805488586426, 10.870040893554688, 10.947340965270996, 10.995552062988281, 11.041560173034668, 11.103986740112305, 11.165840148925781, 11.213957786560059, 11.2781343460083, 11.34911823272705, 11.421613693237305, 11.478137016296387, 11.537641525268555, 11.616480827331543, 11.691341400146484, 11.751672744750977, 11.816762924194336, 11.910557746887207, 11.975488662719727, 12.041357040405273, 12.137940406799316, 12.212911605834961, 12.294633865356445, 12.401365280151367, 12.459474563598633, 12.6199312210083, 12.7382173538208, 12.822785377502441, 12.917031288146973, 13.007614135742188, 13.097923278808594, 13.206070899963379, 13.291364669799805, 13.47658920288086, 13.59437370300293, 13.690739631652832, 13.803176879882812, 13.897880554199219, 13.825106620788574, 13.641472816467285, 13.567687034606934, 13.486271858215332, 13.393932342529297, 13.247861862182617, 13.168328285217285, 13.080062866210938, 13.02188491821289, 12.890463829040527, 12.813603401184082, 12.759384155273438, 12.655850410461426, 12.574484825134277, 12.507377624511719, 12.402336120605469, 12.349238395690918, 12.244537353515625, 12.196775436401367, 12.14162826538086, 12.052327156066895, 12.012486457824707, 11.929739952087402, 11.886067390441895, 11.784477233886719, 11.723461151123047, 11.672595024108887, 11.617759704589844, 11.57760238647461, 11.53043270111084, 11.456409454345703, 11.429759979248047, 11.375457763671875, 11.316614151000977, 11.24093246459961, 11.220917701721191, 11.167972564697266, 11.120160102844238, 11.104365348815918, 11.041350364685059, 11.011929512023926, 10.966849327087402, 10.926573753356934, 10.891841888427734, 10.872222900390625, 10.818816184997559, 10.7762451171875, 10.748139381408691, 10.714775085449219, 10.682719230651855, 10.654838562011719, 10.651032447814941, 10.604022979736328, 10.559633255004883, 10.538825035095215, 10.509507179260254, 10.512944221496582, 10.47953987121582, 10.467423439025879, 10.420788764953613, 10.41590690612793, 10.392426490783691, 10.386316299438477, 10.336271286010742, 10.334928512573242, 10.310807228088379, 10.299017906188965, 10.305010795593262, 10.26436996459961, 10.2641019821167, 10.243903160095215, 10.236944198608398, 10.225408554077148, 10.216989517211914, 10.215885162353516, 10.216869354248047, 10.18812370300293, 10.182177543640137, 10.172781944274902, 10.180647850036621, 10.189489364624023, 10.155308723449707, 10.159968376159668, 10.160638809204102, 10.149616241455078]
intensities: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.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0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
---

@weixiang-smart
Copy link
Author

I just tried it and everything looks normal. Since you already closed this issue, I assume the problem is solved for you, too.

$ roslaunch mir_gazebo mir_maze_world.launch
$ rostopic echo -n1 /scan  
header: 
  seq: 353
  stamp: 
    secs: 28
    nsecs: 320000000
  frame_id: "back_laser_link"
angle_min: -2.3561899662
angle_max: 2.3561899662
angle_increment: 0.00872662942857
time_increment: 0.0
scan_time: 0.0
range_min: 0.0500000007451
range_max: 29.0
ranges: [2.118232250213623, 2.134587049484253, 2.1255643367767334, 2.123037099838257, 2.130375385284424, 2.1107029914855957, 2.128129243850708, 2.140658378601074, 2.1382999420166016, 2.1324946880340576, 2.125605821609497, 2.1385717391967773, 2.148759126663208, 2.143369674682617, 2.135503053665161, 2.1218411922454834, 2.1377458572387695, 2.15207576751709, 2.1421897411346436, 2.1377933025360107, 2.1335928440093994, 2.156099557876587, 2.1604838371276855, 2.1672089099884033, 2.179746627807617, 2.167895793914795, 2.162435293197632, 2.1683316230773926, 2.199090003967285, 2.1949846744537354, 2.1995058059692383, 2.2081403732299805, 2.221367359161377, 2.214350461959839, 2.229611396789551, 2.212204933166504, 2.2290825843811035, 2.2183027267456055, 2.244197130203247, 2.2532339096069336, 2.261500597000122, 2.2581493854522705, 2.2664599418640137, 2.2864959239959717, 2.2825698852539062, 2.2938103675842285, 2.288411855697632, 2.2956020832061768, 2.3420591354370117, 2.3185205459594727, 2.3345391750335693, 2.3495659828186035, 2.362271547317505, 2.3712964057922363, 2.371367931365967, 2.379747152328491, 2.4135091304779053, 2.41119122505188, 2.426671028137207, 2.428227663040161, 2.4512152671813965, 2.4759654998779297, 2.4809587001800537, 2.492811679840088, 2.5055365562438965, 2.516127347946167, 2.520406723022461, 2.5294995307922363, 2.5393424034118652, 2.556929588317871, 2.5906982421875, 2.6021783351898193, 2.624302387237549, 2.6215031147003174, 2.6471946239471436, 2.6544079780578613, 2.6848361492156982, 2.7046000957489014, 2.6968162059783936, 2.717867612838745, 2.7706665992736816, 2.7762415409088135, 2.8030083179473877, 2.797773838043213, 2.8493664264678955, 2.873110294342041, 2.8893210887908936, 2.9039344787597656, 2.931823253631592, 2.937793493270874, 2.978701114654541, 3.008256196975708, 3.0271542072296143, 3.062617540359497, 3.103529691696167, 3.117196559906006, 3.1402077674865723, 3.168971300125122, 3.2094993591308594, 3.251033067703247, 3.2907605171203613, 3.291536331176758, 3.343796730041504, 3.3715360164642334, 3.4274685382843018, 3.456854820251465, 3.4743337631225586, 3.514113187789917, 3.5700695514678955, 3.609253168106079, 3.6601874828338623, 3.68784236907959, 3.72294545173645, 3.7720842361450195, 3.8262665271759033, 3.886568546295166, 3.9290051460266113, 3.977846622467041, 4.05377721786499, 4.1021246910095215, 4.171630382537842, 4.243593692779541, 4.298753261566162, 4.348803997039795, 4.417950630187988, 4.515266418457031, 4.56553840637207, 4.661907196044922, 4.727895736694336, 4.846011638641357, 4.908377647399902, 5.014745235443115, 5.125690937042236, 5.222495079040527, 5.317698955535889, 5.427479267120361, 5.5271077156066895, 5.6706976890563965, 5.793872356414795, 5.918496608734131, 6.054089069366455, 6.209200382232666, 6.368007183074951, 6.523158073425293, 6.715065956115723, 6.903368949890137, 7.085410118103027, 7.312719345092773, 7.508185863494873, 7.741258144378662, 7.994043827056885, 8.259462356567383, 8.526810646057129, 8.812872886657715, 9.152398109436035, 9.486310005187988, 9.77011489868164, 9.761271476745605, 9.742576599121094, 9.728898048400879, 9.69291877746582, 9.685714721679688, 9.655826568603516, 9.659469604492188, 9.639558792114258, 9.637975692749023, 9.615714073181152, 9.590508460998535, 9.615538597106934, 9.610030174255371, 9.59945011138916, 9.592260360717773, 9.577767372131348, 9.57090950012207, 4.01645565032959, 4.009784698486328, 4.00575590133667, 4.003983020782471, 4.013416767120361, 4.016206741333008, 4.00447416305542, 4.001724720001221, 4.007286071777344, 3.998131036758423, 4.00667142868042, 4.029260635375977, 3.9997613430023193, 4.007713317871094, 4.03181791305542, 4.015185356140137, 4.021133899688721, 4.031152725219727, 4.024902820587158, 4.024942874908447, 4.029960632324219, 4.052312850952148, 4.045283794403076, 4.044433116912842, 4.0491204261779785, 4.05939245223999, 4.054620265960693, 4.057176113128662, 4.068199157714844, 4.086193084716797, 4.083792686462402, 4.108575820922852, 4.101598262786865, 4.100880146026611, 4.093325614929199, 4.108699798583984, 4.140781402587891, 4.144482135772705, 4.153148651123047, 4.167515277862549, 4.16301155090332, 4.19837760925293, 4.189143180847168, 4.213865756988525, 4.217899322509766, 4.246091842651367, 4.2614569664001465, 4.252127170562744, 4.270252227783203, 4.27981424331665, 4.306707859039307, 4.309825897216797, 4.338870525360107, 4.3686394691467285, 4.378902435302734, 4.356312274932861, 4.388303756713867, 4.418210506439209, 4.455902576446533, 4.454675674438477, 4.467686653137207, 4.478784084320068, 4.51624059677124, 4.5403056144714355, 4.541219711303711, 4.586543560028076, 4.596199989318848, 4.6231913566589355, 4.642734050750732, 4.678833484649658, 4.695813179016113, 4.720130443572998, 4.759897232055664, 4.781935214996338, 4.812685966491699, 4.830791473388672, 4.8516130447387695, 4.881672382354736, 4.925502777099609, 4.941622734069824, 4.976891040802002, 5.001030445098877, 5.0398759841918945, 5.085338115692139, 5.125948429107666, 5.162121772766113, 5.16978645324707, 5.222858905792236, 5.251643180847168, 5.295975208282471, 5.325845241546631, 5.375739574432373, 5.419103622436523, 5.4875807762146, 5.5276641845703125, 5.562394142150879, 5.614215850830078, 5.679006099700928, 5.689973831176758, 5.765445232391357, 5.796125411987305, 5.8848066329956055, 5.9157586097717285, 5.981979846954346, 6.038512229919434, 6.0888447761535645, 6.159329891204834, 6.2255754470825195, 6.311742305755615, 6.344311714172363, 6.441888809204102, 6.495274543762207, 6.567416667938232, 11.9346923828125, 11.86047649383545, 11.748079299926758, 11.687216758728027, 11.636312484741211, 11.568455696105957, 11.476717948913574, 11.426420211791992, 11.35427474975586, 11.283430099487305, 11.23643970489502, 11.16183853149414, 11.121472358703613, 11.04306411743164, 10.987202644348145, 10.9457368850708, 10.891472816467285, 10.851860046386719, 10.779341697692871, 10.72321605682373, 10.683465003967285, 10.657992362976074, 10.568207740783691, 10.542464256286621, 10.498230934143066, 10.46053409576416, 10.439286231994629, 10.351935386657715, 10.33069133758545, 10.3173246383667, 10.265070915222168, 10.241114616394043, 10.208663940429688, 10.176687240600586, 10.131686210632324, 10.087929725646973, 10.058271408081055, 10.06266975402832, 10.007323265075684, 9.981352806091309, 9.964741706848145, 9.933659553527832, 9.918756484985352, 9.88013744354248, 9.847081184387207, 9.837822914123535, 9.809775352478027, 9.795576095581055, 9.775212287902832, 9.753161430358887, 9.748477935791016, 9.704619407653809, 9.700578689575195, 9.677417755126953, 9.667684555053711, 9.657683372497559, 9.633432388305664, 9.60992431640625, 9.613882064819336, 9.590357780456543, 9.608508110046387, 9.587990760803223, 9.561378479003906, 9.564738273620605, 9.553967475891113, 9.543522834777832, 9.542684555053711, 9.53089427947998, 9.546623229980469, 9.533839225769043, 9.535200119018555, 9.52115535736084, 9.507160186767578, 9.51028060913086, 9.509641647338867, 9.522525787353516, 9.52756404876709, 9.5253267288208, 9.5357666015625, 9.521219253540039, 9.55115795135498, 9.53507137298584, 9.541450500488281, 9.545952796936035, 9.5587739944458, 9.564725875854492, 9.55500602722168, 9.576929092407227, 9.584486961364746, 9.589488983154297, 9.614487648010254, 9.628747940063477, 9.623251914978027, 9.636534690856934, 9.651225090026855, 9.67340087890625, 9.699565887451172, 9.70309829711914, 9.72171688079834, 9.739249229431152, 9.768048286437988, 9.788407325744629, 9.793671607971191, 9.813923835754395, 9.844505310058594, 9.876179695129395, 9.891688346862793, 9.930131912231445, 9.957317352294922, 9.967127799987793, 9.9965181350708, 10.033958435058594, 10.06009578704834, 10.081624984741211, 10.119779586791992, 10.178014755249023, 10.193922996520996, 10.212203979492188, 10.271484375, 10.307071685791016, 10.343308448791504, 10.37364387512207, 10.418816566467285, 10.45796012878418, 10.493595123291016, 10.545352935791016, 10.608243942260742, 10.641190528869629, 10.689629554748535, 10.736424446105957, 10.755891799926758, 10.834805488586426, 10.870040893554688, 10.947340965270996, 10.995552062988281, 11.041560173034668, 11.103986740112305, 11.165840148925781, 11.213957786560059, 11.2781343460083, 11.34911823272705, 11.421613693237305, 11.478137016296387, 11.537641525268555, 11.616480827331543, 11.691341400146484, 11.751672744750977, 11.816762924194336, 11.910557746887207, 11.975488662719727, 12.041357040405273, 12.137940406799316, 12.212911605834961, 12.294633865356445, 12.401365280151367, 12.459474563598633, 12.6199312210083, 12.7382173538208, 12.822785377502441, 12.917031288146973, 13.007614135742188, 13.097923278808594, 13.206070899963379, 13.291364669799805, 13.47658920288086, 13.59437370300293, 13.690739631652832, 13.803176879882812, 13.897880554199219, 13.825106620788574, 13.641472816467285, 13.567687034606934, 13.486271858215332, 13.393932342529297, 13.247861862182617, 13.168328285217285, 13.080062866210938, 13.02188491821289, 12.890463829040527, 12.813603401184082, 12.759384155273438, 12.655850410461426, 12.574484825134277, 12.507377624511719, 12.402336120605469, 12.349238395690918, 12.244537353515625, 12.196775436401367, 12.14162826538086, 12.052327156066895, 12.012486457824707, 11.929739952087402, 11.886067390441895, 11.784477233886719, 11.723461151123047, 11.672595024108887, 11.617759704589844, 11.57760238647461, 11.53043270111084, 11.456409454345703, 11.429759979248047, 11.375457763671875, 11.316614151000977, 11.24093246459961, 11.220917701721191, 11.167972564697266, 11.120160102844238, 11.104365348815918, 11.041350364685059, 11.011929512023926, 10.966849327087402, 10.926573753356934, 10.891841888427734, 10.872222900390625, 10.818816184997559, 10.7762451171875, 10.748139381408691, 10.714775085449219, 10.682719230651855, 10.654838562011719, 10.651032447814941, 10.604022979736328, 10.559633255004883, 10.538825035095215, 10.509507179260254, 10.512944221496582, 10.47953987121582, 10.467423439025879, 10.420788764953613, 10.41590690612793, 10.392426490783691, 10.386316299438477, 10.336271286010742, 10.334928512573242, 10.310807228088379, 10.299017906188965, 10.305010795593262, 10.26436996459961, 10.2641019821167, 10.243903160095215, 10.236944198608398, 10.225408554077148, 10.216989517211914, 10.215885162353516, 10.216869354248047, 10.18812370300293, 10.182177543640137, 10.172781944274902, 10.180647850036621, 10.189489364624023, 10.155308723449707, 10.159968376159668, 10.160638809204102, 10.149616241455078]
intensities: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0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0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
---

It seems something wrong with my ros, it can run in my partner's computer. Anyway, thank you very much.

@kajep09
Copy link

kajep09 commented May 16, 2019

I have the same problem when building everything from source and running the tutorials as explained in the readme. There is no usable data on any of the scan topics (see output below).
I thought it might be a gazebo issue, so I replaced my default gazebo7 with a new gazebo9, but the problem is the same.

$ rostopic echo -n1 /scan 
header: 
  seq: 1476
  stamp: 
    secs: 118
    nsecs: 160000000
  frame_id: "front_laser_link"
angle_min: -2.3561899662
angle_max: 2.3561899662
angle_increment: 0.00872662942857
time_increment: 0.0
scan_time: 0.0
range_min: 0.0500000007451
range_max: 29.0
ranges: [-inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf]
intensities: [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0,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, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0]
---

I tried to have the robot turn in place and to my surprise I got a few (2-5) points in the laser scan, but it is a few points that are always at the same angle in the scan, but with varying ranges (really buggy). I tried to record a video of the robot spinning and the buggy laser scanner points.
https://youtu.be/PvD6vNqBu64

Below is an example of the output from the scan topic during the spin run above.

Do you have any idea about what might be the cause @mintar ?

header: 
  seq: 4922
  stamp: 
    secs: 393
    nsecs: 840000000
  frame_id: "front_laser_link"
angle_min: -2.3561899662
angle_max: 2.3561899662
angle_increment: 0.00872662942857
time_increment: 0.0
scan_time: 0.0
range_min: 0.0500000007451
range_max: 29.0
ranges: [-inf, -inf, 2.614379405975342, 2.5864169597625732, 2.618267297744751, 2.5903701782226562, 2.611811637878418, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf, -inf]
intensities: [1.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0,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Copy link
Member

mintar commented May 16, 2019

I assume it's an incompatibility between Gazebo and your graphics card. Which graphics card is it? I'm always running Gazebo on PCs with a NVIDIA card, since Gazebo sometimes produces these weird bugs on other graphics cards.

I suspect the following two things:

  1. The problem is not specific to the mir_gazebo package; you'll probably get it with any other laser scanner Gazebo simulation as well on your PC.
  2. The problem will probably go away if you run the same software on a PC with an NVIDIA graphics card.

@kajep09
Copy link

kajep09 commented May 29, 2019

Hi mintar,

Thank you for the quick response. It seems like you were right about the graphics card / drivers. I tried on another laptop and there it works fine, which prompted me to update my nvidia drivers on my own laptop afterwards - and now it works here too.

mintar added a commit that referenced this issue May 1, 2020
The GPU laser plugin has caused multiple people problems before, because
it is not compatible with all GPUS: #1 #32 #46 #52

The normal laser plugin directly uses the physics engine, so it doesn't
depend on any specific GPU. Also, it doesn't slow down the simulation
noticeably (maybe 1-2%).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants