Cannot find nginx

husarion@husarion:~$ sudo apt install ros-kinetic-rosbridge-suite ros-kinetic-web-video-server
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
python-backports.ssl-match-hostname python-bson python-imaging python-pycurl
python-pymysql python-tornado python-websocket
ros-kinetic-async-web-server-cpp ros-kinetic-rosapi ros-kinetic-rosauth
ros-kinetic-rosbridge-library ros-kinetic-rosbridge-server
Suggested packages:
libcurl4-gnutls-dev python-pycurl-dbg python-pycurl-doc python-pymysql-doc
The following NEW packages will be installed:
python-backports.ssl-match-hostname python-bson python-imaging python-pycurl
python-pymysql python-tornado python-websocket
ros-kinetic-async-web-server-cpp ros-kinetic-rosapi ros-kinetic-rosauth
ros-kinetic-rosbridge-library ros-kinetic-rosbridge-server
ros-kinetic-rosbridge-suite ros-kinetic-web-video-server
0 upgraded, 14 newly installed, 0 to remove and 1 not upgraded.
Need to get 474 kB/1043 kB of archives.
After this operation, 6565 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://packages.ros.org/ros/ubuntu xenial/main armhf ros-kinetic-async-web-server-cpp armhf 0.0.3-0xenial-20180826-100908-0800
404 Not Found [IP: 64.50.236.52 80]
Err:2 http://packages.ros.org/ros/ubuntu xenial/main armhf ros-kinetic-rosbridge-library armhf 0.10.1-0xenial-20181217-121619-0800
404 Not Found [IP: 64.50.236.52 80]
Err:3 http://packages.ros.org/ros/ubuntu xenial/main armhf ros-kinetic-rosapi armhf 0.10.1-0xenial-20181217-124825-0800
404 Not Found [IP: 64.50.236.52 80]
Err:4 http://packages.ros.org/ros/ubuntu xenial/main armhf ros-kinetic-rosauth armhf 0.1.7-0xenial-20180826-042908-0800
404 Not Found [IP: 64.50.236.52 80]
Err:5 http://packages.ros.org/ros/ubuntu xenial/main armhf ros-kinetic-rosbridge-server armhf 0.10.1-0xenial-20181217-125939-0800
404 Not Found [IP: 64.50.236.52 80]
Err:6 http://packages.ros.org/ros/ubuntu xenial/main armhf ros-kinetic-rosbridge-suite armhf 0.10.1-0xenial-20181217-131315-0800
404 Not Found [IP: 64.50.236.52 80]
Err:7 http://packages.ros.org/ros/ubuntu xenial/main armhf ros-kinetic-web-video-server armhf 0.2.0-0xenial-20190131-161316-0800
404 Not Found [IP: 64.50.236.52 80]
E: Failed to fetch http://packages.ros.org/ros/ubuntu/pool/main/r/ros-kinetic-async-web-server-cpp/ros-kinetic-async-web-server-cpp_0.0.3-0xenial-20180826-100908-0800_armhf.deb 404 Not Found [IP: 64.50.236.52 80]

E: Failed to fetch http://packages.ros.org/ros/ubuntu/pool/main/r/ros-kinetic-rosbridge-library/ros-kinetic-rosbridge-library_0.10.1-0xenial-20181217-121619-0800_armhf.deb 404 Not Found [IP: 64.50.236.52 80]

E: Failed to fetch http://packages.ros.org/ros/ubuntu/pool/main/r/ros-kinetic-rosapi/ros-kinetic-rosapi_0.10.1-0xenial-20181217-124825-0800_armhf.deb 404 Not Found [IP: 64.50.236.52 80]

E: Failed to fetch http://packages.ros.org/ros/ubuntu/pool/main/r/ros-kinetic-rosauth/ros-kinetic-rosauth_0.1.7-0xenial-20180826-042908-0800_armhf.deb 404 Not Found [IP: 64.50.236.52 80]

E: Failed to fetch http://packages.ros.org/ros/ubuntu/pool/main/r/ros-kinetic-rosbridge-server/ros-kinetic-rosbridge-server_0.10.1-0xenial-20181217-125939-0800_armhf.deb 404 Not Found [IP: 64.50.236.52 80]

E: Failed to fetch http://packages.ros.org/ros/ubuntu/pool/main/r/ros-kinetic-rosbridge-suite/ros-kinetic-rosbridge-suite_0.10.1-0xenial-20181217-131315-0800_armhf.deb 404 Not Found [IP: 64.50.236.52 80]

E: Failed to fetch http://packages.ros.org/ros/ubuntu/pool/main/r/ros-kinetic-web-video-server/ros-kinetic-web-video-server_0.2.0-0xenial-20190131-161316-0800_armhf.deb 404 Not Found [IP: 64.50.236.52 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

tried --fix missing but that is not fixing the problem. Tried re flashing the firmware. Completely clueless about this issue.

Hello thiaga,

There is a problem with connection to package server.
Are you sure that internet connection is active?
Did you do sudo apt update before installing?

Regards,
Łukasz

yeah i checked the internet connection and did sudo apt update and the upgrade before installation. Now I’m getting the following error. husarion@husarion:~$ roslaunch rosbot_webui demo_gazebo.launch
… logging to /home/husarion/.ros/log/83de10ee-e8f2-11e9-a5ac-d0c5d38129db/roslaunch-husarion-12189.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

Traceback (most recent call last):
File “/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/init.py”, line 306, 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 749, 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 721, 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 685, in _recurse_load
val = self._include_tag(tag, context, ros_config, default_machine, is_core, 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 627, in _include_tag
default_machine, is_core, verbose)
File “/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/xmlloader.py”, line 685, in _recurse_load
val = self._include_tag(tag, context, ros_config, default_machine, is_core, 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 627, in _include_tag
default_machine, is_core, verbose)
File “/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/xmlloader.py”, line 681, in _recurse_load
self._rosparam_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 228, in _rosparam_tag
cmd, ns, file, param, subst_value = self.opt_attrs(tag, context, (XmlLoader.ROSPARAM_OPT_ATTRS))
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: joint_state_controller
ROS path [0]=/opt/ros/kinetic/share/ros
ROS path [1]=/home/husarion/ros_workspace/src
ROS path [2]=/opt/ros/kinetic/share

Your system is missing joint_state_controller package, install it with:

sudo apt install ros-kinetic-joint-state-controller

Regards,
Łukasz

thanks I did that. Now gazebo got launched but got this warning [ WARN] [1570446831.764916892]: Could not get transform between ‘/map’ and ‘/base_link’, will retry every second

This means that node can not find TF frames between map and base_link. It is most probably due to map not being generated properly.

Can you see generated map in rviz?

Regards,
Łukasz

I am getting this error when I try the ttycore2 and ros communication code.
husarion@husarion:~$ /opt/husarion/tools/rpi-linux/ros-core2-client /dev/ttyCORE2
[INFO] [1570453889.437316]: ROS Serial Python Node
[INFO] [1570453889.456779]: Connecting to /dev/ttyCORE2 at 500000 baud

[ERROR] [1570453906.568155]: Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino
[ERROR] [1570453921.578098]: Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino
[ERROR] [1570453936.586117]: Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino

Hello thiaga,

I am a bit confused now.
Earlier you wrote that you are using roslaunch rosbot_webui demo_gazebo.launch - this is for simulating ROSbot in Gazebo.
Now you are trying to use hardware communication with CORE2- this is required and will work only with real ROSbot.

Which one are you using, simulation or real ROSbot and which version of ROSbot?

Regards,
Łukasz

I am using a ROSbot 2.0 version