Can't visualize point cloud in Exercise 3.1

First I run:

$ roslaunch husky_navigation amcl_demo.launch

... logging to /home/user/.ros/log/49fbccaa-92c7-11ec-879a-0242ac140008/roslaunch-1_xterm-1601.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://1_xterm:44745/

SUMMARY
========

PARAMETERS
 * /amcl/gui_publish_rate: 10.0
 * /amcl/kld_err: 0.05
 * /amcl/kld_z: 0.99
 * /amcl/laser_lambda_short: 0.1
 * /amcl/laser_likelihood_max_dist: 2.0
 * /amcl/laser_max_beams: 60
 * /amcl/laser_max_range: 12.0
 * /amcl/laser_model_type: likelihood_field
 * /amcl/laser_sigma_hit: 0.2
 * /amcl/laser_z_hit: 0.5
 * /amcl/laser_z_max: 0.05
 * /amcl/laser_z_rand: 0.5
 * /amcl/laser_z_short: 0.05
 * /amcl/max_particles: 2000
 * /amcl/min_particles: 500
 * /amcl/odom_alpha1: 0.2
 * /amcl/odom_alpha2: 0.2
 * /amcl/odom_alpha3: 0.2
 * /amcl/odom_alpha4: 0.2
 * /amcl/odom_alpha5: 0.1
 * /amcl/odom_frame_id: odom
 * /amcl/odom_model_type: diff
 * /amcl/recovery_alpha_fast: 0.0
 * /amcl/recovery_alpha_slow: 0.0
 * /amcl/resample_interval: 1
 * /amcl/transform_tolerance: 1.0
 * /amcl/update_min_a: 0.2
 * /amcl/update_min_d: 0.25
 * /amcl/use_map_topic: True
 * /move_base/DWAPlannerROS/acc_lim_th: 3.2
 * /move_base/DWAPlannerROS/acc_lim_x: 2.5
 * /move_base/DWAPlannerROS/acc_lim_y: 0
 * /move_base/DWAPlannerROS/latch_xy_goal_tolerance: False
 * /move_base/DWAPlannerROS/max_vel_theta: 1.0
 * /move_base/DWAPlannerROS/max_vel_trans: 0.5
 * /move_base/DWAPlannerROS/max_vel_x: 0.5
 * /move_base/DWAPlannerROS/max_vel_y: 0
 * /move_base/DWAPlannerROS/min_vel_theta: 0.2
 * /move_base/DWAPlannerROS/min_vel_trans: 0.1
 * /move_base/DWAPlannerROS/min_vel_x: 0.0
 * /move_base/DWAPlannerROS/min_vel_y: 0
 * /move_base/DWAPlannerROS/xy_goal_tolerance: 0.2
 * /move_base/DWAPlannerROS/yaw_goal_tolerance: 0.1
 * /move_base/NavfnROS/allow_unknown: True
 * /move_base/NavfnROS/default_tolerance: 0.1
 * /move_base/TrajectoryPlannerROS/acc_lim_theta: 3.2
 * /move_base/TrajectoryPlannerROS/acc_lim_x: 2.5
 * /move_base/TrajectoryPlannerROS/angular_sim_granularity: 0.02
 * /move_base/TrajectoryPlannerROS/controller_frequency: 20.0
 * /move_base/TrajectoryPlannerROS/dwa: True
 * /move_base/TrajectoryPlannerROS/escape_reset_dist: 0.1
 * /move_base/TrajectoryPlannerROS/escape_reset_theta: 0.1
 * /move_base/TrajectoryPlannerROS/escape_vel: -0.1
 * /move_base/TrajectoryPlannerROS/gdist_scale: 1.0
 * /move_base/TrajectoryPlannerROS/heading_lookahead: 0.325
 * /move_base/TrajectoryPlannerROS/heading_scoring: False
 * /move_base/TrajectoryPlannerROS/heading_scoring_timestep: 0.8
 * /move_base/TrajectoryPlannerROS/holonomic_robot: False
 * /move_base/TrajectoryPlannerROS/latch_xy_goal_tolerance: False
 * /move_base/TrajectoryPlannerROS/max_vel_theta: 1.0
 * /move_base/TrajectoryPlannerROS/max_vel_x: 1.0
 * /move_base/TrajectoryPlannerROS/meter_scoring: True
 * /move_base/TrajectoryPlannerROS/min_in_place_vel_theta: 0.2
 * /move_base/TrajectoryPlannerROS/min_vel_theta: -1.0
 * /move_base/TrajectoryPlannerROS/min_vel_x: 0.0
 * /move_base/TrajectoryPlannerROS/occdist_scale: 0.1
 * /move_base/TrajectoryPlannerROS/oscillation_reset_dist: 0.25
 * /move_base/TrajectoryPlannerROS/pdist_scale: 0.75
 * /move_base/TrajectoryPlannerROS/publish_cost_grid_pc: True
 * /move_base/TrajectoryPlannerROS/sim_granularity: 0.02
 * /move_base/TrajectoryPlannerROS/sim_time: 2.0
 * /move_base/TrajectoryPlannerROS/simple_attractor: False
 * /move_base/TrajectoryPlannerROS/vtheta_samples: 20
 * /move_base/TrajectoryPlannerROS/vx_samples: 6
 * /move_base/TrajectoryPlannerROS/xy_goal_tolerance: 0.2
 * /move_base/TrajectoryPlannerROS/yaw_goal_tolerance: 0.1
 * /move_base/base_global_planner: navfn/NavfnROS
 * /move_base/base_local_planner: dwa_local_planner...
 * /move_base/controller_frequency: 5.0
 * /move_base/global_costmap/footprint: [[-0.5, -0.33], [...
 * /move_base/global_costmap/footprint_padding: 0.01
 * /move_base/global_costmap/global_frame: map
 * /move_base/global_costmap/inflation/inflation_radius: 1.0
 * /move_base/global_costmap/obstacles_laser/laser/clearing: True
 * /move_base/global_costmap/obstacles_laser/laser/data_type: LaserScan
 * /move_base/global_costmap/obstacles_laser/laser/inf_is_valid: True
 * /move_base/global_costmap/obstacles_laser/laser/marking: True
 * /move_base/global_costmap/obstacles_laser/laser/obstacle_range: 5.5
 * /move_base/global_costmap/obstacles_laser/laser/topic: scan
 * /move_base/global_costmap/obstacles_laser/observation_sources: laser
 * /move_base/global_costmap/plugins: [{'name': 'static...
 * /move_base/global_costmap/publish_frequency: 3.0
 * /move_base/global_costmap/resolution: 0.05
 * /move_base/global_costmap/robot_base_frame: base_link
 * /move_base/global_costmap/rolling_window: False
 * /move_base/global_costmap/static/map_topic: /map
 * /move_base/global_costmap/static/subscribe_to_updates: True
 * /move_base/global_costmap/transform_tolerance: 0.5
 * /move_base/global_costmap/update_frequency: 4.0
 * /move_base/local_costmap/footprint: [[-0.5, -0.33], [...
 * /move_base/local_costmap/footprint_padding: 0.01
 * /move_base/local_costmap/global_frame: odom
 * /move_base/local_costmap/height: 10.0
 * /move_base/local_costmap/inflation/inflation_radius: 1.0
 * /move_base/local_costmap/obstacles_laser/laser/clearing: True
 * /move_base/local_costmap/obstacles_laser/laser/data_type: LaserScan
 * /move_base/local_costmap/obstacles_laser/laser/inf_is_valid: True
 * /move_base/local_costmap/obstacles_laser/laser/marking: True
 * /move_base/local_costmap/obstacles_laser/laser/obstacle_range: 5.5
 * /move_base/local_costmap/obstacles_laser/laser/topic: scan
 * /move_base/local_costmap/obstacles_laser/observation_sources: laser
 * /move_base/local_costmap/plugins: [{'name': 'obstac...
 * /move_base/local_costmap/publish_frequency: 3.0
 * /move_base/local_costmap/resolution: 0.05
 * /move_base/local_costmap/robot_base_frame: base_link
 * /move_base/local_costmap/rolling_window: True
 * /move_base/local_costmap/static/map_topic: /map
 * /move_base/local_costmap/static/subscribe_to_updates: True
 * /move_base/local_costmap/transform_tolerance: 0.5
 * /move_base/local_costmap/update_frequency: 4.0
 * /move_base/local_costmap/width: 10.0
 * /move_base/recovery_behaviour_enabled: True
 * /rosdistro: noetic
 * /rosversion: 1.15.9

NODES
  /
    amcl (amcl/amcl)
    map_server (map_server/map_server)
    move_base (move_base/move_base)

ROS_MASTER_URI=http://1_simulation:11311

process[map_server-1]: started with pid [1609]
process[amcl-2]: started with pid [1610]
process[move_base-3]: started with pid [1611]
[ WARN] [1645414717.940006350, 265.269000000]: No laser scan received (and thus no pose updates have been published) for 265.269000 seconds.  Verify that data is being published on the /scan topic.
[ WARN] [1645414717.940246690, 265.269000000]: No laser scan received (and thus no pose updates have been published) for 265.269000 seconds.  Verify that data is being published on the /scan topic.
[ WARN] [1645414717.940984970, 265.270000000]: Timed out waiting for transform from base_link to map to become available before running costmap, tf error: canTransform: target_frame map does not exist.. canTransform returned after 265.27 timeout was 0.1.
[ INFO] [1645414719.170433730, 266.496000000]: global_costmap: Using plugin "static"
[ INFO] [1645414719.178693183, 266.505000000]: Requesting the map...
[ INFO] [1645414719.381913908, 266.707000000]: Resizing costmap to 608 X 608 at 0.050000 m/pix
[ INFO] [1645414719.481527911, 266.807000000]: Received a 608 X 608 map at 0.050000 m/pix
[ INFO] [1645414719.481573039, 266.807000000]: Subscribing to updates
[ INFO] [1645414719.487094994, 266.812000000]: global_costmap: Using plugin "inflation"
[ INFO] [1645414719.528283929, 266.853000000]: local_costmap: Using plugin "obstacles_laser"
[ INFO] [1645414719.531391829, 266.856000000]:     Subscribed to Topics: laser
[ INFO] [1645414719.548079889, 266.873000000]: local_costmap: Using plugin "inflation"
[ INFO] [1645414719.584702616, 266.909000000]: Created local_planner dwa_local_planner/DWAPlannerROS
[ INFO] [1645414719.589261764, 266.914000000]: Sim period is set to 0.20
[ INFO] [1645414719.837170986, 267.161000000]: Recovery behavior will clear layer 'obstacles'
[ INFO] [1645414719.843485824, 267.168000000]: Recovery behavior will clear layer 'obstacles'

Because of the warning concerning the laser scan, I run:

user:~**$ rostopic echo /scan -n1**
header:
  seq: 6931
  stamp:
    secs: 403
    nsecs: 911000000
  frame_id: "base_laser"
angle_min: -2.3561899662017822
angle_max: 2.3561899662017822
angle_increment: 0.006554075051099062
time_increment: 0.0
scan_time: 0.0
range_min: 0.10000000149011612
range_max: 30.0
ranges: [9.058794975280762, 9.136943817138672, 9.216317176818848, 9.298355102539062, 9.380011558532715,9.465636253356934, 9.550504684448242, 9.638050079345703, 9.727630615234375, 9.82202434539795, 9.915312767028809, 10.011415481567383, 10.111989974975586, 10.214300155639648, 10.320270538330078, 10.426668167114258, 10.537468910217285, 10.649993896484375, 10.764403343200684, 10.882851600646973, 11.005622863769531, 11.129327774047852, 11.25819206237793, 11.389395713806152, 11.525310516357422, 11.66232967376709, 11.805066108703613, 11.954675674438477, 12.105311393737793, 12.261799812316895, 12.420072555541992, 12.58454704284668, 12.708049774169922, 12.66734504699707, 12.629660606384277, 12.590739250183105, 12.555352210998535, 12.516758918762207, 12.47974681854248, 12.44414234161377, 12.410819053649902, 12.375752449035645, 12.345613479614258, 12.311736106872559, 12.279000282287598, 12.248409271240234, 12.219457626342773, 12.188029289245605, 12.157856941223145, 12.129477500915527, 12.104193687438965, 12.0762300491333, 12.050044059753418, 12.022031784057617, 11.998685836791992, 11.973206520080566, 11.949910163879395, 11.925834655761719, 11.9038667678833, 7.461294651031494, 7.45657205581665, 7.493205547332764, 7.526037693023682, 7.563206672668457, 7.598474979400635, 7.63438606262207, 7.673212051391602, 7.712379455566406, 7.750274658203125, 7.788417816162109, 7.829370021820068, 7.873306751251221, 7.913805961608887, 7.955352306365967, 11.617643356323242, 11.603508949279785, 11.590225219726562, 11.578963279724121, 11.567142486572266, 11.557340621948242, 11.545817375183105, 11.534625053405762, 11.526103973388672, 11.515750885009766, 11.50703239440918, 11.501078605651855, 11.491406440734863, 11.482892990112305, 11.47693157196045, 11.472103118896484,11.466286659240723, 11.461882591247559, 11.457398414611816, 11.452201843261719, 11.448999404907227, 11.446452140808105, 11.444250106811523, 11.440315246582031, 11.440645217895508, 11.437793731689453, 11.437312126159668, 11.43886947631836, 11.438736915588379, 11.437142372131348, 11.441313743591309, 11.445120811462402, 11.443741798400879, 11.447734832763672, 11.450942039489746, 11.454106330871582, 11.45809555053711, 11.464686393737793, 11.469535827636719, 11.474544525146484, 11.480901718139648, 11.488187789916992, 11.494330406188965, 11.500692367553711, 11.511290550231934, 11.521180152893066, 11.531959533691406, 11.541150093078613, 14.548843383789062, 14.561716079711914, 14.577247619628906, 14.590744972229004, 14.6069974899292, 14.623466491699219, 14.640652656555176, 14.659808158874512, 14.67645263671875, 14.697659492492676, 14.713029861450195, 14.735773086547852, 14.755541801452637, 14.778058052062988, 14.800379753112793, 14.822023391723633, 14.84692096710205, 14.49646282196045, 14.131507873535156, 13.787589073181152, 13.463086128234863, 13.150120735168457, 12.855551719665527, 12.570201873779297, 12.299513816833496, 12.040714263916016, 11.794150352478027, 11.559195518493652, 11.332110404968262, 11.11343002319336, 10.904415130615234, 10.704530715942383, 10.50959587097168, 10.324671745300293, 10.144347190856934, 9.972428321838379, 9.806780815124512, 9.645054817199707, 9.489784240722656, 9.339205741882324, 9.198095321655273, 9.057039260864258, 8.921793937683105, 8.792105674743652, 8.663037300109863, 8.541711807250977, 8.421929359436035, 8.308292388916016, 8.196146965026855, 8.086209297180176, 7.982439994812012, 7.879404067993164, 7.780318260192871, 7.685164451599121, 7.588700294494629, 7.4985527992248535, 7.409323692321777, 7.322586536407471, 7.2397236824035645, 7.1563920974731445, 7.076866626739502, 6.999244689941406, 6.924830913543701, 6.848090648651123, 6.776891231536865, 6.70805549621582, 6.638283729553223, 6.5719499588012695, 6.5048322677612305, 6.442312240600586, 6.38185453414917, 6.321196556091309, 6.26129674911499, 6.203202724456787, 6.148184776306152, 6.089591026306152, 6.037467956542969, 5.982673645019531, 5.9323930740356445, 5.8814873695373535, 5.831704139709473, 5.784109115600586, 5.735738277435303, 5.69058895111084, 5.643085956573486, 5.6005120277404785, 5.557067394256592, 5.513626575469971, 5.472286224365234, 5.4330668449401855, 5.391860485076904, 5.352962493896484, 5.31337308883667, 5.276683330535889, 5.239341735839844, 5.203827381134033, 5.168515682220459, 5.132523059844971, 5.097999095916748, 5.065913200378418, 5.033876895904541, 5.000545501708984, 4.969616413116455, 4.93871545791626, 4.908483028411865, 4.881098747253418, 4.849780082702637, 4.819794178009033, 4.794540882110596, 4.765200138092041, 4.738628387451172, 4.713225364685059, 4.685420036315918, 4.659726619720459, 4.6364593505859375, 4.610503673553467, 4.585862636566162, 4.564454078674316,4.538394451141357, 4.514886856079102, 4.4946417808532715, 4.473400115966797, 4.451992511749268, 4.430583953857422, 4.409945487976074, 4.388875484466553, 4.369375705718994, 4.349735736846924, 4.329452991485596, 4.312325477600098, 4.294142723083496, 4.272593975067139, 4.256826400756836, 4.237856388092041, 4.220132827758789, 4.204524517059326, 4.186453819274902, 4.172397136688232, 4.154062747955322, 4.138936519622803, 4.122779846191406, 4.107595443725586, 4.093031883239746, 4.078696250915527, 4.066316604614258, 4.052605152130127, 4.036484718322754, 4.02480411529541, 4.012208461761475, 3.996246814727783, 3.9870388507843018, 3.9707276821136475, 3.9611637592315674, 3.949280023574829, 3.938579559326172, 3.923872709274292, 3.912860631942749, 3.9037108421325684, 3.891646146774292, 3.882439374923706, 3.8730766773223877, 3.8604817390441895, 3.8496365547180176, 3.842989206314087, 3.8342244625091553, 3.8218371868133545, 3.8125991821289062, 3.805647611618042, 3.7973530292510986, 3.788942813873291, 3.7816455364227295, 3.7728211879730225, 3.7625207901000977, 3.755295515060425, 3.7489230632781982, 3.7425785064697266, 3.7339060306549072, 3.7273671627044678, 3.7191367149353027, 3.713484525680542, 3.709038734436035, 3.702648639678955, 3.6951675415039062, 3.689089775085449, 3.685884714126587, 3.6762845516204834, 3.6752586364746094, 3.6706953048706055, 3.66347599029541, 3.6574606895446777, 3.6529974937438965, 3.6504428386688232, 3.645695209503174, 3.6404342651367188, 3.6366355419158936, 3.634202003479004, 3.6297006607055664, 3.6259100437164307, 3.62231707572937, 3.621650457382202, 3.615617275238037, 3.6147613525390625, 3.6076600551605225, 3.6096389293670654, 3.6058268547058105, 3.604708433151245, 3.602447509765625, 3.601681709289551, 3.6011271476745605, 3.5968735218048096, 3.5965983867645264, 3.594681978225708, 3.593118667602539, 3.5921378135681152, 3.5936195850372314, 3.5917937755584717, 3.590765953063965, 3.59110164642334, 3.5906426906585693, 3.590280771255493,3.5891823768615723, 3.5900862216949463, 3.592663049697876, 3.591322660446167, 3.5925514698028564, 3.5923168659210205, 3.5959720611572266, 3.594871997833252, 3.5978004932403564, 3.599703788757324, 3.60160756111145, 3.6036391258239746, 3.603084087371826, 3.6071581840515137, 3.608513593673706, 3.6125283241271973,3.613996982574463, 3.617126226425171, 3.6207783222198486, 3.6239125728607178, 3.6261491775512695, 3.6302192211151123, 3.6342999935150146, 3.6361138820648193, 3.6425981521606445, 3.646796464920044, 3.6507251262664795, 3.65351939201355, 3.6590397357940674, 3.6628801822662354, 3.6679959297180176, 3.6716976165771484, 3.6803064346313477, 3.6824302673339844, 3.689246892929077, 3.6984362602233887, 3.701957941055298, 3.7070229053497314, 3.7136337757110596, 3.719634771347046, 3.7262754440307617, 3.7351346015930176, 3.7427375316619873, 3.7506422996520996, 3.7558488845825195, 3.764263391494751, 3.771474599838257, 3.7801318168640137, 3.7894415855407715, 3.796132802963257, 3.80612850189209, 3.813934803009033, 3.8237361907958984, 3.8338053226470947, 3.8413755893707275, 3.8509609699249268, 3.8624346256256104, 3.871448278427124, 3.880988836288452, 3.8925814628601074, 3.9032773971557617, 3.916555881500244, 3.926300048828125, 3.9359230995178223, 3.9488277435302734, 3.960598945617676, 3.975778341293335, 3.9864494800567627, 3.9998176097869873,4.013646125793457, 4.025994777679443, 4.039101600646973, 4.05121374130249, 4.067313194274902, 4.0799055099487305, 4.095775604248047, 4.109199047088623, 4.125054359436035, 4.1400227546691895, 4.156692981719971, 4.17162561416626, 4.19078254699707, 4.204759120941162, 4.222977161407471, 4.240226745605469, 4.256438732147217, 4.275065898895264, 4.295434474945068, 4.311852931976318, 4.329494476318359, 4.347808837890625, 4.3695197105407715, 4.390768051147461, 4.410227298736572, 4.429781913757324, 4.453690528869629, 4.473566055297852, 4.4990010261535645, 4.517611026763916, 4.5410380363464355, 4.5632195472717285, 4.58737850189209, 4.61265230178833, 4.637866020202637, 4.663079261779785, 4.68558406829834, 4.712638854980469, 4.740357875823975, 4.767258644104004, 4.7930989265441895, 4.825422286987305, 4.849257469177246, 4.880452632904053, 4.90985107421875, 4.941023826599121, 4.972644805908203, 5.0024847984313965, 5.036292552947998, 5.068088531494141, 5.100430011749268, 5.13496732711792, 5.170152187347412, 5.205707550048828, 5.241462230682373, 5.277371883392334, 5.3163652420043945, 5.354658603668213, 5.392813205718994, 5.43501615524292, 5.473762035369873, 5.518161773681641, 5.560070514678955, 5.603594779968262, 5.647548675537109, 5.692099094390869, 5.7387495040893555, 5.785758018493652, 5.833591938018799, 5.884200096130371, 5.935213088989258, 5.986680030822754, 6.038364410400391, 6.093925476074219, 6.149751663208008, 6.205252170562744, 6.264027118682861, 6.321686744689941, 6.382298469543457, 6.447525501251221, 6.509964942932129, 6.574560642242432, 6.642723560333252, 6.711871147155762, 6.78294563293457, 6.853671550750732, 6.926926612854004, 7.003442287445068, 7.082355976104736, 7.1608476638793945, 7.2416157722473145, 7.327940464019775, 7.412904262542725, 7.501426696777344, 7.5940093994140625, 7.688581466674805, 7.705391883850098, 7.6797637939453125, 7.654936790466309, 7.6299309730529785, 7.603914260864258, 7.5789008140563965, 7.557647705078125, 7.534051418304443, 7.51146125793457, 7.488984107971191, 7.465569019317627, 7.446784973144531, 7.4241862297058105, 7.404491424560547, 7.384052753448486, 7.363000869750977, 7.34579610824585, 7.326873302459717, 7.309097766876221, 7.291409015655518, 7.271968364715576, 7.254879951477051, 7.239230155944824, 7.223289966583252, 7.206042766571045, 7.192190647125244, 7.176611423492432, 7.162438869476318, 7.147295951843262, 7.1330790519714355, 7.118994235992432, 7.106232166290283, 7.0929741859436035, 7.080603122711182, 7.069703102111816,7.056897163391113, 7.044991493225098, 7.033614635467529, 7.023399353027344, 7.011294364929199, 7.001804828643799, 6.991873264312744, 6.9813690185546875, 6.972650527954102, 6.964085102081299, 6.95582914352417, 6.947050094604492, 6.93820858001709, 6.930541515350342, 6.922364711761475, 6.915470600128174, 6.907973289489746, 6.903873920440674, 6.898160934448242, 6.891591548919678, 6.884057521820068, 6.880424499511719, 6.874187469482422, 6.870467185974121, 6.866353988647461, 6.861672878265381, 6.858892917633057, 6.854515552520752, 6.851597309112549, 6.850226402282715, 6.84585428237915, 6.8446269035339355, 6.843559265136719, 6.841555595397949, 6.838343143463135, 6.839101791381836, 6.8358988761901855, 6.8365583419799805, 6.836916446685791, 6.836411476135254, 6.837235927581787, 6.836945533752441, 6.838090896606445, 6.840978622436523, 6.8419060707092285, 6.843594551086426, 6.846940040588379, 6.847494602203369, 6.850297927856445, 6.8529438972473145, 6.855524063110352, 6.861634254455566, 6.865471363067627, 6.8682990074157715, 6.874457836151123, 6.880704402923584, 6.88425350189209, 6.888498783111572, 6.894489765167236, 6.900914192199707, 6.907172679901123, 6.9154462814331055, 6.921321868896484, 6.9287872314453125, 6.935841083526611, 6.944124221801758, 6.952282905578613, 6.960294723510742, 6.971572399139404, 6.979554176330566, 6.987639904022217, 6.99885368347168, 7.010193824768066, 7.020293235778809, 7.029742240905762, 7.040934085845947, 7.053520679473877, 7.06352424621582, 7.077178478240967, 7.0902910232543945, 7.10167932510376, 7.117356777191162, 7.1300787925720215, 7.145579814910889, 7.158018589019775, 7.1731038093566895, 7.188218593597412, 7.2020792961120605, 7.218547344207764, 7.234721660614014, 7.251192092895508, 7.269626140594482, 7.286903381347656, 7.304374694824219, 7.321624279022217, 7.338723659515381, 7.3596649169921875, 7.378849983215332, 7.399978160858154, 7.421108722686768, 7.439932823181152, 7.461000919342041, 7.483595371246338, 7.505056381225586, 7.527337551116943, 7.547229766845703, 7.573741912841797, 7.595667362213135, 7.623196125030518, 7.644998073577881, 7.6709370613098145, 7.696482181549072, 7.724574565887451, 7.7513604164123535, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, 8.376626968383789, 8.333304405212402, 8.370560646057129, 8.409026145935059, 8.450112342834473, 8.490569114685059, 8.532384872436523, 8.57559871673584, 8.618008613586426, 8.661900520324707, 8.707670211791992, 8.75118637084961, 8.797248840332031, 8.764098167419434, 8.693291664123535, 8.626522064208984, 8.559487342834473, 8.493215560913086, 8.428291320800781, 8.366286277770996, 8.307793617248535, 8.247466087341309, 8.18954849243164, 8.133386611938477, 8.074298858642578, 8.019393920898438, 7.966150760650635, 7.9143853187561035, 7.859766006469727, 7.810612201690674, 7.759722709655762, 7.708865165710449, 7.662364482879639, 7.616888999938965, 7.569852828979492, 7.523956298828125, 7.480972766876221, 7.4352874755859375, 7.393253803253174, 7.349605083465576, 7.3080058097839355, 7.268096923828125, 7.230508327484131, 7.190150737762451, 7.152102947235107, 7.114028453826904, 7.076559543609619, 7.040262699127197]
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, 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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]
---

I run:

$ rosrun rviz rviz

and I get a warning:

[ WARN] [1645414932.739373714, 479.334000000]: TF_REPEATED_DATA ignoring data with redundant timestamp for frame base_link at time 479.320000 according to authority unknown_publisher

I run:

$ rostopic info /tf
Type: tf2_msgs/TFMessage

Publishers:
 * /robot_state_publisher (http://1_simulation:37981/)
 * /ekf_localization (http://1_simulation:39295/)
 * /gazebo (http://1_simulation:34341/)
 * /amcl (http://1_xterm:44033/)

Subscribers:
 * /ekf_localization (http://1_simulation:39295/)
 * /pointcloud_to_laserscan (http://1_simulation:38871/)
 * /move_base (http://1_xterm:36613/)
 * /amcl (http://1_xterm:44033/)
 * /rviz_1645414929667913460 (http://1_xterm:42535/)

In rviz, I increase the size of the LaserScan and it looks good:

I add PoseArray and set its topic to /particlecloud and rviz makes no complaints. I set the fixed frame to “map” and still no complaints from rviz. But no point cloud is visible.

Hello @chrisc65ca1771ca646bb ,

It looks like you are using the wrong PoseArray display (the one which is under jsk_rviz_plugins). You should use the regular PoseArray display, which looks like this:

Captura de pantalla 2022-02-21 a las 10.01.22

2 Likes

Thanks, @albertoezquerro, problem solved.

This topic was automatically closed after 20 hours. New replies are no longer allowed.