UbiquityRobotics / raspicam_node

ROS node for camera module of Raspberry Pi
BSD 3-Clause "New" or "Revised" License
293 stars 162 forks source link

Proper syntax for camera_info_url paramaeter #107

Open pitosalas opened 3 years ago

pitosalas commented 3 years ago

I am using this in my .launch file

<param name="camera_info_url" value="package://gpg_bran/camera_info/camerav2_1280x960.yaml"/>

And yet I am getting this error message:

[ INFO] [1603729230.468427408]: Unable to open camera calibration file [/home/pi/.ros/camera_info/camerav2_1280x960.yaml] [ WARN] [1603729230.468570167]: Camera calibration file /home/pi/.ros/camera_info/camerav2_1280x960.yaml not found.

Can you clarify how the value= for this param is interpreted? Thanks!

MoffKalast commented 3 years ago

Yeah I think I've had a similar issue in the past, something isn't set up right in the pi images for the package:// syntax resolution. The file:/// syntax does work but you have to specify the entire path.

pitosalas commented 3 years ago

Thanks. I wish there was a tad more documentation. For example the node looks for a "default" camera_info file and a "specific" one. Not sure why. Thanks though I've gotten it to work.

Pito Salas Faculty, Computer Science Brandeis University

On Oct 26, 2020, at 3:38 PM, MoffKalast notifications@github.com wrote:

Yeah I think I've had a similar issue in the past, something isn't set up right for the place the package:// syntax resolution. The file:/// syntax does work but you have to specify the entire path.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.