JJHu1993 / realsense_ros

Realsense ROS package supporting all realsense camera types and Multiple cameras running simultaneously. It is more compatible and stable than realsense_camera ROS package which requires the particular firmware version of cameras and cannot run multiple cameras simultaneously.
3 stars 0 forks source link

question #2

Open riskeverything opened 6 years ago

riskeverything commented 6 years ago

Should I install librealsense firstly?Some problems happened.

collect2: error: ld returned 1 exit status make[2]: [/home/robot/WorkSpace/catkin_ws/devel/lib/realsense_ros/realsense_ros] Error 1 make[1]: [realsense_ros/CMakeFiles/realsense_ros.dir/all] Error 2 make: *** [all] Error 2

JJHu1993 commented 6 years ago

yes, since librealsense updated many times, you should git clone the legacy version and install.

riskeverything commented 6 years ago

OK,thanks very much.I had use it before.Recently,I reinstall my pc,and It doesn't work.So,should I use the legacy version and install with the old "read me"?

JJHu1993 commented 6 years ago

https://github.com/IntelRealSense/librealsense/tree/legacy

On Wed, Dec 20, 2017 at 8:48 PM, riskeverything notifications@github.com wrote:

OK,thanks very much.I had use it before.Recently,I reinstall my pc,and It doesn't work.So,should I use the legacy version and install with the old "read me"?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/JJHu1993/realsense_ros/issues/2#issuecomment-353054574, or mute the thread https://github.com/notifications/unsubscribe-auth/ARyZrpZh5GctGtZffEW0ORkW9AGXb2xAks5tCQI2gaJpZM4RIHDe .

riskeverything commented 6 years ago

Recently,I use two cameras in my pc.but, it can only works little seconds.the topic is right,Then it will break....
[ INFO] [1514460386.420596708]: rs::error was thrown when calling rs_wait_for_frames(device:0xbe18c8): [ INFO] [1514460386.420647954]: Timeout waiting for frames. [realsense_ros-2] process has died [pid 30741, exit code 1, cmd /home/robot/WorkSpace/catkin_ws/devel/lib/realsense_ros/realsense_ros 617205001730 615205001368 __name:=realsense_ros __log:=/home/robot/.ros/log/43868ca0-ebc0-11e7-b314-6045cb646fe3/realsense_ros-2.log].

I use the example of librealsense.It has the same problems.But I remebered it work well.Maybe can you tell me some suggests?

JJHu1993 commented 6 years ago

please confirm that the usb3.0 ports are power supplied.

On Thu, Dec 28, 2017 at 7:30 PM, riskeverything notifications@github.com wrote:

Recently,I use two cameras in my pc.but, it can only works little seconds.the topic is right,Then it will break.... [ INFO] [1514460386.420596708]: rs::error was thrown when calling rs_wait_for_frames(device:0xbe18c8): [ INFO] [1514460386.420647954]: Timeout waiting for frames. [realsense_ros-2] process has died [pid 30741, exit code 1, cmd /home/robot/WorkSpace/catkin_ws/devel/lib/realsense_ros/realsense_ros 617205001730 615205001368 __name:=realsense_ros __log:=/home/robot/.ros/log/ 43868ca0-ebc0-11e7-b314-6045cb646fe3/realsense_ros-2.log].

I use the example of librealsense.It has the same problems.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/JJHu1993/realsense_ros/issues/2#issuecomment-354274420, or mute the thread https://github.com/notifications/unsubscribe-auth/ARyZrjfTk5ZlSVas6Vyw0DgbGZi0tGrrks5tE3u7gaJpZM4RIHDe .

riskeverything commented 6 years ago

Yes,I have resolve it.I use a hub powered.Anyway,thank.