ladrians / pixy2_ros

Basic ROS node to publish image from a pixy2 camera.
1 stars 0 forks source link

Node gets terminated #2

Open akashatharv opened 2 years ago

akashatharv commented 2 years ago

Hi I tried running the node on ROS noetic and faced this error :

terminate called after throwing an instance of 'ros::InvalidNodeNameException' what(): Invalid node name [~]: node names cannot contain ~ Aborted (core dumped)

Is there a specific reason to why this would occur ?

akashatharv commented 2 years ago

I resolved this issue by changing the node name in erlepixy.cpp. I don't know if that is a typo or something on my end.

But running the node now, generates this issue :

[ INFO] [1644418839.259645275]: Read Parameters [ INFO] [1644418839.264274211]: frame_rate: 10 PixyCam::PixyCam() void PixyCam::run() void PixyCam::checkCamera() terminate called after throwing an instance of 'std::runtime_error' what(): Unable to connect to device. Aborted (core dumped)

I am able to use the PixyMon widget from the official website with my current setup to connect to the camera and visualize. I have also verified that the udev rules were copied to the correct directory. Any idea why this might be an issue ?