Skip to content

run optical flow on startup #33

@ChristophTobler

Description

@ChristophTobler

I can start px4 on startup with upstart and this file in /etc/init/px4.conf.

start on (started q6 and net-device-up IFACE!=wlan0)
stop on stopping q6 or runlevel [016]

console log

script
  cd /home/linaro
  ./px4 mainapp.config
end script

However, when I add another script for the optical flow, the wifi does not work reliably and I lose connection after ~5s.

start on (started q6 and net-device-up IFACE!=wlan0)
stop on stopping q6 or runlevel [016]

console log

script
  cd /home/linaro/src/snap_cam/build
  ./optical_flow -f 90 -a
end script

I have also tried other things like

start on started q6 and started network-interface and started networking

@rkintada any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions