Skip to content

Commit

Permalink
update example
Browse files Browse the repository at this point in the history
  • Loading branch information
neka-nat committed Apr 22, 2023
1 parent 963e2da commit e18e865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/python/ros/laserscan_msg_convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
new_msg.angle_increment = (scan.max_angle - scan.min_angle) / scan.num_steps
new_msg.range_min = 0.0
new_msg.range_max = 10000.0
new_msg.ranges = scan.pop_host_one_scan()
new_msg.ranges, new_msg.intensities = scan.pop_host_one_scan()
print("------ Original laserscan ------ \n", msg)
print("------ Converted laserscan ------\n", new_msg)

0 comments on commit e18e865

Please sign in to comment.