FlytOS cannot activate


#41

This is what I get now (after applying the provided patch):

odroid@odroid:~/Desktop$ ./flytos_start.sh
WARNING:root:ZMQ : Protobuf message implementation not found. Using pickle based protocol
Direct import of flyt_ms and rostful
INFO:startup_log:
================== FlytOS Startup Log ================
INFO:startup_log:Thu May 4 19:46:00 2017: [autopilot detect] timeout reached… check if baudrate of autopilot is: 921600
INFO:startup_log:Thu May 4 19:46:00 2017: [autopilot detect] visit http://docs.flytbase.com/docs/FlytOS/Debugging/FAQ.html to find how to configure baudrate in FlytOS
INFO:startup_log:Thu May 4 19:46:00 2017: Could not detect autopilot, proceeding with default 'PX4’
INFO:startup_log:Thu May 4 19:46:00 2017: Checking internet availability…
INFO:startup_log:Thu May 4 19:46:00 2017: Internet connection established
INFO:startup_log:Thu May 4 19:46:00 2017: License file invalid. Please activate/reactivate your device by entering license key in flytconsole.
INFO:startup_log:Thu May 4 19:46:01 2017: License activation is: False
INFO:startup_log:Thu May 4 19:46:01 2017: Starting FlytOS(Restricted) - Needs Activation
INFO:startup_log:Thu May 4 19:46:02 2017: Exiting Startup.License invalid!
INFO:startup_log:========================================================

odroid@odroid:~/Desktop$ … logging to /home/odroid/.ros/log/09a369c8-3102-11e7-94d7-7cdd90b11971/roslaunch-odroid-4880.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://odroid:52053/

SUMMARY

CLEAR PARAMETERS

  • /flytpod/mavros/

PARAMETERS

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

NODES
/flytpod/
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_ms_node (flyt_ms/flyt_ms_node)
flytcam (usb_cam/usb_cam_node)
image_capture (vision_apps/image_capture)
mavros (mavros/mavros_node)
mode_manager (mode_manager/mode_manager)
navigation_server (navigation_util/navigation_server)
rosapi (rosapi/rosapi_node)
rostful (rostful/devserver)
web_video_server (web_video_server/web_video_server)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[flytpod/core_api_param-1]: started with pid [4926]
process[flytpod/core_api_setup-2]: started with pid [4927]
Unable to launch [flytpod/core_api_navigation-3].
If it is a script, you may be missing a ‘#!’ declaration at the top.
The traceback for the exception was written to the log file
[flytpod/core_api_navigation-3] killing on exit
[flytpod/core_api_setup-2] killing on exit
[flytpod/core_api_param-1] killing on exit
cat: /sys/class/gpio/gpio23/value: No such file or directory
cat: /sys/class/gpio/gpio24/value: No such file or directory
cat: /sys/class/gpio/gpio25/value: No such file or directory
cat: /sys/class/gpio/gpio33/value: No such file or directory


#42

Hi,

Is there no further logs? What happens when you try to activate? Can we take it up on call? Contact me at: srv@navstik.org .


#43

Thank you for looking into this.
I have sent you an email.


#44

@srv Have you received my email?


#45

Yes, I did. Sorry for delayed response.