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

sihe's profile - activity

2021-12-24 03:38:17 -0500 received badge  Famous Question (source)
2021-02-10 02:05:51 -0500 received badge  Self-Learner (source)
2018-08-08 01:33:45 -0500 received badge  Necromancer (source)
2018-06-12 12:47:39 -0500 received badge  Famous Question (source)
2018-04-12 10:12:07 -0500 received badge  Notable Question (source)
2017-10-31 12:42:45 -0500 received badge  Famous Question (source)
2017-10-31 12:42:45 -0500 received badge  Notable Question (source)
2017-10-31 12:42:45 -0500 received badge  Popular Question (source)
2017-10-16 07:58:04 -0500 received badge  Notable Question (source)
2017-06-28 07:53:36 -0500 commented answer launch only remotely installed package on remote machine

What I then don't understand is how using on the two computers different catkin_ws names causes no problems. On my host

2017-06-27 10:35:57 -0500 edited question launch only remotely installed package on remote machine

launch remotely installed package on remote machine Hello, I have the following setup: a computer where the roscore r

2017-06-27 10:35:43 -0500 marked best answer launch only remotely installed package on remote machine

Hello,

I have the following setup:

  • a computer where the roscore runs
  • a remote computer, where a certain node named zed_ros_wrapper ( the node to read out images of the ZED stereo camera) should run

I would like to launch the whole system with a launch file on the computer where the roscore runs.

When I try to launch the zed_ros_wrapper node remotely, i get the following error:

Traceback (most recent call last):
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/__init__.py", line 307, in main
p.start()
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/parent.py", line 268, in start
self._start_infrastructure()
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/parent.py", line 217, in _start_infrastructure
self._load_config()
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/parent.py", line 132, in _load_config
roslaunch_strs=self.roslaunch_strs, verbose=self.verbose)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/config.py", line 451, in load_config_default
loader.load(f, config, verbose=verbose)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 746, in load
self._load_launch(launch, ros_config, is_core=core, filename=filename, argv=argv, verbose=verbose)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 718, in _load_launch
self._recurse_load(ros_config, launch.childNodes, self.root_context, None, is_core, verbose)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 662, in _recurse_load
self._param_tag(tag, context, ros_config, verbose=verbose)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 95, in call
return f(*args, **kwds)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 256, in _param_tag
vals = self.opt_attrs(tag, context, ('value', 'textfile', 'binfile', 'command'))
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 202, in opt_attrs
return [self.resolve_args(tag_value(tag,a), context) for a in attrs]
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 183, in resolve_args
return substitution_args.resolve_args(args, context=context.resolve_dict, resolve_anon=self.resolve_anon)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 370, in resolve_args
resolved = _resolve_args(resolved, context, resolve_anon, commands)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 383, in _resolve_args
resolved = commands[command](resolved, a, args, context)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 151, in _find
source_path_to_packages=source_path_to_packages)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 197, in _find_executable
full_path = _get_executable_path(rp.get_path(args[0]), path)
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 203, in get_path
raise ResourceNotFound(name, ros_paths=self._ros_paths)
ResourceNotFound: zed_wrapper
ROS path [0]=/opt/ros/kinetic/share/ros
ROS path [1]=/home/ubuntu/git_catkin_ws/src
ROS path [2]=/home/ubuntu/catkin_ws/src/image_pipeline/camera_calibration

[... the entire ROS_PACKAGE_PATH ... ]

ROS path [37]=/opt/ros/kinetic/share
ROS path [38]=/home/ubuntu/git_catkin_ws/src/ORB_SLAM2/Examples/ROS

Something to mention is maybe that the zed_wrapper_node is installed on the remote machine, but not on the machine running ... (more)

2017-06-27 10:35:41 -0500 edited answer launch only remotely installed package on remote machine

I discovered, that apparently the package zed_ros_wrapper needs to be detectable also on the host machine in order to be

2017-06-27 10:31:48 -0500 answered a question launch only remotely installed package on remote machine

I discovered, that apparently the package zed_ros_wrapper needs to be existing on the

2017-06-27 10:24:24 -0500 asked a question launch only remotely installed package on remote machine

launch remotely installed package on remote machine Hello, I have the following setup: a computer where the roscore r

2017-06-22 09:27:41 -0500 commented question No output for bag file

If you type rosbag info mohans-bag-file.bag you can see which topics are recorded in the rosbag. The output of this comm

2017-06-22 09:24:44 -0500 commented question Hector mapping can't output the transform from map to odom gazebo

What means a "big beat"?

2017-06-22 09:21:54 -0500 answered a question How to save camera image when needed?

Here would be my idea for a rather simple approach: write a node which: takes as input the number of images it should

2017-05-31 01:41:22 -0500 commented answer How to implement "Multiple CameraInfoManagers in same node"?

Worked like a charm. Thank you!

2017-05-31 01:41:21 -0500 marked best answer How to implement "Multiple CameraInfoManagers in same node"?

I'm trying to modify the cv_camera package to do a synchronized grabbing of the two frames of a stereo camera. The publication of the two images works fine, but the two CameraInfoManager's in the node are causing problems. When starting the node, this error is displayed:

[ERROR] [1496147678.442999357]: Tried to advertise a service that is already advertised in this node [/cv_camera/set_camera_info]

I assume the problem is that the two CameraInfoManager try to create a service of the same name.

In this question it is said:

Now you can have 2 camera info managers in the same driver node for both cameras; but the 2 camera info managers should be remapped to separate topic, identical with the camera namepaces

But unfortunately the author does not specify how to remap these topics.

In my code the constructor of the core functionality class Capture initializes two camera_info_manager::CameraInfoManager objects:

Capture::Capture([....]) :
    node_(node),
    [...],
    frame_id_(frame_id),
    info_managerLeft_( node_, frame_id),
    info_managerRight_(node_, frame_id)
    {
    }

In the documentation of the CameraInfoManager Class Constructor it is said:

Parameter nh : node handle, normally for the driver's streaming name space ("camera"). The service name is relative to this handle. Nodes supporting multiple cameras may use subordinate names, like "left/camera" and "right/camera".

So how can I pass subordinate names to the info_managers?

2017-05-31 01:31:06 -0500 received badge  Popular Question (source)
2017-05-30 15:11:15 -0500 received badge  Teacher (source)
2017-05-30 08:39:37 -0500 edited answer 3d vision sensor

Hey, I can only answer question 1 and only about the ZED Cam: The ZED Cam gives you as output principally: two stere

2017-05-30 08:39:37 -0500 received badge  Editor (source)
2017-05-30 08:37:49 -0500 answered a question 3d vision sensor

Hey, I can only answer question 1 and only about the ZED Cam: The ZED Cam gives you as output principally: - two ster

2017-05-30 07:57:38 -0500 commented answer Multiple CameraInfoManagers in same node?

Hey, might I ask you to provide more information about the implementation of your answer here?

2017-05-30 07:57:28 -0500 commented answer Multiple CameraInfoManagers in same node?

Hey, might I ask you to provide more information about the implementation of your answer here?

2017-05-30 07:49:28 -0500 edited question How to implement "Multiple CameraInfoManagers in same node"?

How to implement "Multiple CameraInfoManagers in same node"? I'm trying to modify the cv_camera package to do a synchron

2017-05-30 07:44:17 -0500 asked a question How to implement "Multiple CameraInfoManagers in same node"?

How to implement "Multiple CameraInfoManagers in same node"? I'm trying to modify the cv_camera package to do a synchron

2017-05-24 04:13:42 -0500 received badge  Enthusiast
2017-05-23 04:21:32 -0500 answered a question Which is the best Visual Slam algorithm to implement using stereo vision? Are there any source code available?

Another very interesting algorithm is RTAB: https://introlab.github.io/rtabmap/ . It is available as a ROS package, wtih

2017-05-11 01:52:18 -0500 commented answer ROS Wiki: Node Information not shown

Great, thank you!

2017-05-11 01:51:59 -0500 received badge  Supporter (source)
2017-05-11 01:51:57 -0500 marked best answer ROS Wiki: Node Information not shown

Hello,

I edited the ROS wiki about elas_ros, where I added a link to the source code on github. But after this change the information about which topic the nodes subscribe to and what they publish (which would be under "3. Nodes") is not visible anymore. When editing the text, the text is there, but not when it is displayed as a normal wiki page. What might be the problem?

2017-05-11 01:51:57 -0500 received badge  Scholar (source)
2017-05-10 21:44:11 -0500 received badge  Popular Question (source)
2017-05-10 14:54:05 -0500 received badge  Student (source)
2017-05-10 09:03:25 -0500 asked a question ROS Wiki: Node Information not shown

ROS Wiki: Node Information not shown Hello, I edited the ROS wiki about elas_ros, where I added a link to the source c