uzh-rpg / rpg_esim

ESIM: an Open Event Camera Simulator
MIT License
591 stars 125 forks source link

Support for ROS Noetic and Python3? #80

Open sophiaas opened 3 years ago

sophiaas commented 3 years ago

Are there plans to make the event simulator compatible with ROS Noetic and Python 3? Has anyone tried that setup?

amenon4 commented 3 years ago

Yep, it does indeed work.

Dajamante commented 3 years ago

Hello, since this issue is still open, did anyone manage to make it work? We were forced to skip dependencies: pcl_ros, glfw, glm and ros-kinetic-hector-trajectory-server. Of course when running "ssim" nothing happens.

Our configurations: Mac OS Catalina and Mac OS Big Sur

berndpfrommer commented 3 years ago

I was able to get it to build on Ubuntu 20.04 ROS noetic, by tracking down the dependencies one-by-one. The pangolin_catkin needed modification in CMakeLists.txt:

  GIT_TAG origin/master
#  GIT_TAG 8b6a6b706d50d4172eeb6d5827f40b2207483cf0

And I needed to install python2.7-dev. Well, it compiles, now I'll find out if it actually works....

Youras commented 3 years ago

For ROS Noetic the building fails at ze_splines, at least for me.

The solution to this is described here https://github.com/uzh-rpg/rpg_esim/issues/7#issuecomment-687999099. In my case the building succeeded after the following commands:

mkdir ~/anaconda3/libuuid
mv ~/anaconda3/lib/libuuid* ~/anaconda3/libuuid
catkin build  esim_ros

Simulating events from a video (https://github.com/uzh-rpg/rpg_esim/wiki/Simulating-events-from-a-video) works well for me.

gaopinghai commented 2 years ago

Hi all! I was stuck at this error: #error PCL requires C++14, and I think it has something to do with the catkin config part. But I do not know how to change the catkin config settings to make it right.

armzimmer commented 2 years ago

@PingHGao I had the same issue, but was able to build, after editing the CMakeLists.txt file at rpg_esim/event_camera_simulator/esim_visualization/CMakeLists.txt by adding the line: set(CMAKE_CXX_STANDARD_REQUIRED ON)

Found the solution here

gaopinghai commented 8 months ago

set(CMAKE_CXX_STANDARD_REQUIRED ON)

Thanks, it works!