Impossible to launch rosbridge_tcp
Hello, I'm trying to start the rosbridge_tcp.launch - file. But I always get to following error-messages. All other nodes in my workspace run successful. So the rosbridge_server is the only one that doesn't work. I'm using the packages lms1xx and other packages for a stereocamera too and they work fine. I installed ROS kinetic for Ubuntu 16.04 like described in ros-wiki installation.
previous procedure:
- installing Ubuntu 16.04 on pc
- installing ROS kinetic like described in ros-wiki
- also installing CUDA 9.1 Toolkit and ZED SDK
- set up ros catkin_ws-workspace like described in the ros-wiki
- copy the packages from the previus pc to the workspace of the new pc (rosbridge_suite, lms1xx, zed_wrapper, and other self implemented packages)
- added the lines described futher down to the .bashrc-file
- catkin_make of workspace
- sudo apt-get install ..... for all packages in the workspace
- rosdep install .... for all packages
-> I thought, that I did everything like it was on the previous pc
roslaunch rosbridge_server rosbridge_tcp.launch
SUMMARY
========
PARAMETERS
* /rosapi/params_glob: [*]
*
/rosapi/services_glob: [*]
* /rosapi/topics_glob: [*]
* /rosbridge_tcp/authenticate: False
* /rosbridge_tcp/bson_only_mode: False
* /rosbridge_tcp/delay_between_messages: 0
* /rosbridge_tcp/fragment_timeout: 600
* /rosbridge_tcp/host:
* /rosbridge_tcp/incoming_buffer: 65536
* /rosbridge_tcp/max_message_size: None
* /rosbridge_tcp/params_glob: [*]
* /rosbridge_tcp/port: 9090
* /rosbridge_tcp/retry_startup_delay: 5
* /rosbridge_tcp/services_glob: [*]
* /rosbridge_tcp/socket_timeout: 10
* /rosbridge_tcp/timestamp_delay: 0.0
* /rosbridge_tcp/topics_glob: [*]
* /rosdistro: kinetic
* /rosversion: 1.12.12
NODES
/
rosapi (rosapi/rosapi_node)
rosbridge_tcp (rosbridge_server/rosbridge_tcp)
auto-starting new master
process[master]: started with pid [20473]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to d724bef2-0c0c-11e8-9136-00012e8036c4
process[rosout-1]: started with pid [20488]
started core service [/rosout]
ERROR: cannot launch node of type [rosbridge_server/rosbridge_tcp]: can't locate node [rosbridge_tcp] in package [rosbridge_server]
ERROR: cannot launch node of type [rosapi/rosapi_node]: can't locate node [rosapi_node] in package [rosapi]
I cloned the package from github and only added parameters for a timedelay, nothing else. Any ideas why it does not work and what I can do?
output of env | grep -i ros | sort
:
serva-eve@servaeve-ZBOX-EN1080-1080K:~$ env | grep -i ros | sort
CMAKE_PREFIX_PATH=/home/serva-eve/catkin_ws/devel:/opt/ros/kinetic
LD_LIBRARY_PATH=/home/serva-eve/catkin_ws/devel/lib:/opt/ros/kinetic/lib
PATH=/opt/ros/kinetic/bin:/home/serva-eve/bin:/home/serva-eve/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PKG_CONFIG_PATH=/home/serva-eve/catkin_ws/devel/lib/pkgconfig:/opt/ros/kinetic/lib/pkgconfig
PYTHONPATH=/home/serva-eve/catkin_ws/devel/lib/python2.7/dist-packages:/opt/ros/kinetic/lib/python2.7/dist-packages
ROS_DISTRO=kinetic
ROS_ETC_DIR=/opt/ros/kinetic/etc/ros
ROSLISP_PACKAGE_DIRECTORIES=/home/serva-eve/catkin_ws/devel/share/common-lisp
ROS_MASTER_URI=http://localhost:11311
ROS_PACKAGE_PATH=/home/serva-eve/catkin_ws/src:/opt/ros/kinetic/share
ROS_ROOT=/opt/ros/kinetic/share/ros
ouput of ls -al /home/serva-eve/catkin_ws/src/rosbridge_suite/rosbridge_server/scripts
serva-eve@servaeve-ZBOX-EN1080-1080K:~/catkin_ws/src$ ls -al /home/serva-eve/catkin_ws/src/rosbridge_suite/rosbridge_server/scripts
total 40
drwxr-xr-x 2 serva-eve serva-eve 4096 Feb 7 12:00 .
drwxr-xr-x 5 serva-eve serva-eve 4096 Aug 22 13:13 ..
lrwxrwxrwx 1 serva-eve serva-eve 16 Feb 7 12:00 rosbridge_tcp -> rosbridge_tcp.py
-rw-r--r-- 1 serva-eve serva-eve 10119 Jul 25 2017 rosbridge_tcp ...
can you clarify how this is related to #q281917?
it's the same project and I closed #q281917 right now. I added the paths to my .bashrc-file. So like explained the other nodes can be launched, except the ones mentioned above.
which paths?
source /opt/ros/kinetic/setup.bash and source ~/catkin_ws/devel/setup.bash
Please always edit your original question with that sort of info, comments aren't really suited for it.
As to your problem: how did you install ROS, which OS is this, how did you install the pkgs that you are using (specifically
rosbridge_suite
), how do you build your workspace (exact steps).Also: what is the output of
env | grep -i ros | sort
?I opened a new question because the problem was different to the other ones. I was using a rosbridge_suite package (like the other packages) on a previous pc. I copied the packages to the new pc and installed them using sudo apt-get install .... . I added the System-specifications and the output
which pkgs?
what did you install specifically? 'copying pkgs' and 'installed them using apt-get' only makes sense if what you copied were
.deb
files (which are typically downloaded, not copied).