ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Usually your lidar launch file will have a range_max parameter. You can keep it to whatever your desired value is. If the range_max parameter is not in your launch file, try running your lidar launch file and doing rosparam list to see if there is a range related parameter. if it exists, you can specify it in your launch file along with the value. If it does not exist, then you need to tweak the source code of your lidar.rosparam list

Usually your lidar launch file will have a range_max parameter. You can keep it to whatever your desired value is. If the range_max parameter is not in your launch file, try running your lidar launch file and doing rosparam list to see if there is a range related parameter. if it exists, you can specify it in your launch file along with the value. If it does not exist, then you need to tweak the source code of your lidar.rosparam listlidar.

Usually your lidar launch file will have a range_max parameter. You can keep it to whatever your desired value is. If the range_max parameter is not missing in your launch file, try running your lidar launch file and doing rosparam list to see if there is a range related parameter. if it exists, you can specify it in your launch file along with the value. If it does not exist, then you need to tweak the source code of your lidar.

Usually your lidar launch file will have a range_max parameter. You can keep it to whatever your desired value is. If the range_max parameter is missing not in your launch file, try running your lidar launch file and doing rosparam list to see if there is a range related parameter. parameter.

if it exists, you can specify it in your launch file along with the value. value.

If it does not exist, then you need to tweak the source code of your lidar.

Usually your lidar launch file will have a range_max parameter. You can keep it to whatever your desired value is. If the range_max parameter is not in your launch file, try running your lidar launch file and doing rosparam list to see if there is a range related parameter.

if it exists, As I can see in the image you can specify it in have posted, your launch file along with the value.range_max is set to 100.

If You can just modify it does not exist, then you need to tweak the source code of directly in your lidar.launch file

Usually your lidar launch file will have a range_max parameter. You can keep it to whatever your desired value is. If the range_max parameter is not in your launch file, try running your lidar launch file and doing rosparam list to see if there is a range related parameter.

As I can see in the image you have posted, your range_max is set to 100.

You can just modify it directly in your launch filefile.

float32[] ranges # range data [m] (Note: values < range_min or > range_max should be discarded)

It means that any distance value coming from the lidar that is less than your desired range_min or desired range_max will be either shown as 0 or removed from the list of your distance array.

Usually your lidar launch file will have a range_max parameter. You can keep it to whatever your desired value is. If the range_max parameter is not in your launch file, try running your lidar launch file and doing rosparam list to see if there is a range related parameter.

As I can see in the image you have posted, your range_max is set to 100.

You can just modify it directly in your launch file.

float32[] ranges # range data [m] (Note: values < range_min or > range_max should be discarded)

It means that any distance value coming from the lidar that is less than your desired range_min or desired range_max will be either shown as 0 or removed from the list of your distance array.

Usually your lidar launch file will have a range_max parameter. You can keep it to whatever your desired value is. If the range_max parameter is not in your launch file, try running your lidar launch file and doing rosparam list to see if there is a range related parameter.

As I can see in the image you have posted, your range_max is set to 100.

You can just modify it directly in your launch file.

float32[] ranges # range data [m] (Note: values < range_min or > range_max should be discarded)

It means that any distance value coming from the lidar that is less than your desired range_min or distance value more than your desired range_max will be either shown as 0 or removed from the list of your distance array.