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

[velodyne_hw_monitor_ros_wrapper_node] dies with default cloud_max_angle param #44

Closed
mebasoglu opened this issue Aug 4, 2023 · 0 comments

Comments

@mebasoglu
Copy link
Collaborator

Description

The velodyne_hw_monitor_ros_wrapper_node dies after launching with default cloud_max_angle parameter which is 360 in the launch file.

Expected behavior

The node should launch successfully.

Actual behavior

The node dies after launching with default cloud_max_angle parameter.

Steps to reproduce

  1. Run the launch file for Velodyne:
ros2 launch nebula_ros velodyne_launch_all_hw.xml sensor_model:=VLP16 sensor_ip:=192.168.1.211 data_port:=2371

Here is the terminal output for

[velodyne_hw_monitor_ros_wrapper_node-3] terminate called after throwing an instance of 'rclcpp::exceptions::InvalidParameterValueException'
[velodyne_hw_monitor_ros_wrapper_node-3]   what():  parameter 'cloud_max_angle' could not be set: Parameter {cloud_max_angle} doesn't comply with integer range.

[ERROR] [velodyne_hw_monitor_ros_wrapper_node-3]: process has died [pid 401901, exit code -6, cmd '/home/dell/projects/autoware/install/nebula_ros/lib/nebula_ros/velodyne_hw_monitor_ros_wrapper_node --ros-args -r __node:=hesai_hw_monitor_velodyne --params-file /tmp/launch_params_qkt2qey4 --params-file /tmp/launch_params_nwqn6fqe --params-file /tmp/launch_params_pja0yc2p --params-file /tmp/launch_params_1ghge91i --params-file /tmp/launch_params_ljvb55yo --params-file /tmp/launch_params_i76ho2il --params-file /tmp/launch_params__q573zys --params-file /tmp/launch_params_xuzebbul --params-file /tmp/launch_params_hi4segsz --params-file /tmp/launch_params_kstk1cjx --params-file /tmp/launch_params_pbw3aca6 --params-file /tmp/launch_params_30sv9nan --params-file /tmp/launch_params_cc6qdurv --params-file /tmp/launch_params_wkmxeqps'].

Possible causes

The range for the parmater is set between 0 and 359 here:

range.set__from_value(0).set__to_value(359).set__step(1);

However, in the launch file the cloud_max_angle param is set to 360:

<arg name="cloud_max_angle" default="360" description="Field of View, end degrees."/>

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

Successfully merging a pull request may close this issue.

1 participant