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

use nextage hand camera in simulation

asked 2016-12-21 09:09:18 -0600

robotfan gravatar image

Is it possible to use the KaWaDa nextage's hand cameras in simulation? I.e. can I get images from a simulator, e.g. moveit/rviz or gazebo? If so, how? Is someone aware of a tutorial they could point me to?

If I just run roslaunch nextage_ros_bridge hands_ueye.launch, I get the following error:

[ERROR] [1482331372.271498218, 1478.945000009]: Failed to load nodelet [/right_hand_ueye_nodelet] of  type [ueye_cam/ueye_cam_nodelet] even after refreshing the cache: Failed to load library /opt/ros/indigo/lib//libueye_cam_nodelet.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = libueye_api.so: cannot open shared object file: No such file or directory)

Is this supposed to work with simulations or would it only work with real cameras?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2016-12-21 14:09:27 -0600

130s gravatar image

updated 2017-05-23 18:58:00 -0600

The launch file you referred to is, as in @gvdhoorn's answer, uses the camera driver that accesses the real hardware.

Is this supposed to work with simulations or would it only work with real cameras?

Simulation of NEXTAGE Open (whether RViz or Gazebo) isn't equipped with camera imitated yet. I'd like to see this feature realized too. Could you open an enhancement request at https://github.com/tork-a/rtmros_next... for NEXTAGE?

UPDATE 20161222: Ticketed.

UPDATE 20170523: Cameras on Gazebo added

edit flag offensive delete link more
1

answered 2016-12-21 09:28:13 -0600

gvdhoorn gravatar image

The error message basically tells you that the ueye_cam_nodelet can't load one of its dependencies (ie: libueye_api.so). This would fail, irrespective of whether you are using a simulated robot or not. You just don't have the uEye drivers installed.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2016-12-21 09:09:18 -0600

Seen: 219 times

Last updated: May 23 '17