Having issues with the docker - flytsim


#1

install failed …ERROR: Problem encountered. Could not start Flytsim session.
Please help


#2

Hi @chez could you please give some more details, as to when the error occurred and if it is persistent? Also let us know the system you are using.


#3

on launching startup.sh

Traceback (most recent call last):
File “/usr/local/bin/nvidia-docker-compose”, line 43, in
resp = request.urlopen(‘http://{0}/docker/cli/json’.format(args.nvidia_docker_host)).read().decode()
File “/usr/lib/python2.7/urllib2.py”, line 154, in urlopen
return opener.open(url, data, timeout)
File “/usr/lib/python2.7/urllib2.py”, line 429, in open
response = self._open(req, data)
File “/usr/lib/python2.7/urllib2.py”, line 447, in _open
’_open’, req)
File “/usr/lib/python2.7/urllib2.py”, line 407, in _call_chain
result = func(*args)
File “/usr/lib/python2.7/urllib2.py”, line 1228, in http_open
return self.do_open(httplib.HTTPConnection, req)
File “/usr/lib/python2.7/urllib2.py”, line 1198, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 111] Connection refused>


#4

It seems you have not followed Point3 in here. Make sure you have the nvidia graphics drivers installed in your device. Visit our troubleshooting guide for more info.


#5

very disappointed . after following point 3 stuck in login screen. reconfigured lighdm but still not even able to log in.
No easy way to even get started :frowning: . v disappointed…


#6

Hi,

Sorry for the trouble. But please post the error you are facing.

Moreover what is the version of Ubuntu that you are running.
Also if docker is not working correctly, please try the native flytsim version.


#7

using ubuntu 16. Can you please guide me where i can find the native flytsim version


#8

Hi,

You can follow this link to install FlytSim natively.


#9

Hi , managed to install . But the key created a146f045-b218-45b8-9c21-fc482c29dca5
created from my account says as invalid. Believe only if this is provided I will be able to launch flysim. Did not see gazebo pop up. And closed as LICENSE READ ERROR. Please advise.


#10

Hi,

Please send the runlog and startup log as mentioned here.

No. You will get to see Gazebo GUI even without a valid license. By default FlytSim starts up as APM sitl, which is not gazebo based. Click here to know how to configure it for PX4-sitl which is gazebo based.


#11

Hi,

Sorry that you are facing this problem. It seems your problem is a duplicate of FlytOS cannot activate.

I would kindly request you to run these commands in your terminal:

ifconfig

cat /proc/cpuinfo | grep -Po ‘model name\t: \K.*$’

cat /proc/cpuinfo | grep -Po ‘Hardware\t: \K.*$’


#12

These were the error messages

process[flytsim/flyt_cl-13]: started with pid [5580]
process[flytsim/mavros-14]: started with pid [5585]
ethtool: bad command line argument(s)
For more information run ethtool -h
[FATAL] [1503078746.026704641]: [LIC] License file NOT found, exiting

NFO in main [/flyt/flytos/flytcore/lib/python2.7/dist-packages/rostful/main.py:73]:
arguments passed : host 0.0.0.0 port 80 config None ros_args (u’~connections_list:=/rocon/connection_cache/list’, u’~connections_diff:=/rocon/connection_cache/diff’, u’__name:=rostful’, u’__log:=/home/chez/.ros/log/fd04f6c0-843d-11e7-88f0-000c2938a970/flytsim-rostful-10.log’)

INFO:rostful:arguments passed : host 0.0.0.0 port 80 config None ros_args (u’~connections_list:=/rocon/connection_cache/list’, u’~connections_diff:=/rocon/connection_cache/diff’, u’__name:=rostful’, u’__log:=/home/chez/.ros/log/fd04f6c0-843d-11e7-88f0-000c2938a970/flytsim-rostful-10.log’)
WARNING:root:Setting up pyros ROS node…
WARNING:root:Setting up pyros actual client…

INFO in server [/flyt/flytos/flytcore/lib/python2.7/dist-packages/rostful/server.py:182]:
Starting Tornado server on 0.0.0.0:80

[ INFO] [1503078750.583017014]: FCU: Barometer calibration complete
[ INFO] [1503078753.049124177]: FCU: EKF2 IMU0 initial yaw alignment complete
[ INFO] [1503078753.049256162]: FCU: EKF2 IMU1 initial yaw alignment complete
[ INFO] [1503078754.435063485]: FCU: GPS 1: detected as u-blox at 115200 baud
[ INFO] [1503078754.503350963]: FCU: EKF2 IMU0 tilt alignment complete
[ INFO] [1503078754.503758452]: FCU: EKF2 IMU1 tilt alignment complete
[ INFO] [1503078755.811888179]: RC_CHANNELS message detected!
[ INFO] [1503078755.869332313]: FCU: APM:Copter V3.5.0 (633501f9)
[ INFO] [1503078755.869694317]: FCU: Frame: QUAD
[ INFO] [1503078756.940551942]: PR: parameters list received
[ INFO] [1503078762.809269563]: WP: mission received
[ INFO] [1503078764.594099721]: FCU: EKF2 IMU0 Origin set to GPS
[ INFO] [1503078764.594330729]: FCU: EKF2 IMU1 Origin set to GPS
[ERROR] [1503078766.946994283]: FCU: PreArm: Need 3D Fix
[ INFO] [1503078786.229965942]: FCU: EKF2 IMU0 is using GPS
[ INFO] [1503078786.230128170]: FCU: EKF2 IMU1 is using GPS

When I tried the commands you had given

chez@chez-virtual-machine:~$ ifconfig
ens33 Link encap:Ethernet HWaddr 00:0c:29:38:a9:70
inet addr:192.168.56.130 Bcast:192.168.56.255 Mask:255.255.255.0
inet6 addr: fe80::47ba:686c:7393:b0e5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:39397 errors:2 dropped:2 overruns:0 frame:0
TX packets:18963 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:52053809 (52.0 MB) TX bytes:1453567 (1.4 MB)
Interrupt:19 Base address:0x2000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:333966 errors:0 dropped:0 overruns:0 frame:0
TX packets:333966 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:130918692 (130.9 MB) TX bytes:130918692 (130.9 MB)

chez@chez-virtual-machine:~$ cat /proc/cpuinfo | grep -Po ‘model name\t: \K.$’
grep: namet:: No such file or directory
grep: K.
$’: No such file or directory
chez@chez-virtual-machine:~$ cat /proc/cpuinfo | grep -Po ‘Hardware\t: \K.$’
grep: K.
$’: No such file or directory
chez@chez-virtual-machine:~$

Do I need to log in to the browser and complete my registration. When I did my registration the registration failed.


#13

tried this as well

chez@chez-virtual-machine:~$ ifconfig
ens33 Link encap:Ethernet HWaddr 00:0c:29:38:a9:70
inet addr:192.168.56.130 Bcast:192.168.56.255 Mask:255.255.255.0
inet6 addr: fe80::47ba:686c:7393:b0e5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:42241 errors:2 dropped:2 overruns:0 frame:0
TX packets:21306 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:53465888 (53.4 MB) TX bytes:1890204 (1.8 MB)
Interrupt:19 Base address:0x2000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1570090 errors:0 dropped:0 overruns:0 frame:0
TX packets:1570090 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:630084963 (630.0 MB) TX bytes:630084963 (630.0 MB)

chez@chez-virtual-machine:~$ ethtool -P $(ls /sys/class/net/ | grep -E ‘enp|eth|wlp|wlan’) | grep -Po ‘Permanent address: \K.*$’ | sed s/://g
ethtool: bad command line argument(s)
For more information run ethtool -h
chez@chez-virtual-machine:~$


#14

Finally i copied the file provided log_helper.pyc and that has completely broken every thing

hez@chez-virtual-machine:~$ launch_flytSim
[sudo] password for chez:
WARNING:root:ZMQ : Protobuf message implementation not found. Using pickle based protocol
Import of flyt_ms through rospack or absolute path
Traceback (most recent call last):
File “share/core_api/scripts/updates/startup.py”, line 9, in
File “share/core_api/scripts/updates/updates.py”, line 72, in
ImportError: No module named app_config


#15

can you please provide me cloud access. I am tiered of this . :frowning:


#16

The file provided when copied causes the issue.


#17

Hi,

Extremely sorry for all the trouble. The solution provided in the other thread won’t work for you. We attach our license to available network interface, but in your case it is not getting recognised.

Somehow, the commands that you run were reformatted by this forum.
Can you please try this again:

cat /proc/cpuinfo | grep -Po 'model name\t: \K.*$'
cat /proc/cpuinfo | grep -Po 'Hardware\t: \K.*$'

If the first commands prints your cpu info and the second command prints nothing, then download this flytsim, tailor made for you. Install this using the command:

sudo dpkg -i flytosv1.4-2g.deb

Can you please PM me your email ID with which you had signed up in my.flytbase.com so that I could ask my team to enable cloud access for you.


#18

chezhian.e@gmail.com

Please provide me cloud access. I believe the flytsim comes with ROS and mavlink support.

Thanks for helping me thru this.


#19

Hi,

So were you able to install the new FlytSim. Is it working?
Judging by your previous responses, you would like to have gazebo GUI. But unfortunately our cloud based simulator is not based on gazebo, and does not provide any 3D gui. If you still want to use the cloud based simulator, please fill out the form here.


#20