Comments (13)
Thanks supitalp,
I've tried it, no out-of-date stuff found.
It was less time consuming to bring up a *buntu vm and now it happily works.
Best,
from rpg_dvs_ros.
Hi Snehesh,
Can you checkout the master branch of the davis_ros_driver (and make sure it is up to date), and try the following?
cd path_to_your_catkin_workspace
rm -rf build/libcaer_catkin/ build/davis_ros_driver/ devel/lib/libcaer.so devel/lib/davis_ros_driver/
catkin build --force-cmake libcaer_catkin davis_ros_driver
Please let us know if that works, or what error message you get if that does not.
Best,
Henri
from rpg_dvs_ros.
Hi there,
i've checked it out myself.
Still does not build with the indicated workaround. The output error is:
make[2]: *** No rule to make target '/home/vagrant/catkin_ws/devel/lib/libcaer.so', needed by
'/home/vagrant/catkin_ws/devel/lib/liblibcaer_catkin.so'. Stop.
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/libcaer_catkin.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Cordialement,
Nicola
from rpg_dvs_ros.
Hi,
The error looks like this one: #36
Have you tried using the fix given by cJarvers there? Can you tell us a bit more about your system (which linux distribution / version, which version of ROS)?
Also, if that does not work, have you tried checking out commit 4c1e1ee (as sneheshs), clean your build and devel folders as indicated above, and rebuild it? Does that solve the issue?
Thanks,
Henri
from rpg_dvs_ros.
Hi Henri and Nicola,
I had to revert back to 4c1e1ee commit for this to work. However, please make sure you update to the latest caer library as well. I needed to do that for this to work.
Best,
Snehesh
from rpg_dvs_ros.
Hi There,
I am on an up-to-date ArchLinux, ros LUNAR installed through package manager and works with other stuff.
I have managed to get past the libcaer compilation by applying the fix of cJarvers you mentioned (modifying libcaer's CMakeLists.txt
and libcaer-extras.cmake.in
, no symlinks).
The fix both works with HEAD
and 4c1e1ee
(the libcaer part).
However, afterwards, catkin build
gets stuck with davis-ros-driver
as it does not find the rospkg
python module.
I know there are issues with ArchLinux being built around python3 and conflicting with ROS but the workaround suggested in ArchWiki (forcing python2, that works with all the other packages i tried) seems to be ignored by rpg_dvs_ros.
I'm looking into it.
Cordialement,
Nicola R.
from rpg_dvs_ros.
I am using Ubuntu 16.04, sorry don't know much about ArchLinux. I am using ROS Kinetic.
Best,
Snehesh
from rpg_dvs_ros.
Hi There,
I've fixed the python problem for ArchLinux.
To get rid of missing package error, I just forced dvs_ros_driver
to use python2 by modifying rpg_dvs_ros/dvs_ros_driver/cfg/DVS_ROS_Driver.cfg
.
In the end it compiled. I did not test it because the DAVIS camera is at the lab.
When I tried to compile instead dvs_rendered, problems started to rain down.
To make it compile and, most important, run, I had to:
symlink all the references to:
- libopencv_core.so.3.3.0
- libopencv_imgproc.so.3.3.0
- libopencv_imgcodecs.so.3.3.0
to their 3.3.1 version.
Also, I had to symlink
- libPocoFoundation.so.48
to its .49 version.
After unsuccesfully searching how to modify these "requests for libraries" on the rpg_dvs_ros
side, I gave up, grabbed a sandwich and symlinked.
I tried to test (running rather than just compiling) it but, as it is on a remote VM, it gave me a weird error. Something in the lines of "process has died, exit code -6" on image-view-left-2
. It is a console VM with tmux and x forwarding, so I will wait to get to the lab before pulling my hair further.
On another system, building the dvs_renderer
produced the same kind of problems as before (wrong library version), but with libboost this time.
After this I really gave up.
Best,
from rpg_dvs_ros.
Tried again, camera is "busy" so no driver tests.
No luck with the rendererer though.
Still gives back a "attempted to unlock mutex that was not locked" and dies (exit code -6).
At this point IDK if the problem is the code or in the wrong libraries.
Best,
from rpg_dvs_ros.
Just for the sake of validating your steps vs Arch Linux related issues, I'd recommend trying it out in an Ubuntu setup.
from rpg_dvs_ros.
In *buntu it works out of the box.
EDIT: this does not mean that the issue is closed. As the problem lies in the fact that specific library versions are used instead of version-agnostic stuff (or at least I do believe so) it means that the package is *buntu only. Please correct me if I am wrong.
Or better, please tell me how can I specify rpg-dvs-ros
to CONSISTENTLY compile using a specific version of opencv or a specific version of python (i.e. redefinition of python environment in rpg_dvs_ros/dvs_ros_driver/cfg/DVS_ROS_Driver.cfg.
).
Best,
from rpg_dvs_ros.
Hi nicolaroberto-tesla,
Thanks for the info. As far as I know, the driver should not depend on specific library versions, so I am a bit confused here. I have a student who successfully compiled the driver + dvs_renderer on ArchLinux without major trouble. Maybe that link contains relevant information? https://wiki.archlinux.org/index.php/Ros#Rebuild_when_shared_libraries_are_updated
from rpg_dvs_ros.
Official libcaer build is now used, see README for further details.
from rpg_dvs_ros.
Related Issues (20)
- An error when run the code :catkin build davis_ros_driver
- real-time target detection and tracking by using event camera
- how to Read the maximum frame Rate ? HOT 1
- How to get color events HOT 2
- a problem with the compilation
- DAVIS346 IMU coordinate system?
- How to use the rpg_dvs_ros to visualize event cameras fused with lidar rosbag file?
- [ WARN] [1641968634.644978988]: Camera calibration file /home/zfl/.ros/camera_info/DAVIS-00000554.yaml not found. HOT 2
- Connection to node=/davis_ros_driver failed: param client failed
- ERROR: cannot launch node of type [rqt_image_view/rqt_image_view]: rqt_image_view HOT 1
- roslaunch error:[dvxplorer_ros_driver-2] process has died [pid 10699, exit code -11 HOT 2
- DVS 346 stereo recording parallel both at the same timestamp HOT 5
- Error with dvxplorer_ros_driver HOT 2
- Unable to play video of the other rosbags in driving dataset ttps://rpg.ifi.uzh.ch/event_driving_datasets.html
- Could not find DVS HOT 3
- Not able to play vedio slider_depth.bag
- dvs_tracking has died
- Run Dvxplorer lite camera and Davis camera in the same time
- Modifying GUI parameters
- Are there plans on porting the functionality of this repo to ROS2?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rpg_dvs_ros.