camera_ros icon indicating copy to clipboard operation
camera_ros copied to clipboard

'AfWindows' parameter occurs error.

Open Woojin-Crive opened this issue 1 year ago • 15 comments

Error

terminate called after throwing an instance of 'std::length_error'
  what():  cannot create std::vector larger than max_size()

Debug

"error " << id->type() << ", " << id->name() << ", " << info.def().toString() << ", " << info.min().toString() << ", " << info.max().toString());
error 7, AfWindows, (0, 0)/0x0, (0, 0)/0x0, (65535, 65535)/65535x65535

Error is caused when the below code is executed.

const rclcpp::ParameterValue value =
      cv_to_pv(clamp(info.def(), info.min(), info.max()), extent);

Woojin-Crive avatar Oct 28 '23 09:10 Woojin-Crive