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

Can't install the custom ROS drivers for a camera.

asked 2020-07-24 22:29:24 -0500

ajpaezm gravatar image

Before reading please know this is my first week using Linux/Ubuntu.

I have recently installed ROS melodic within my Raspberry PI 4, with the purpose of using this camera from ESPROS. The manuals from the ESPROS developers show the following steps.

Espros Guide:

cd ~
edit .bashrc (which I substituted with nano ~/bashrc). 
#place the following line at the end of the .bashrc file.
Source ~/NameProjectDirectory/cam635_ROS_Driver/devel/setup.bash

What I did:

cd ~
nano ~/bashrc 
#place the following line at the end of the .bashrc file.
source /home/pi/tof_peoplecounter/cam635_ROS_Driver/devel/setup.bash

And afterwards, the guide tells us to run:

roslaunch espros_tof_cam635 camera.launch

Which sends back the following error message:

RLException: [camera.launch] is neither a launch file in package [espros_tof_cam635] nor is [espros_tof_cam635] a launch file name The traceback for the exception was written to the log file

I know camera.launch exists on the following folder: /home/pi/tof_peoplecounter/cam635_ROS_Driver/src/espros_tof_cam635/launch/camera.launch

And that the bash file exists here: /home/pi/tof_peoplecounter/cam635_ROS_Driver/devel/setup.bash

I have already installed catkin on my PI4, but I have no idea of what's the best way I can install this driver (my guess is that it would be with catkin_make) but no idea about what's next. And in the folder, you can actually see some catkin files which makes believe this whole folder is READY, just download and use it but I have no idea about it.

You can have the same folder here btw: https://www.espros.com/downloads/02_Cameras_and_Modules/Software-Packages/ The one that says "TOFCAM635_SW_Package.zip"

If anyone can provide guidance, I'd be extremely grateful!

Thanks in advance :)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-07-29 14:05:29 -0500

ajpaezm gravatar image

At the end, I had to use a Raspberry PI with a pre-stored and flashed SD Ubuntu Xenial image (from Ubiquity Robotics). This contains a pre-built catkin_ws, I copied the files from the developer, placed them in the catkin_ws/src folder, and then built with catkin_make.

I had to change the SWAP FILE value to 1GB, since this is Ubuntu Xenial and not Raspbian, I had to enhance and activate the SWAP files capability of the system and the ran catkin_make.

It all worked.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-07-24 22:27:41 -0500

Seen: 113 times

Last updated: Jul 24 '20