Flytconsole is not seen


#1

Hi,

I installed flytos on ubuntu 16.0.4 on orange pi box.

Everything is ok but when I try to launch flytos it gives license error, you can see the log below:

That is also ok, When I try to launch to console via web interface to activate the license, There is no console button, there is only View Logs button. I tried to go to http://orange/flytconsole url manually but it redirects to same page with View Logs button only. So there is no place I can activate the license.

Wed Mar 28 16:45:32 2018: Checking internet availability…
Wed Mar 28 16:45:32 2018: Internet connection established
Wed Mar 28 16:45:32 2018: License file invalid. Please activate/reactivate your device by entering license key in flytconsole.
Wed Mar 28 16:45:32 2018: License activation is: False
Wed Mar 28 16:45:32 2018: Starting FlytOS(Restricted) - Needs Activation
Wed Mar 28 16:45:34 2018: Exiting Startup.License invalid!

#2

Please share your startup log and run log. Click here to know how.


#3

Also I tried with 1.5-6 and 1.5-5, result is same

here is the startup log:

Wed Mar 28 16:45:13 2018: Created new config file.

================== FlytOS Startup Log ================
Wed Mar 28 16:45:13 2018: Launching initial Log Server - you can check logs at http:///logs
Wed Mar 28 16:45:14 2018: FlytOS will try to auto-detect autopilot in these ports : /dev/ttyAMA0, /dev/ttyS0, /dev/ttyGS1, /dev/ttyGS0, /dev/ttyGS3, /dev/ttyGS2, udpin:0.0.0.0:14550,
Wed Mar 28 16:45:14 2018: FlytOS will try to auto-detect autopilot in the above ports with baudrate: 921600, 57600, 115200,
Wed Mar 28 16:45:14 2018: Refer http://docs.flytbase.com/docs/FlytOS/Debugging/FAQ.html, if your serial port or baudrate is not included in the list. Also notify us at http://forums.flytbase.com/ so that we add it to our default list
Wed Mar 28 16:45:14 2018: Trying to open /dev/ttyAMA0 with baudrate 921600
Wed Mar 28 16:45:14 2018: [autopilot detect] check if connection to autopilot is indeed on port: /dev/ttyAMA0
Wed Mar 28 16:45:14 2018: [autopilot detect] visit http://docs.flytbase.com/docs/FlytOS/Debugging/FAQ.html to find how to configure port in FlytOS
Wed Mar 28 16:45:14 2018: Trying to open /dev/ttyS0 with baudrate 921600
Wed Mar 28 16:45:17 2018: Trying to open /dev/ttyGS1 with baudrate 921600
Wed Mar 28 16:45:17 2018: Trying to open /dev/ttyGS0 with baudrate 921600
Wed Mar 28 16:45:17 2018: Trying to open /dev/ttyGS3 with baudrate 921600
Wed Mar 28 16:45:17 2018: Trying to open /dev/ttyGS2 with baudrate 921600
Wed Mar 28 16:45:17 2018: Trying to open udpin:0.0.0.0:14550 with baudrate 921600
Wed Mar 28 16:45:20 2018: Trying to open /dev/ttyAMA0 with baudrate 57600
Wed Mar 28 16:45:20 2018: Trying to open /dev/ttyS0 with baudrate 57600
Wed Mar 28 16:45:23 2018: Trying to open /dev/ttyGS1 with baudrate 57600
Wed Mar 28 16:45:23 2018: Trying to open /dev/ttyGS0 with baudrate 57600
Wed Mar 28 16:45:23 2018: Trying to open /dev/ttyGS3 with baudrate 57600
Wed Mar 28 16:45:23 2018: Trying to open /dev/ttyGS2 with baudrate 57600
Wed Mar 28 16:45:23 2018: Trying to open udpin:0.0.0.0:14550 with baudrate 57600
Wed Mar 28 16:45:26 2018: Trying to open /dev/ttyAMA0 with baudrate 115200
Wed Mar 28 16:45:26 2018: Trying to open /dev/ttyS0 with baudrate 115200
Wed Mar 28 16:45:29 2018: Trying to open /dev/ttyGS1 with baudrate 115200
Wed Mar 28 16:45:29 2018: Trying to open /dev/ttyGS0 with baudrate 115200
Wed Mar 28 16:45:29 2018: Trying to open /dev/ttyGS3 with baudrate 115200
Wed Mar 28 16:45:29 2018: Trying to open /dev/ttyGS2 with baudrate 115200
Wed Mar 28 16:45:29 2018: Trying to open udpin:0.0.0.0:14550 with baudrate 115200
Wed Mar 28 16:45:32 2018: Could not detect any serial port, with live autopilot connection
Wed Mar 28 16:45:32 2018: Could not detect autopilot, proceeding with default 'PX4’
Wed Mar 28 16:45:32 2018: Checking internet availability…
Wed Mar 28 16:45:32 2018: Internet connection established
Wed Mar 28 16:45:32 2018: License file invalid. Please activate/reactivate your device by entering license key in flytconsole.
Wed Mar 28 16:45:32 2018: License activation is: False
Wed Mar 28 16:45:32 2018: Starting FlytOS(Restricted) - Needs Activation
Wed Mar 28 16:45:34 2018: Exiting Startup.License invalid!

================== FlytOS Startup Log ================
Thu Feb 11 16:28:16 2016: Launching initial Log Server - you can check logs at http:///logs
Thu Feb 11 16:28:17 2016: FlytOS will try to auto-detect autopilot in these ports : /dev/ttyAMA0, /dev/ttyS0, /dev/ttyGS1, /dev/ttyGS0, /dev/ttyGS3, /dev/ttyGS2, udpin:0.0.0.0:14550,
Thu Feb 11 16:28:17 2016: FlytOS will try to auto-detect autopilot in the above ports with baudrate: 921600, 57600, 115200,
Thu Feb 11 16:28:17 2016: Refer http://docs.flytbase.com/docs/FlytOS/Debugging/FAQ.html, if your serial port or baudrate is not included in the list. Also notify us at http://forums.flytbase.com/ so that we add it to our default list
Thu Feb 11 16:28:17 2016: Trying to open /dev/ttyAMA0 with baudrate 921600
Thu Feb 11 16:28:17 2016: [autopilot detect] check if connection to autopilot is indeed on port: /dev/ttyAMA0
Thu Feb 11 16:28:17 2016: [autopilot detect] visit http://docs.flytbase.com/docs/FlytOS/Debugging/FAQ.html to find how to configure port in FlytOS
Thu Feb 11 16:28:17 2016: Trying to open /dev/ttyS0 with baudrate 921600
Thu Feb 11 16:28:20 2016: Trying to open /dev/ttyGS1 with baudrate 921600
Thu Feb 11 16:28:20 2016: Trying to open /dev/ttyGS0 with baudrate 921600
Thu Feb 11 16:28:20 2016: Trying to open /dev/ttyGS3 with baudrate 921600
Thu Feb 11 16:28:20 2016: Trying to open /dev/ttyGS2 with baudrate 921600
Thu Feb 11 16:28:20 2016: Trying to open udpin:0.0.0.0:14550 with baudrate 921600
Thu Feb 11 16:28:23 2016: Trying to open /dev/ttyAMA0 with baudrate 57600
Thu Feb 11 16:28:23 2016: Trying to open /dev/ttyS0 with baudrate 57600
Thu Feb 11 16:28:26 2016: Trying to open /dev/ttyGS1 with baudrate 57600
Thu Feb 11 16:28:26 2016: Trying to open /dev/ttyGS0 with baudrate 57600
Thu Feb 11 16:28:26 2016: Trying to open /dev/ttyGS3 with baudrate 57600
Thu Feb 11 16:28:26 2016: Trying to open /dev/ttyGS2 with baudrate 57600
Thu Feb 11 16:28:26 2016: Trying to open udpin:0.0.0.0:14550 with baudrate 57600
Thu Feb 11 16:28:29 2016: Trying to open /dev/ttyAMA0 with baudrate 115200
Thu Feb 11 16:28:29 2016: Trying to open /dev/ttyS0 with baudrate 115200
Thu Feb 11 16:28:32 2016: Trying to open /dev/ttyGS1 with baudrate 115200
Thu Feb 11 16:28:32 2016: Trying to open /dev/ttyGS0 with baudrate 115200
Thu Feb 11 16:28:32 2016: Trying to open /dev/ttyGS3 with baudrate 115200
Thu Feb 11 16:28:32 2016: Trying to open /dev/ttyGS2 with baudrate 115200
Thu Feb 11 16:28:32 2016: Trying to open udpin:0.0.0.0:14550 with baudrate 115200
Thu Feb 11 16:28:35 2016: Could not detect any serial port, with live autopilot connection
Thu Feb 11 16:28:35 2016: Could not detect autopilot, proceeding with default 'PX4’
Thu Feb 11 16:28:35 2016: Checking internet availability…
Thu Feb 11 16:28:35 2016: Couldn’t connect to internet: [Errno 101] Network is unreachable
Thu Feb 11 16:28:35 2016: Internet connection could not be established
Thu Feb 11 16:28:35 2016: License validity could not be confirmed on the server
Thu Feb 11 16:28:35 2016: License activation is: False
Thu Feb 11 16:28:35 2016: Starting FlytOS(Restricted) - Needs Activation
Thu Feb 11 16:28:37 2016: Exiting Startup.License invalid!

================== FlytOS Startup Log ================
Thu Feb 11 16:28:17 2016: Launching initial Log Server - you can check logs at http:///logs
Thu Feb 11 16:28:18 2016: FlytOS will try to auto-detect autopilot in these ports : /dev/ttyAMA0, /dev/ttyS0, /dev/ttyGS1, /dev/ttyGS0, /dev/ttyGS3, /dev/ttyGS2, udpin:0.0.0.0:14550,
Thu Feb 11 16:28:18 2016: FlytOS will try to auto-detect autopilot in the above ports with baudrate: 921600, 57600, 115200,
Thu Feb 11 16:28:18 2016: Refer http://docs.flytbase.com/docs/FlytOS/Debugging/FAQ.html, if your serial port or baudrate is not included in the list. Also notify us at http://forums.flytbase.com/ so that we add it to our default list
Thu Feb 11 16:28:18 2016: Trying to open /dev/ttyAMA0 with baudrate 921600
Thu Feb 11 16:28:19 2016: [autopilot detect] check if connection to autopilot is indeed on port: /dev/ttyAMA0
Thu Feb 11 16:28:19 2016: [autopilot detect] visit http://docs.flytbase.com/docs/FlytOS/Debugging/FAQ.html to find how to configure port in FlytOS
Thu Feb 11 16:28:19 2016: Trying to open /dev/ttyS0 with baudrate 921600
Thu Feb 11 16:28:22 2016: Trying to open /dev/ttyGS1 with baudrate 921600
Thu Feb 11 16:28:22 2016: Trying to open /dev/ttyGS0 with baudrate 921600
Thu Feb 11 16:28:22 2016: Trying to open /dev/ttyGS3 with baudrate 921600
Thu Feb 11 16:28:22 2016: Trying to open /dev/ttyGS2 with baudrate 921600
Thu Feb 11 16:28:22 2016: Trying to open udpin:0.0.0.0:14550 with baudrate 921600
Thu Feb 11 16:28:25 2016: Trying to open /dev/ttyAMA0 with baudrate 57600
Thu Feb 11 16:28:25 2016: Trying to open /dev/ttyS0 with baudrate 57600
Thu Feb 11 16:28:28 2016: Trying to open /dev/ttyGS1 with baudrate 57600
Thu Feb 11 16:28:28 2016: Trying to open /dev/ttyGS0 with baudrate 57600
Thu Feb 11 16:28:28 2016: Trying to open /dev/ttyGS3 with baudrate 57600
Thu Feb 11 16:28:28 2016: Trying to open /dev/ttyGS2 with baudrate 57600
Thu Feb 11 16:28:28 2016: Trying to open udpin:0.0.0.0:14550 with baudrate 57600
Thu Feb 11 16:28:31 2016: Trying to open /dev/ttyAMA0 with baudrate 115200
Thu Feb 11 16:28:31 2016: Trying to open /dev/ttyS0 with baudrate 115200
Thu Feb 11 16:28:34 2016: Trying to open /dev/ttyGS1 with baudrate 115200
Thu Feb 11 16:28:34 2016: Trying to open /dev/ttyGS0 with baudrate 115200
Thu Feb 11 16:28:34 2016: Trying to open /dev/ttyGS3 with baudrate 115200
Thu Feb 11 16:28:34 2016: Trying to open /dev/ttyGS2 with baudrate 115200
Thu Feb 11 16:28:34 2016: Trying to open udpin:0.0.0.0:14550 with baudrate 115200
Thu Feb 11 16:28:37 2016: Could not detect any serial port, with live autopilot connection
Thu Feb 11 16:28:37 2016: Could not detect autopilot, proceeding with default 'PX4’
Thu Feb 11 16:28:37 2016: Checking internet availability…
Thu Feb 11 16:28:37 2016: Couldn’t connect to internet: [Errno 101] Network is unreachable
Thu Feb 11 16:28:37 2016: Internet connection could not be established
Thu Feb 11 16:28:37 2016: License validity could not be confirmed on the server
Thu Feb 11 16:28:37 2016: License activation is: False
Thu Feb 11 16:28:37 2016: Starting FlytOS(Restricted) - Needs Activation
Thu Feb 11 16:28:39 2016: Exiting Startup.License invalid!

and run log:

… logging to /root/.ros/log/82651dc0-d0dc-11e5-bf78-8a5a5e47a5fa/roslaunch-OrangePI-1032.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.
e]2;/flyt/flytos/flytcore/share/core_api/launch/core_api_autopilot.launcha
e[1mstarted roslaunch server http://OrangePI:48397/e[0m

SUMMARY

CLEAR PARAMETERS

  • /flytos/mavros/

PARAMETERS

  • /flytos/core_api_navigation/is_dji: False
  • /flytos/core_api_param/is_dji: False
  • /flytos/core_api_payload/is_dji: False
  • /flytos/core_api_setup/is_dji: False
  • /flytos/flytcam/brightness: 20
  • /flytos/flytcam/camera_info_url: file:///flyt/flyt…
  • /flytos/flytcam/framerate: 30
  • /flytos/flytcam/image_height: 480
  • /flytos/flytcam/image_width: 640
  • /flytos/flytcam/pixel_format: yuyv
  • /flytos/flytcam/video_device: /dev/video0
  • /flytos/mavros/cmd/use_comp_id_system_control: False
  • /flytos/mavros/component_id: 241
  • /flytos/mavros/conn/heartbeat_rate: 1.0
  • /flytos/mavros/conn/system_time_rate: 1.0
  • /flytos/mavros/conn/timeout: 20.0
  • /flytos/mavros/conn/timesync_rate: 1.0
  • /flytos/mavros/distance_sensor/hrlv_ez4_pub/field_of_view: 0.0
  • /flytos/mavros/distance_sensor/hrlv_ez4_pub/frame_id: hrlv_ez4_sonar
  • /flytos/mavros/distance_sensor/hrlv_ez4_pub/id: 1
  • /flytos/mavros/distance_sensor/hrlv_ez4_pub/orientation: ROLL_180
  • /flytos/mavros/distance_sensor/hrlv_ez4_pub/send_tf: True
  • /flytos/mavros/distance_sensor/hrlv_ez4_pub/sensor_position/x: 0.0
  • /flytos/mavros/distance_sensor/hrlv_ez4_pub/sensor_position/y: 0.0
  • /flytos/mavros/distance_sensor/hrlv_ez4_pub/sensor_position/z: -0.1
  • /flytos/mavros/distance_sensor/laser_1_sub/id: 3
  • /flytos/mavros/distance_sensor/laser_1_sub/orientation: ROLL_180
  • /flytos/mavros/distance_sensor/laser_1_sub/subscriber: True
  • /flytos/mavros/distance_sensor/lidarlite_pub/field_of_view: 0.0
  • /flytos/mavros/distance_sensor/lidarlite_pub/frame_id: lidarlite_laser
  • /flytos/mavros/distance_sensor/lidarlite_pub/id: 0
  • /flytos/mavros/distance_sensor/lidarlite_pub/orientation: ROLL_180
  • /flytos/mavros/distance_sensor/lidarlite_pub/send_tf: True
  • /flytos/mavros/distance_sensor/lidarlite_pub/sensor_position/x: 0.0
  • /flytos/mavros/distance_sensor/lidarlite_pub/sensor_position/y: 0.0
  • /flytos/mavros/distance_sensor/lidarlite_pub/sensor_position/z: -0.1
  • /flytos/mavros/distance_sensor/sonar_1_sub/id: 2
  • /flytos/mavros/distance_sensor/sonar_1_sub/orientation: ROLL_180
  • /flytos/mavros/distance_sensor/sonar_1_sub/subscriber: True
  • /flytos/mavros/fcu_protocol: v1.0
  • /flytos/mavros/fcu_url: /dev/ttyAMA0:921600
  • /flytos/mavros/gcs_url: tcp-l://:5760
  • /flytos/mavros/global_position/frame_id: fcu
  • /flytos/mavros/global_position/rot_covariance: 99999.0
  • /flytos/mavros/global_position/tf/child_frame_id: fcu_utm
  • /flytos/mavros/global_position/tf/frame_id: local_origin
  • /flytos/mavros/global_position/tf/send: False
  • /flytos/mavros/image/frame_id: px4flow
  • /flytos/mavros/imu/angular_velocity_stdev: 0.000349065850399
  • /flytos/mavros/imu/frame_id: fcu
  • /flytos/mavros/imu/linear_acceleration_stdev: 0.0003
  • /flytos/mavros/imu/magnetic_stdev: 0.0
  • /flytos/mavros/imu/orientation_stdev: 1.0
  • /flytos/mavros/local_position/frame_id: fcu
  • /flytos/mavros/local_position/tf/child_frame_id: fcu
  • /flytos/mavros/local_position/tf/frame_id: local_origin
  • /flytos/mavros/local_position/tf/send: False
  • /flytos/mavros/local_position/tf/send_fcu: False
  • /flytos/mavros/mission/pull_after_gcs: True
  • /flytos/mavros/mocap/use_pose: True
  • /flytos/mavros/mocap/use_tf: False
  • /flytos/mavros/param/force_update_params: False
  • /flytos/mavros/plugin_blacklist: [‘safety_area’, '…
  • /flytos/mavros/plugin_whitelist: []
  • /flytos/mavros/px4flow/frame_id: px4flow
  • /flytos/mavros/px4flow/ranger_fov: 0.0
  • /flytos/mavros/px4flow/ranger_max_range: 5.0
  • /flytos/mavros/px4flow/ranger_min_range: 0.3
  • /flytos/mavros/safety_area/p1/x: 1.0
  • /flytos/mavros/safety_area/p1/y: 1.0
  • /flytos/mavros/safety_area/p1/z: 1.0
  • /flytos/mavros/safety_area/p2/x: -1.0
  • /flytos/mavros/safety_area/p2/y: -1.0
  • /flytos/mavros/safety_area/p2/z: -1.0
  • /flytos/mavros/setpoint_accel/send_force: False
  • /flytos/mavros/setpoint_attitude/reverse_throttle: False
  • /flytos/mavros/setpoint_attitude/tf/child_frame_id: attitude
  • /flytos/mavros/setpoint_attitude/tf/frame_id: local_origin
  • /flytos/mavros/setpoint_attitude/tf/listen: False
  • /flytos/mavros/setpoint_attitude/tf/rate_limit: 10.0
  • /flytos/mavros/setpoint_position/tf/child_frame_id: setpoint
  • /flytos/mavros/setpoint_position/tf/frame_id: local_origin
  • /flytos/mavros/setpoint_position/tf/listen: False
  • /flytos/mavros/setpoint_position/tf/rate_limit: 50.0
  • /flytos/mavros/startup_px4_usb_quirk: True
  • /flytos/mavros/sys/disable_diag: False
  • /flytos/mavros/sys/min_voltage: 10.0
  • /flytos/mavros/system_id: 255
  • /flytos/mavros/target_component_id: 0
  • /flytos/mavros/target_system_id: 1
  • /flytos/mavros/tdr_radio/low_rssi: 40
  • /flytos/mavros/time/time_ref_source: fcu
  • /flytos/mavros/time/timesync_avg_alpha: 0.6
  • /flytos/mavros/vibration/frame_id: vibration
  • /flytos/mavros/vision_pose/tf/child_frame_id: vision
  • /flytos/mavros/vision_pose/tf/frame_id: local_origin
  • /flytos/mavros/vision_pose/tf/listen: False
  • /flytos/mavros/vision_pose/tf/rate_limit: 10.0
  • /flytos/mavros/vision_speed/listen_twist: False
  • /flytos/rostful/enable_cache: False
  • /flytos/rostful/params: []
  • /flytos/rostful/services: [’/.*/param/param…
  • /flytos/rostful/topics: [’/.*/mavros/batt…
  • /global_namespace: flytos
  • /rosdistro: kinetic
  • /rosversion: 1.12.13

NODES
/flytos/
core_api_navigation (core_api/navigation_api)
core_api_param (core_api/param_api)
core_api_payload (core_api/payload_api)
core_api_setup (core_api/setup_api)
flyt_cl (flyt_remote_link/flyt_remote_client)
flyt_ms_node (flyt_ms/flyt_ms_node)
flytcam (usb_cam/usb_cam_node)
image_capture (vision_apps/image_capture)
mavros (mavros/mavros_node)
navigation_server (navigation_util/navigation_server)
rosapi (rosapi/rosapi_node)
rostful (rostful/devserver)
video_streaming (vision_apps/video_streaming)
web_video_server (web_video_server/web_video_server)

auto-starting new master
e[1mprocess[master]: started with pid [1043]e[0m
e[31mERROR: could not contact master [http://localhost:11311]e[0m
e[31mThe traceback for the exception was written to the log filee[0m
[master] killing on exit


#4

The error at the very end is causing the issue:

Have you used ROS before?
If you have, I would suggest you to check if you can test if basic ROS related functions are working fine.

Otherwise,
run this command in a terminal:

roscore

and share its output.

Moreover, open a terminal and run this command:

launch_flytOS

and share its output.


#5

I don’t know ROS, so this is the output of roscore command:

root@OrangePI:~# roscore
… logging to /root/.ros/log/f4ce8404-d0dd-11e5-9aeb-8a5a5e47a5fa/roslaunch-OrangePI-2598.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.

started roslaunch server http://OrangePI:56581/
ros_comm version 1.12.13

SUMMARY

PARAMETERS

  • /rosdistro: kinetic
  • /rosversion: 1.12.13

NODES

auto-starting new master
process[master]: started with pid [2608]
ROS_MASTER_URI=http://OrangePI:11311/

setting /run_id to f4ce8404-d0dd-11e5-9aeb-8a5a5e47a5fa
process[rosout-1]: started with pid [2621]
started core service [/rosout]

Then I opened a new terminal why rescore running
this is the output of launch_flytOS command:

root@OrangePI:~#
root@OrangePI:~# launch_flytOS
Direct import of flyt_ms

================== FlytOS Startup Log ================
Thu Feb 11 16:40:14 2016: Launching initial Log Server - you can check logs at http:///logs

  • Running on http://0.0.0.0:80/ (Press CTRL+C to quit)
  • Restarting with stat
    Thu Feb 11 16:40:15 2016: FlytOS will try to auto-detect autopilot in these ports : /dev/ttyACM0, /dev/ttyUSB0, /dev/ttyGS1, /dev/ttyGS0, /dev/ttyGS3, /dev/ttyGS2, udpin:0.0.0.0:14550,
    Thu Feb 11 16:40:15 2016: FlytOS will try to auto-detect autopilot in the above ports with baudrate: 115200, 921600, 230400, 57600,
    Thu Feb 11 16:40:15 2016: Refer http://docs.flytbase.com/docs/FlytOS/Debugging/FAQ.html, if your serial port or baudrate is not included in the list. Also notify us at http://forums.flytbase.com/ so that we add it to our default list
    Thu Feb 11 16:40:15 2016: PX4/APM: Trying to open /dev/ttyACM0 with baudrate 115200
    Thu Feb 11 16:40:15 2016: [autopilot detect] check if connection to autopilot is indeed on port: /dev/ttyACM0
    Thu Feb 11 16:40:15 2016: [autopilot detect] visit http://docs.flytbase.com/docs/FlytOS/Debugging/FAQ.html to find how to configure port in FlytOS
    Thu Feb 11 16:40:15 2016: DJI: Trying to open /dev/ttyUSB0 with baudrate 921600
    Thu Feb 11 16:40:15 2016: [autopilot detect] check if connection to autopilot is indeed on port: /dev/ttyUSB0 with baudrate set as: 921600
    Thu Feb 11 16:40:15 2016: [autopilot detect] visit http://docs.flytbase.com/docs/FlytOS/Debugging/FAQ.html to find how to configure port and baudrate in FlytOS
    Thu Feb 11 16:40:15 2016: PX4/APM: Trying to open /dev/ttyACM0 with baudrate 115200
    Thu Feb 11 16:40:15 2016: [autopilot detect] check if connection to autopilot is indeed on port: /dev/ttyACM0
    Thu Feb 11 16:40:15 2016: [autopilot detect] visit http://docs.flytbase.com/docs/FlytOS/Debugging/FAQ.html to find how to configure port in FlytOS
    Thu Feb 11 16:40:15 2016: PX4/APM: Trying to open /dev/ttyACM0 with baudrate 921600
    Thu Feb 11 16:40:15 2016: DJI: Trying to open /dev/ttyACM0 with baudrate 921600
    Thu Feb 11 16:40:16 2016: DJI: Trying to open /dev/ttyACM0 with baudrate 230400
    Thu Feb 11 16:40:16 2016: PX4/APM: Trying to open /dev/ttyACM0 with baudrate 57600
    Thu Feb 11 16:40:16 2016: PX4/APM: Trying to open /dev/ttyUSB0 with baudrate 115200
    Thu Feb 11 16:40:16 2016: PX4/APM: Trying to open /dev/ttyUSB0 with baudrate 921600
    Thu Feb 11 16:40:16 2016: DJI: Trying to open /dev/ttyUSB0 with baudrate 921600
    Thu Feb 11 16:40:17 2016: [autopilot detect] check if connection to autopilot is indeed on port: /dev/ttyUSB0 with baudrate set as: 921600
    Thu Feb 11 16:40:17 2016: [autopilot detect] visit http://docs.flytbase.com/docs/FlytOS/Debugging/FAQ.html to find how to configure port and baudrate in FlytOS
    Thu Feb 11 16:40:17 2016: DJI: Trying to open /dev/ttyUSB0 with baudrate 230400
    Thu Feb 11 16:40:17 2016: PX4/APM: Trying to open /dev/ttyUSB0 with baudrate 57600
    Thu Feb 11 16:40:17 2016: PX4/APM: Trying to open /dev/ttyGS1 with baudrate 115200
    Thu Feb 11 16:40:17 2016: PX4/APM: Trying to open /dev/ttyGS1 with baudrate 921600
    Thu Feb 11 16:40:17 2016: DJI: Trying to open /dev/ttyGS1 with baudrate 921600
    Thu Feb 11 16:40:18 2016: DJI: Trying to open /dev/ttyGS1 with baudrate 230400
    Thu Feb 11 16:40:18 2016: PX4/APM: Trying to open /dev/ttyGS1 with baudrate 57600
    Thu Feb 11 16:40:18 2016: PX4/APM: Trying to open /dev/ttyGS0 with baudrate 115200
    Thu Feb 11 16:40:18 2016: PX4/APM: Trying to open /dev/ttyGS0 with baudrate 921600
    Thu Feb 11 16:40:18 2016: DJI: Trying to open /dev/ttyGS0 with baudrate 921600
    Thu Feb 11 16:40:19 2016: DJI: Trying to open /dev/ttyGS0 with baudrate 230400
    Thu Feb 11 16:40:19 2016: PX4/APM: Trying to open /dev/ttyGS0 with baudrate 57600
    Thu Feb 11 16:40:19 2016: PX4/APM: Trying to open /dev/ttyGS3 with baudrate 115200
    Thu Feb 11 16:40:19 2016: PX4/APM: Trying to open /dev/ttyGS3 with baudrate 921600
    Thu Feb 11 16:40:19 2016: DJI: Trying to open /dev/ttyGS3 with baudrate 921600
    Thu Feb 11 16:40:19 2016: DJI: Trying to open /dev/ttyGS3 with baudrate 230400
    Thu Feb 11 16:40:20 2016: PX4/APM: Trying to open /dev/ttyGS3 with baudrate 57600
    Thu Feb 11 16:40:20 2016: PX4/APM: Trying to open /dev/ttyGS2 with baudrate 115200
    Thu Feb 11 16:40:20 2016: PX4/APM: Trying to open /dev/ttyGS2 with baudrate 921600
    Thu Feb 11 16:40:20 2016: DJI: Trying to open /dev/ttyGS2 with baudrate 921600
    Thu Feb 11 16:40:20 2016: DJI: Trying to open /dev/ttyGS2 with baudrate 230400
    Thu Feb 11 16:40:21 2016: PX4/APM: Trying to open /dev/ttyGS2 with baudrate 57600
    Thu Feb 11 16:40:21 2016: PX4/APM: Trying to open udpin:0.0.0.0:14550 with baudrate 115200
    Thu Feb 11 16:40:24 2016: Could not detect any serial port, with live autopilot connection
    Thu Feb 11 16:40:24 2016: Could not detect autopilot, proceeding with last setting
    Thu Feb 11 16:40:24 2016: Checking internet availability…
    Thu Feb 11 16:40:24 2016: Couldn’t connect to internet: [Errno 101] Network is unreachable
    Thu Feb 11 16:40:24 2016: Internet connection could not be established
    Thu Feb 11 16:40:24 2016: License validity could not be confirmed on the server
    Thu Feb 11 16:40:24 2016: License activation is: False
    Thu Feb 11 16:40:24 2016: Starting FlytOS(Restricted) - Needs Activation
    User launch file not found
    Thu Feb 11 16:40:25 2016: Exiting Startup.License invalid!
    ========================================================

root@OrangePI:~# … logging to /root/.ros/log/27a7aaf4-d0de-11e5-a06d-8a5a5e47a5fa/roslaunch-OrangePI-3136.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.

started roslaunch server http://OrangePI:58053/

SUMMARY

CLEAR PARAMETERS

  • /flytos/mavros/

PARAMETERS

  • /flytos/core_api_navigation/is_dji: False
  • /flytos/core_api_param/is_dji: False
  • /flytos/core_api_payload/is_dji: False
  • /flytos/core_api_setup/is_dji: False
  • /flytos/flytcam/brightness: 20
  • /flytos/flytcam/camera_info_url: file:///flyt/flyt…
  • /flytos/flytcam/framerate: 30
  • /flytos/flytcam/image_height: 480
  • /flytos/flytcam/image_width: 640
  • /flytos/flytcam/pixel_format: yuyv
  • /flytos/flytcam/video_device: /dev/video0
  • /flytos/mavros/cmd/use_comp_id_system_control: False
  • /flytos/mavros/component_id: 241
  • /flytos/mavros/conn/heartbeat_rate: 1.0
  • /flytos/mavros/conn/system_time_rate: 0.0
  • /flytos/mavros/conn/timeout: 20.0
  • /flytos/mavros/conn/timesync_rate: 0.0
  • /flytos/mavros/distance_sensor/rangefinder_pub/field_of_view: 0.0
  • /flytos/mavros/distance_sensor/rangefinder_pub/frame_id: lidar
  • /flytos/mavros/distance_sensor/rangefinder_pub/id: 0
  • /flytos/mavros/distance_sensor/rangefinder_pub/send_tf: False
  • /flytos/mavros/distance_sensor/rangefinder_pub/sensor_position/x: 0.0
  • /flytos/mavros/distance_sensor/rangefinder_pub/sensor_position/y: 0.0
  • /flytos/mavros/distance_sensor/rangefinder_pub/sensor_position/z: -0.1
  • /flytos/mavros/distance_sensor/sonar_1_sub/id: 1
  • /flytos/mavros/distance_sensor/sonar_1_sub/orientation: NONE
  • /flytos/mavros/distance_sensor/sonar_1_sub/subscriber: True
  • /flytos/mavros/distance_sensor/sonar_2_sub/id: 2
  • /flytos/mavros/distance_sensor/sonar_2_sub/orientation: YAW_90
  • /flytos/mavros/distance_sensor/sonar_2_sub/subscriber: True
  • /flytos/mavros/distance_sensor/sonar_3_sub/id: 3
  • /flytos/mavros/distance_sensor/sonar_3_sub/orientation: YAW_180
  • /flytos/mavros/distance_sensor/sonar_3_sub/subscriber: True
  • /flytos/mavros/distance_sensor/sonar_4_sub/id: 4
  • /flytos/mavros/distance_sensor/sonar_4_sub/orientation: YAW_270
  • /flytos/mavros/distance_sensor/sonar_4_sub/subscriber: True
  • /flytos/mavros/distance_sensor/sonar_5_sub/id: 5
  • /flytos/mavros/distance_sensor/sonar_5_sub/orientation: PITCH_270
  • /flytos/mavros/distance_sensor/sonar_5_sub/subscriber: True
  • /flytos/mavros/distance_sensor/sonar_6_sub/id: 6
  • /flytos/mavros/distance_sensor/sonar_6_sub/orientation: PITCH_90
  • /flytos/mavros/distance_sensor/sonar_6_sub/subscriber: True
  • /flytos/mavros/fcu_protocol: v1.0
  • /flytos/mavros/fcu_url: /dev/ttyACM0:115200
  • /flytos/mavros/gcs_url: tcp-l://:5760
  • /flytos/mavros/geofence/pull_after_gcs: True
  • /flytos/mavros/global_position/frame_id: fcu
  • /flytos/mavros/global_position/rot_covariance: 99999.0
  • /flytos/mavros/global_position/tf/child_frame_id: fcu_utm
  • /flytos/mavros/global_position/tf/frame_id: local_origin
  • /flytos/mavros/global_position/tf/send: False
  • /flytos/mavros/image/frame_id: px4flow
  • /flytos/mavros/imu/angular_velocity_stdev: 0.000349065850399
  • /flytos/mavros/imu/frame_id: fcu
  • /flytos/mavros/imu/linear_acceleration_stdev: 0.0003
  • /flytos/mavros/imu/magnetic_stdev: 0.0
  • /flytos/mavros/imu/orientation_stdev: 1.0
  • /flytos/mavros/local_position/frame_id: fcu
  • /flytos/mavros/local_position/tf/child_frame_id: fcu
  • /flytos/mavros/local_position/tf/frame_id: local_origin
  • /flytos/mavros/local_position/tf/send: False
  • /flytos/mavros/mission/pull_after_gcs: True
  • /flytos/mavros/mocap/use_pose: True
  • /flytos/mavros/mocap/use_tf: False
  • /flytos/mavros/param/force_update_params: False
  • /flytos/mavros/plugin_blacklist: ['actuator_contro…
  • /flytos/mavros/plugin_whitelist: []
  • /flytos/mavros/px4flow/frame_id: px4flow
  • /flytos/mavros/px4flow/ranger_fov: 0.0
  • /flytos/mavros/px4flow/ranger_max_range: 5.0
  • /flytos/mavros/px4flow/ranger_min_range: 0.3
  • /flytos/mavros/safety_area/p1/x: 1.0
  • /flytos/mavros/safety_area/p1/y: 1.0
  • /flytos/mavros/safety_area/p1/z: 1.0
  • /flytos/mavros/safety_area/p2/x: -1.0
  • /flytos/mavros/safety_area/p2/y: -1.0
  • /flytos/mavros/safety_area/p2/z: -1.0
  • /flytos/mavros/setpoint_accel/send_force: False
  • /flytos/mavros/setpoint_attitude/reverse_throttle: False
  • /flytos/mavros/setpoint_attitude/tf/child_frame_id: attitude
  • /flytos/mavros/setpoint_attitude/tf/frame_id: local_origin
  • /flytos/mavros/setpoint_attitude/tf/listen: False
  • /flytos/mavros/setpoint_attitude/tf/rate_limit: 10.0
  • /flytos/mavros/setpoint_position/tf/child_frame_id: setpoint
  • /flytos/mavros/setpoint_position/tf/frame_id: local_origin
  • /flytos/mavros/setpoint_position/tf/listen: False
  • /flytos/mavros/setpoint_position/tf/rate_limit: 50.0
  • /flytos/mavros/startup_px4_usb_quirk: False
  • /flytos/mavros/sys/disable_diag: False
  • /flytos/mavros/sys/min_voltage: 10.0
  • /flytos/mavros/system_id: 255
  • /flytos/mavros/target_component_id: 1
  • /flytos/mavros/target_system_id: 1
  • /flytos/mavros/tdr_radio/low_rssi: 40
  • /flytos/mavros/time/time_ref_source: fcu
  • /flytos/mavros/time/timesync_avg_alpha: 0.6
  • /flytos/mavros/vibration/frame_id: vibration
  • /flytos/mavros/vision_pose/tf/child_frame_id: vision
  • /flytos/mavros/vision_pose/tf/frame_id: local_origin
  • /flytos/mavros/vision_pose/tf/listen: False
  • /flytos/mavros/vision_pose/tf/rate_limit: 10.0
  • /flytos/mavros/vision_speed/listen_twist: False
  • /flytos/rostful/enable_cache: False
  • /flytos/rostful/params: []
  • /flytos/rostful/services: [’/.*/param/param…
  • /flytos/rostful/topics: [’/.*/mavros/batt…
  • /global_namespace: flytos
  • /rosdistro: kinetic
  • /rosversion: 1.12.13

NODES
/flytos/
core_api_navigation (core_api_nodes/navigation_api)
core_api_param (core_api_nodes/param_api)
core_api_payload (core_api_nodes/payload_api)
core_api_setup (core_api_nodes/setup_api)
flyt_cl (flyt_remote_link/flyt_remote_client)
flyt_ms_node (flyt_ms/flyt_ms_node)
flytcam (usb_cam/usb_cam_node)
image_capture (vision_apps/image_capture)
mavros (mavros/mavros_node)
navigation_server (navigation_util/navigation_server)
rosapi (rosapi/rosapi_node)
rostful (rostful/devserver)
video_streaming (vision_apps/video_streaming)
web_video_server (web_video_server/web_video_server)

auto-starting new master
process[master]: started with pid [3147]
ERROR: Unable to start XML-RPC server, port 11311 is already in use
Unhandled exception in thread started by <bound method XmlRpcNode.run of <rosgraph.xmlrpc.XmlRpcNode object at 0xb63101b0>>
Traceback (most recent call last):
File “/opt/ros/kinetic/lib/python2.7/dist-packages/rosgraph/xmlrpc.py”, line 215, in run
self._run()
File “/opt/ros/kinetic/lib/python2.7/dist-packages/rosgraph/xmlrpc.py”, line 284, in _run
self._run_init()
File “/opt/ros/kinetic/lib/python2.7/dist-packages/rosgraph/xmlrpc.py”, line 234, in _run_init
self.server = ThreadingXMLRPCServer((bind_address, port), log_requests)
File “/opt/ros/kinetic/lib/python2.7/dist-packages/rosgraph/xmlrpc.py”, line 115, in init
SimpleXMLRPCServer.init(self, addr, SilenceableXMLRPCRequestHandler, log_requests)
File “/usr/lib/python2.7/SimpleXMLRPCServer.py”, line 593, in init
SocketServer.TCPServer.init(self, addr, requestHandler, bind_and_activate)
File “/usr/lib/python2.7/SocketServer.py”, line 417, in init
self.server_bind()
File “/usr/lib/python2.7/SocketServer.py”, line 431, in server_bind
self.socket.bind(self.server_address)
File “/usr/lib/python2.7/socket.py”, line 228, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 98] Address already in use

root@OrangePI:~#
root@OrangePI:~#
root@OrangePI:~#


#6

Hi @matalar,

How have you installed ROS or FlytOS in your OrangePi?
Moreover, the issue is not related to FlytOS but in general ROS.
I have never installed ROS on OrangePi before. It should not cause such major issues, but I would suggest to post your issue on a ROS forum as well.

Please take a look at these posts: https://answers.ros.org/question/267786/roslaunch-erros-out-when-trying-to-launch-master-when-master-is-already-running-via-roscore/ and http://ros-users.narkive.com/P2iRjpKe/the-roscore-problem-again. They have similar problems.


#7

Hi @matalar,

Were you able to get this problem resolved?


#8

Hi,

Since we had other problems with orange pi, we purchased a new raspberry pi and using it. So I couldn’t solve technical problem but this will be more healthy. thanks for your support