Giter Club home page Giter Club logo

flowpilot's People

Contributors

0312birdzhang avatar b34c0n5 avatar eltociear avatar mankaransingh avatar raghavprabhakar66 avatar snyk-bot avatar theminecraftguyguru avatar wantguns avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flowpilot's Issues

ZeroMQ address already in use when sometimes initializing android CameraManager

Happens when switching between apps and sometimes on startup.

java.lang.RuntimeException: Unable to start activity ComponentInfo{ai.flow.android/ai.flow.android.AndroidLauncher}: org.zeromq.ZMQException: Address already in use(0x62)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3707)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3864)
	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2253)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loopOnce(Looper.java:201)
	at android.os.Looper.loop(Looper.java:288)
	at android.app.ActivityThread.main(ActivityThread.java:7870)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
Caused by: org.zeromq.ZMQException: Address already in use(0x62)
	at org.zeromq.ZMQ$Socket.bind(Native Method)
	at messaging.ZMQPubHandler.createPublisher(ZMQPubHandler.java:35)
	at ai.flow.android.sensor.CameraManager.<init>(CameraManager.java:99)
	at ai.flow.android.AndroidLauncher.onCreate(AndroidLauncher.java:104)
	at android.app.Activity.performCreate(Activity.java:8057)
	at android.app.Activity.performCreate(Activity.java:8037)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1341)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3688)
	... 12 more

Automatic lanechange

Automatic lanechange only works for one timee per FP session

  • Start up flowpilot

  • get up to speed

  • turn on turn signals

  • one nudge to the steer
    initiates auto lanechange

  • Turn on turn signal again

  • Nudge on the steering wheel
    does not engage auto lanechange

Expected behavior
Lanechanges is expected to engage everytime the car is up to speed, turn signal is on, and nudge to the steeringwheel is given.

Platform Details

Android :

  • android version: for eg, 12
  • manufacturer: Xiaomi
  • model: F3
  • rooted: Yes
  • using root or non-root env: root env

Carla Simulation not detecting lane lines with gpu image processing

Describe the bug
If gpu image processor is used in model executor while running bridge.py with carla, the lane lines and model outputs dont change at all.

To Reproduce
Run carla sim with gpu enabled, premium branch

Expected behavior
A clear and concise description of what you expected to happen.

Platform Details
Desktop:

  • linux distro. ubuntu
  • using gpu / cpu ? : GPU

wget command is not working

Describe the bug
Following both commands unable to download the contents:

wget -q https://raw.githubusercontent.com/flowdriveai/flowpilot/master/scripts/flowpilot-setup-env-android
wget -q https://raw.githubusercontent.com/flowdriveai/flowpilot/master/scripts/install-flowpilot-desktop

To Reproduce
run above commands in termux or cli of the ubuntu

Expected behavior
expection to get downloaded folders for flowpilot

Platform Details
Ubutnu

Android :
all

Additional context

image

#Rom community wants to know

hello mankaran i am developer for roms for redmi note 9 pro excalibur
which rom u used for ur flow auto pilot or was it miui ๐Ÿ˜‚๐Ÿ˜’๐Ÿ’€

Update Repo to say it is ABANDONED and go to my FAQ for more recent information!

The "official" flowpilot repo has been abandoned and does not work out-of-the-box for any platform, nor is it anywhere near as reliable as modern openpilot if you do get it working. The original developer was an amazing founder and made a great foundation for running open pilot on Android, but like many things, the dream was bigger than what became realized here.

I've forked this project and got it working on my LG G8, which works amazingly well. I had to rewrite and redesign significant sections to accomplish this. I've got my fork working with the latest thneed models too, neat!

Compatibility took a hit though, as I can say only LG G8's work (OnePlus 7T would be the next closest thing). I had to pair down the project to realistically deliver something useable and up-to-date. If you are going to continue working on this project, I highly recommend you start from my fork.

https://github.com/phr00t/flowpilot/wiki/FlowPilot:-FAQ

F3 model init failed

Describe the bug
When lauching flowpilot, model init failed with errors:

E/tnn: BuildProgram [File /home/orangepi/others/tnn-v0.3.0-full-source/source/tnn/device/opencl/opencl_runtime.cc][Line 478] Program build log: <source>:78:18: error: use of undeclared identifier 'inff'
    FLOAT4 out = OPERATOR;
                 ^
<built-in>:8:59: note: expanded from here
#define OPERATOR clamp(in,(FLOAT4)(1.00000e-12f),(FLOAT4)(inff))
                                                          ^

error: Compiler frontend failed (error code 63)
 
E/tnn: BuildProgram [File /home/orangepi/others/tnn-v0.3.0-full-source/source/tnn/device/opencl/opencl_runtime.cc][Line 480] Build program failed ! 
E/tnn: BuildKernel [File /home/orangepi/others/tnn-v0.3.0-full-source/source/tnn/device/opencl/opencl_runtime.cc][Line 333] unary build failed!
E/tnn: CreateExecuteUnit [File /home/orangepi/others/tnn-v0.3.0-full-source/source/tnn/device/opencl/opencl_utils.cc][Line 522] kernel (Unary) build failed!
E/tnn: Init [File /home/orangepi/others/tnn-v0.3.0-full-source/source/tnn/device/opencl/acc/opencl_unary_layer_acc.cc][Line 34] create execute unit failed!
E/tnn: Init [File /home/orangepi/others/tnn-v0.3.0-full-source/source/tnn/device/opencl/acc/opencl_clip_layer_acc.cc][Line 26] code: 0xA006 msg: build program falied
E/tnn: InitLayers [File /home/orangepi/others/tnn-v0.3.0-full-source/source/tnn/core/default_network.cc][Line 319] Error Init layer Clip_296 (err: 40966 or 0xA006)
E/tnn: check_status [File /home/orangepi/flowpilot/selfdrive/modeld/tnn/src/tnn_api.cc][Line 24] model init failed 40966

To Reproduce
launch flowpilot

Expected behavior
No errors

Platform Details
Desktop:

  • Ubuntu 22.04
  • using gpu

Additional context
F2 model is working well

f2-f3-beta openpilot unavailable system malfunction

when running a completely fresh install of flowpilot on a 6T running Lineage 20 (Android 13) rooted, after calibration (which had other issues) when ready to enable, and you start ACC, it disables itself and displays a message saying "openpilot Unavailable System Malfunction: Reboot Your Device" and when sitting idle the CAN bus indicator flickers between online and offline, with the white line flickering to red and back to white.

zmq lib Android 13 Permission Denied

Device: Pixel 6A
Version: GrapheneOS TP1A.221005.003.2022100300 (android 13)

Symptom: When flowpilot is launched with ZMQ_MESSAGING_PROTOCOL set to TCP, error message stating Permission Denied (src/tcp.address.cpp:172) and Permission Denied (ip_resolver.cpp:542) appears. Flowpilot is launched with a black screen and the shell script exited ./launch_flowpilot.sh: line 11: 14829 Aborted flowinit. Another user has experienced the same symptom on Android 13.

Possible cause:

Android 13 default restricts access of network interface information.

Expected behavior:

Flowpilot launched correctly

staging Error while launching flowpilot

When we try to launch './launch_flowpilot.sh' for desktop version, we are getting a UI to register with username and password. But we are unable to proceed. We are getting an error "Error staging-api.flowdrive.ai".

Please guide us. Thanks.

Bleeding edge - Bolt EUV 2022 - controlsd crash on apk 0.2.2, or laikad & clocksd crash with apk 0.2.3

Describe the bug
0.2.2 apk - Controlsd continually crashes on bleeding edge with Bolt EUV 2022, with or without hardcoding the thumbprint.
0.2.3 apk - clocksd and laikad crash, resulting in alert "openpilot Unavailable/Controls Mismatch 2 0 3"

To Reproduce
Android #1 & #2 - 0.2.2 apk

  • When running ./launch_flowpilot.sh prior to starting android apk, all services seem healthy. When the apk is then launched controlsd crashes, ~50% of the time it will be unable to obtain the vin resulting in vin 0000000000000, the rest of the time, it obtains a valid VIN but shows an error.
  • Launching APK directly results in controlsd crash shortly after "waiting for can message" is displayed in startup sequence.

Android #1 & #2 - 0.2.3 apk

  • When running ./launch_flowpilot.sh prior to starting android apk, all services seem healthy. When the apk is then launched laikad crashes along with clocksd.
  • Launching APK directly results in path being visible for several seconds, before it disappears. Usually it indicates flow pilot is ready. However engaging flowpilot results in "Openpilot Unavailable Controls Mismatch"

Expected behavior
controlsd does not crash / no controls mismatch issues.

Platform Details
Android #1:

  • android version: 13
  • manufacturer: Google
  • model: Pixel 6 Pro
  • rooted ? : Yes
  • using root or non-root env ? root env

Android #2:

  • android version: 11
  • manufacturer: Samsung
  • model: Samsung S20 Ulltra
  • rooted ? : No
  • using root or non-root env ? non-root env

Additional context
I've been testing both android #1 and 2 to see if there are different behaviors.

Not sure if it is helpful, however editing /common/version.h from 0.2.2 to 0.2.3 and running 0.2.3 apk resulted in unknown vehicle / dashcam mode.

White and blue artifacts

Pixel 6A

Android 12

Tnn-model

Symptom: blue horizontal lines(multiple pixel) and white triangular geometry occasionally show up.

BOUNTY $1500: Flowpilot in the RetrOS/Termux userland (no chroot)

goal is to try and make Flowpilot boot in the RetrOS userland, so we can eventually start leveraging the hardware more and get the codebase closer to openpilot.

Flowpilot reqs should already be present in the userland, but if needed, PRs to the userland will also be accepted. it already supports opencl with GPU access, pyopencl, and tinygrad.

$1500 + community contributions

acceptance criteria:

  • no chroot
  • flowpilot compiles against Android/termux libraries
  • APK boots to ui and goes onroad

Discord:
RetroPilot Bounty
FlowPilot Bounty

One plus 8T failed to launch

One plus 8T IN2017

Flowpilot 0.0.1

Android 12

After script launch, the apk doesn't launch. Manually opening the apk doesn't work.

launch_flowpilot.sh 2022-10-26 11:06:38,287 services.py [INFO] Starting logmessaged 2022-10-26 11:06:38,296 services.py [INFO] Starting keyvald
2022-10-26 11:06:38,307 services.py [INFO] Starting pandad
2022-10-26 11:06:38,316 services.py [INFO] Starting ai.flow.app CANNOT LINK EXECUTABLE "/system/bin/app_process": library "liboplusplugin.so" not found: needed by /system/lib64/libandroid_runtime.so in namespace (default) 2022-10-26 11:06:39,149 flowinitd.py [INFO] Waiting for the start signal Running pandad in no-root mode listing usb devices.. if this hangs here, restart termux. CANNOT LINK EXECUTABLE "/system/bin/app_process": library "liboplusplugin.so" not found: needed by /system/lib64/libandroid_runtime.so in namespace (default)

Bleeding Edge 0.2.3 - clocksd & laikad crash

Describe the bug
Bleeding Edge 0.2.3 (updated with repo on 2023/06/26
Screenshot_20230626-181225
Screenshot_20230626-181232
)
Error when starting Flow Pilot:
[clocksd] clocksd: cereal/messaging/socketmaster.cc:204: PubMaster::PubMaster(const std::vector<const char*> &): Assertion `socket' failed.

Followed by a laikad error after "waiting for CAN messages...

To Reproduce
./launch_flowpilot.sh
launch flowpilot 0.2.3 apk

Expected behavior
To not crash :D

Platform Details

Android :

  • android version: 13
  • manufacturer: Google
  • model: Pixel 6 Pro
  • rooted ? : Yes
  • using root or non-root env ? root env

Additional context
Attached screen shots

How to run on PC / Desktop

Hi,
I am trying to setup it on PC / Desktop, Intel CPU + Ubuntu 20.04.
I followed the install steps from here : https://github.com/flowdriveai/flowpilot/wiki/Installation#installing-on-desktop
Then I followed "Running on Simulator" steps from here : https://github.com/flowdriveai/flowpilot/wiki/Running-On-Simulation#following-steps-will-help-you-get-carla-simulation---flowpilot-integration-up-and-running

I got confused with these following two steps... Could you help to clarigy

  • start carla simulation using ./CarlaUE4.sh -RenderOffScreen
  • In one terminal, launch flowpilot and in other, launch python tool/sim/bridge.py

This means, total 3 terminals do i need to launch, one for "./CarlaUE4.sh -RenderOffScreen", one for "./launch_flowpilot.sh" and one for "python tool/sim/bridge.py"

Is that correct ?
and, Do i need to have Camera or SmartPhone to run the application ?

Tried in Dashcam Mode, the banner takes half of the screen. Is this a bug or by design?

Describe the bug
My car is not in the supported list and I don't have the hardware to connect to a car, but I wanted to try out this in Dashcam Mode. I followed the installation guide and successfully installed and launched the app. However, the Dashcam Mode green banner takes half of the screen, makes the lane lines hard to see. Is this a bug or by design?

Screenshot_ai flow android

To Reproduce

  1. Followed the installation guide to install the premium version.
  2. Uncommitted the line #export FINGERPRINT="HONDA CIVIC 2016" in launch_flowpilot.sh to hardcoding figureprinting since my car is not supported.
  3. Set USE_SNPE="1" in launch_flowpilot.sh to enable SNPE.
  4. Launched flowpilot and opened python scripts/dummy_publishers.py.

Expected behavior
Make the Dashcam Mode banner smaller in able to view the lane predictions.
Also, the speed shows on the screen kept at 72 kmph. I guess the speed is from the dummy_publishers.py? Is it possible to get real speed from phone's GPS?

Platform Details

Android :

  • android version: 13
  • manufacturer: Redmi
  • model: K40
  • rooted ? : yes
  • using root or non-root env ? root

houp[op=09lonbiu(O)9087_+lobfP)87+{}:

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
optional

Expected behavior
A clear and concise description of what you expected to happen.

Platform Details
Desktop:

  • linux distro
  • using gpu / cpu ?

Android :

  • android version: for eg, 12
  • manufacturer: for eg, Redmi
  • model: for eg, Note 9 pro
  • rooted ? :
  • using root or non-root env ?

Additional context
Add any other context about the problem here.

failed to install and run on desktop

I follow installation instructions below and got erros at step 3, scons:

  1. cd ~/flowpilot
  2. pipenv shell
  3. scons

(flowpilot) root@legion:~/flowpilot# scons
scons: Reading SConscript files ...
ModuleNotFoundError: No module named 'Crypto':
File "/root/flowpilot/SConstruct", line 175:
SConscript(['panda/board/SConscript'])
File "/usr/lib/scons/SCons/Script/SConscript.py", line 660:
return method(*args, **kw)
File "/usr/lib/scons/SCons/Script/SConscript.py", line 597:
return _SConscript(self.fs, *files, **subst_kw)
File "/usr/lib/scons/SCons/Script/SConscript.py", line 286:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "/root/flowpilot/panda/board/SConscript", line 132:
certs = [get_key_header(n) for n in ["debug", "release"]]
File "/root/flowpilot/panda/board/SConscript", line 132:
certs = [get_key_header(n) for n in ["debug", "release"]]
File "/root/flowpilot/panda/board/SConscript", line 102:
from Crypto.PublicKey import RSA

Also do "pip install Crypto", but the issue still exists.

Please help

[Desktop][Ubuntu] Panda connection issue

Device: OrangePi5 board
Branch: premium

  1. When launch flowpilot, panda reconnect failed.
    Screenshot from 2023-08-20 10-31-31

  2. I found panda disconnected, lsusb has no comma.panda

  3. After unplug and replug usb cable, panda shown on lsusb

  4. I reflashed panda via ~/flowpilot/panda/board/flash.sh

#!/usr/bin/env sh
set -e
scons -u -j$(nproc)
PYTHONPATH=.. python3 -c "from python import Panda; Panda().flash('obj/panda.bin.signed')"

Screenshot from 2023-08-20 10-35-09

And same behavior as 2-3, i changed reconnect waiting time from 15 to 25, then do unplug and replug, panda flashed ok.

  1. Then i restart flowpilot, everything works well, except "CAN OFFLINE".

some logs from .flowdrive/logs/

orangepi@orangepi-desktop:~/.flowdrive/log$ cat swaglog.0000000030
{"ctx": {"dongle_id": "", "version": "0.2.4", "dirty": true, "device": "todo"}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "process.py", "lineno": 145, "pathname": "/home/orangepi/flowpilot/selfdrive/manager/process.py", "module": "process", "funcName": "ensure_running", "host": "orangepi-desktop", "process": 1607, "thread": 281473875712128, "threadName": "MainThread", "created": 1692498647.0690212, "msg$s": "Starting logmessaged", "id": "83a05335626f4bf28e0f82bae8365906"}
{"ctx": {"dongle_id": "", "version": "0.2.4", "dirty": true, "device": "todo"}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "process.py", "lineno": 145, "pathname": "/home/orangepi/flowpilot/selfdrive/manager/process.py", "module": "process", "funcName": "ensure_running", "host": "orangepi-desktop", "process": 1607, "thread": 281473875712128, "threadName": "MainThread", "created": 1692498647.0833285, "msg$s": "Starting thermald_", "id": "3da571a148f14f1386d6330cbc2d1ab0"}
{"ctx": {"dongle_id": "", "version": "0.2.4", "dirty": true, "device": "todo"}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "process.py", "lineno": 145, "pathname": "/home/orangepi/flowpilot/selfdrive/manager/process.py", "module": "process", "funcName": "ensure_running", "host": "orangepi-desktop", "process": 1607, "thread": 281473875712128, "threadName": "MainThread", "created": 1692498647.0930362, "msg$s": "Starting statsd", "id": "09636bcc74e9409d8e2e0847421fde99"}
{"ctx": {"dongle_id": "", "version": "0.2.4", "dirty": true, "device": "todo"}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "process.py", "lineno": 145, "pathname": "/home/orangepi/flowpilot/selfdrive/manager/process.py", "module": "process", "funcName": "ensure_running", "host": "orangepi-desktop", "process": 1607, "thread": 281473875712128, "threadName": "MainThread", "created": 1692498647.104249, "msg$s": "Starting keyvald", "id": "bd94070fe01c4569ba2ff976791b0cae"}
{"ctx": {"dongle_id": "", "version": "0.2.4", "dirty": true, "device": "todo"}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "process.py", "lineno": 145, "pathname": "/home/orangepi/flowpilot/selfdrive/manager/process.py", "module": "process", "funcName": "ensure_running", "host": "orangepi-desktop", "process": 1607, "thread": 281473875712128, "threadName": "MainThread", "created": 1692498647.1198726, "msg$s": "Starting flowpilot", "id": "c106698563f1467ebc0d6389c1c9954c"}
{"ctx": {"dongle_id": "", "version": "0.2.4", "dirty": true, "device": "todo"}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "process.py", "lineno": 145, "pathname": "/home/orangepi/flowpilot/selfdrive/manager/process.py", "module": "process", "funcName": "ensure_running", "host": "orangepi-desktop", "process": 1607, "thread": 281473875712128, "threadName": "MainThread", "created": 1692498647.1340754, "msg$s": "Starting pandad", "id": "4c97197ec2394a5a965d28ca6f5b270c"}
{"ctx": {"dongle_id": "", "version": "0.2.4", "dirty": true, "device": "todo"}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "process.py", "lineno": 145, "pathname": "/home/orangepi/flowpilot/selfdrive/manager/process.py", "module": "process", "funcName": "ensure_running", "host": "orangepi-desktop", "process": 1607, "thread": 281473875712128, "threadName": "MainThread", "created": 1692498647.1539357, "msg$s": "Starting deleter", "id": "cbda33a8b96f4146ae891eb76591ed69"}
{"ctx": {}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "pandad.py", "lineno": 124, "pathname": "/home/orangepi/flowpilot/selfdrive/boardd/pandad.py", "module": "pandad", "funcName": "main", "host": "orangepi-desktop", "process": 1631, "thread": 281473793755264, "threadName": "MainThread", "created": 1692498647.5176528, "msg": {"event$s": "pandad.flash_and_connect", "count$i": 1}, "id": "88fdc624747144b1b071473bed7d1ea6"}
{"ctx": {}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "pandad.py", "lineno": 177, "pathname": "/home/orangepi/flowpilot/selfdrive/boardd/pandad.py", "module": "pandad", "funcName": "run", "host": "orangepi-desktop", "process": 1631, "thread": 281473793755264, "threadName": "MainThread", "created": 1692498647.532628, "msg$s": "No pandas found, resetting internal panda", "id": "bfa75d4775b8400fbb83e36408ef695b"}
{"ctx": {}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "thermald.py", "lineno": 274, "pathname": "/home/orangepi/flowpilot/selfdrive/thermald/thermald.py", "module": "thermald", "funcName": "thermald_thread", "host": "orangepi-desktop", "process": 1625, "thread": 281473421472000, "threadName": "Thread-1", "created": 1692498648.3288007, "msg": {"event$s": "STATUS_PACKET", "count$i": 0, "pandaStates$a": [], "peripheralState": {"pandaType$s": "unknown", "voltage$i": 0, "current$i": 0, "fanSpeedRpm$i": 0}, "location": null, "deviceState": {"deviceState": {"usbOnline$b": false, "networkType$s": "none", "networkStrength$s": "unknown", "networkMetered$b": false, "lastAthenaPingTime$i": 0, "started$b": false, "startedMonoTime$i": 0, "freeSpacePercent$f": 57.02892303466797, "memoryUsagePercent$i": 15, "gpuUsagePercent$i": 0, "cpuUsagePercent$a": [48, 38, 32, 28, 68, 63, 64, 67], "batteryPercent$i": 0, "batteryCurrent$i": 0, "chargingError$b": false, "chargingDisabled$b": false, "offroadPowerUsageUwh$i": 0, "carBatteryCapacityUwh$i": 0, "powerDrawW$f": 0.0, "cpuTempC$a": [43.46099853515625, 43.46099853515625, 43.46099853515625, 43.46099853515625, 43.46099853515625, 43.46099853515625, 43.46099853515625, 43.46099853515625], "memoryTempC$f": 0.0, "ambientTempC$f": 0.0, "thermalStatus$s": "green", "fanSpeedPercentDesired$i": 0, "screenBrightnessPercent$i": 0}, "logMonoTime$i": 65946877306, "valid$b": true}}, "id": "2eaacb7dd7ab4720b432da1e082a9873"}
{"ctx": {}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "pandad.py", "lineno": 124, "pathname": "/home/orangepi/flowpilot/selfdrive/boardd/pandad.py", "module": "pandad", "funcName": "main", "host": "orangepi-desktop", "process": 1631, "thread": 281473793755264, "threadName": "MainThread", "created": 1692498649.5351937, "msg": {"event$s": "pandad.flash_and_connect", "count$i": 2}, "id": "2bacb85c3fe24a8cb13e8536ab017af2"}
{"ctx": {}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "pandad.py", "lineno": 177, "pathname": "/home/orangepi/flowpilot/selfdrive/boardd/pandad.py", "module": "pandad", "funcName": "run", "host": "orangepi-desktop", "process": 1631, "thread": 281473793755264, "threadName": "MainThread", "created": 1692498649.555111, "msg$s": "No pandas found, resetting internal panda", "id": "07c74c65983a4c369d22ace73cfc46ff"}
{"ctx": {}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "pandad.py", "lineno": 124, "pathname": "/home/orangepi/flowpilot/selfdrive/boardd/pandad.py", "module": "pandad", "funcName": "main", "host": "orangepi-desktop", "process": 1631, "thread": 281473793755264, "threadName": "MainThread", "created": 1692498651.5575106, "msg": {"event$s": "pandad.flash_and_connect", "count$i": 3}, "id": "e61558033c3c40e785192988d08235e3"}
{"ctx": {}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "pandad.py", "lineno": 177, "pathname": "/home/orangepi/flowpilot/selfdrive/boardd/pandad.py", "module": "pandad", "funcName": "run", "host": "orangepi-desktop", "process": 1631, "thread": 281473793755264, "threadName": "MainThread", "created": 1692498651.5689893, "msg$s": "No pandas found, resetting internal panda", "id": "4bca4b7b50d84d1191c5d54015d6888a"}
{"ctx": {}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "pandad.py", "lineno": 124, "pathname": "/home/orangepi/flowpilot/selfdrive/boardd/pandad.py", "module": "pandad", "funcName": "main", "host": "orangepi-desktop", "process": 1631, "thread": 281473793755264, "threadName": "MainThread", "created": 1692498653.5715878, "msg": {"event$s": "pandad.flash_and_connect", "count$i": 4}, "id": "8582c450758246349bcba7f08ae2e8af"}
{"ctx": {}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "pandad.py", "lineno": 177, "pathname": "/home/orangepi/flowpilot/selfdrive/boardd/pandad.py", "module": "pandad", "funcName": "run", "host": "orangepi-desktop", "process": 1631, "thread": 281473793755264, "threadName": "MainThread", "created": 1692498653.6100376, "msg$s": "No pandas found, resetting internal panda", "id": "69fe557cd7524a35acf1bdeea7557b88"}
{"ctx": {}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "pandad.py", "lineno": 124, "pathname": "/home/orangepi/flowpilot/selfdrive/boardd/pandad.py", "module": "pandad", "funcName": "main", "host": "orangepi-desktop", "process": 1631, "thread": 281473793755264, "threadName": "MainThread", "created": 1692498655.6128428, "msg": {"event$s": "pandad.flash_and_connect", "count$i": 5}, "id": "3a811db10b084e88a6815fbe8a000f9f"}
{"ctx": {}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "pandad.py", "lineno": 177, "pathname": "/home/orangepi/flowpilot/selfdrive/boardd/pandad.py", "module": "pandad", "funcName": "run", "host": "orangepi-desktop", "process": 1631, "thread": 281473793755264, "threadName": "MainThread", "created": 1692498655.6492631, "msg$s": "No pandas found, resetting internal panda", "id": "4c4c32067a754862b2a36a0be5e9ff92"}
{"ctx": {}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "pandad.py", "lineno": 124, "pathname": "/home/orangepi/flowpilot/selfdrive/boardd/pandad.py", "module": "pandad", "funcName": "main", "host": "orangepi-desktop", "process": 1631, "thread": 281473793755264, "threadName": "MainThread", "created": 1692498657.6517625, "msg": {"event$s": "pandad.flash_and_connect", "count$i": 6}, "id": "cf779aa47b914b7cb9ac02b9abfe7b47"}
{"ctx": {}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "pandad.py", "lineno": 177, "pathname": "/home/orangepi/flowpilot/selfdrive/boardd/pandad.py", "module": "pandad", "funcName": "run", "host": "orangepi-desktop", "process": 1631, "thread": 281473793755264, "threadName": "MainThread", "created": 1692498657.6877737, "msg$s": "No pandas found, resetting internal panda", "id": "295b4b06773c4f2faeaa0f9ef44f0b23"}
{"ctx": {}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "pandad.py", "lineno": 124, "pathname": "/home/orangepi/flowpilot/selfdrive/boardd/pandad.py", "module": "pandad", "funcName": "main", "host": "orangepi-desktop", "process": 1631, "thread": 281473793755264, "threadName": "MainThread", "created": 1692498659.6890976, "msg": {"event$s": "pandad.flash_and_connect", "count$i": 7}, "id": "a1009ea27c93465dbf4f8853f20894f7"}
{"ctx": {}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "pandad.py", "lineno": 177, "pathname": "/home/orangepi/flowpilot/selfdrive/boardd/pandad.py", "module": "pandad", "funcName": "run", "host": "orangepi-desktop", "process": 1631, "thread": 281473793755264, "threadName": "MainThread", "created": 1692498659.7287936, "msg$s": "1 panda(s) found, connecting - ['490033001551393239363136']", "id": "03ba9a95020845558c985e9be3ec092a"}
{"ctx": {}, "level": "WARNING", "levelnum": 30, "name": "swaglog", "filename": "pandad.py", "lineno": 149, "pathname": "/home/orangepi/flowpilot/selfdrive/boardd/pandad.py", "module": "pandad", "funcName": "main", "host": "orangepi-desktop", "process": 1631, "thread": 281473793755264, "threadName": "MainThread", "created": 1692498659.752396, "msg$s": "Panda 490033001551393239363136 connected, version: DEV-05295dc4-DEBUG, signature 8d555f6246c67b16, expected 37d5bc8182d9d154", "id": "7851b5fc8c164b578a11aa51f47d6dea"}
{"ctx": {}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "pandad.py", "lineno": 149, "pathname": "/home/orangepi/flowpilot/selfdrive/boardd/pandad.py", "module": "pandad", "funcName": "main", "host": "orangepi-desktop", "process": 1631, "thread": 281473793755264, "threadName": "MainThread", "created": 1692498659.7529402, "msg$s": "Panda firmware out of date, update required", "id": "07c036dc515c4131933e233835edf1dc"}
orangepi@orangepi-desktop:~/.flowdrive/log$ cat swaglog.0000000031
{"ctx": {"dongle_id": "", "version": "0.2.4", "dirty": true, "device": "todo"}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "process.py", "lineno": 145, "pathname": "/home/orangepi/flowpilot/selfdrive/manager/process.py", "module": "process", "funcName": "ensure_running", "host": "orangepi-desktop", "process": 2421, "thread": 281472948316288, "threadName": "MainThread", "created": 1692498926.386831, "msg$s": "Starting logmessaged", "id": "8fc8661f66e3449b92352ee9f0fb75ea"}
{"ctx": {"dongle_id": "", "version": "0.2.4", "dirty": true, "device": "todo"}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "process.py", "lineno": 145, "pathname": "/home/orangepi/flowpilot/selfdrive/manager/process.py", "module": "process", "funcName": "ensure_running", "host": "orangepi-desktop", "process": 2421, "thread": 281472948316288, "threadName": "MainThread", "created": 1692498926.3994732, "msg$s": "Starting thermald_", "id": "f9e9a9221021471c86dcf998d7b5b2d2"}
{"ctx": {"dongle_id": "", "version": "0.2.4", "dirty": true, "device": "todo"}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "process.py", "lineno": 145, "pathname": "/home/orangepi/flowpilot/selfdrive/manager/process.py", "module": "process", "funcName": "ensure_running", "host": "orangepi-desktop", "process": 2421, "thread": 281472948316288, "threadName": "MainThread", "created": 1692498926.4094567, "msg$s": "Starting statsd", "id": "b9c8516523654e3d9744a65e22b13171"}
{"ctx": {"dongle_id": "", "version": "0.2.4", "dirty": true, "device": "todo"}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "process.py", "lineno": 145, "pathname": "/home/orangepi/flowpilot/selfdrive/manager/process.py", "module": "process", "funcName": "ensure_running", "host": "orangepi-desktop", "process": 2421, "thread": 281472948316288, "threadName": "MainThread", "created": 1692498926.4157522, "msg$s": "Starting keyvald", "id": "6981065200df41e09f6b571753668927"}
{"ctx": {"dongle_id": "", "version": "0.2.4", "dirty": true, "device": "todo"}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "process.py", "lineno": 145, "pathname": "/home/orangepi/flowpilot/selfdrive/manager/process.py", "module": "process", "funcName": "ensure_running", "host": "orangepi-desktop", "process": 2421, "thread": 281472948316288, "threadName": "MainThread", "created": 1692498926.4226012, "msg$s": "Starting flowpilot", "id": "87abcb73cca64ca98cbd34004b5f08df"}
{"ctx": {"dongle_id": "", "version": "0.2.4", "dirty": true, "device": "todo"}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "process.py", "lineno": 145, "pathname": "/home/orangepi/flowpilot/selfdrive/manager/process.py", "module": "process", "funcName": "ensure_running", "host": "orangepi-desktop", "process": 2421, "thread": 281472948316288, "threadName": "MainThread", "created": 1692498926.4325879, "msg$s": "Starting pandad", "id": "9f6426768b314372b89fdc75e2b5e92b"}
{"ctx": {"dongle_id": "", "version": "0.2.4", "dirty": true, "device": "todo"}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "process.py", "lineno": 145, "pathname": "/home/orangepi/flowpilot/selfdrive/manager/process.py", "module": "process", "funcName": "ensure_running", "host": "orangepi-desktop", "process": 2421, "thread": 281472948316288, "threadName": "MainThread", "created": 1692498926.4447567, "msg$s": "Starting deleter", "id": "29031e2e18f94b4299e1f1c4c2c774eb"}
{"ctx": {}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "pandad.py", "lineno": 124, "pathname": "/home/orangepi/flowpilot/selfdrive/boardd/pandad.py", "module": "pandad", "funcName": "main", "host": "orangepi-desktop", "process": 2445, "thread": 281473380563072, "threadName": "MainThread", "created": 1692498926.7545907, "msg": {"event$s": "pandad.flash_and_connect", "count$i": 1}, "id": "62dc3401e0184036b6f1ce4ce261b56e"}
{"ctx": {}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "pandad.py", "lineno": 177, "pathname": "/home/orangepi/flowpilot/selfdrive/boardd/pandad.py", "module": "pandad", "funcName": "run", "host": "orangepi-desktop", "process": 2445, "thread": 281473380563072, "threadName": "MainThread", "created": 1692498926.7701826, "msg$s": "1 panda(s) found, connecting - ['490033001551393239363136']", "id": "cddce752e4bb4540900dc853d7b52300"}
{"ctx": {}, "level": "WARNING", "levelnum": 30, "name": "swaglog", "filename": "pandad.py", "lineno": 149, "pathname": "/home/orangepi/flowpilot/selfdrive/boardd/pandad.py", "module": "pandad", "funcName": "main", "host": "orangepi-desktop", "process": 2445, "thread": 281473380563072, "threadName": "MainThread", "created": 1692498926.7780344, "msg$s": "Panda 490033001551393239363136 connected, version: DEV-5685f204-DEBUG, signature 37d5bc8182d9d154, expected 37d5bc8182d9d154", "id": "e7689af3e5b947eaa3cb0ef95751faae"}
{"ctx": {}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "thermald.py", "lineno": 274, "pathname": "/home/orangepi/flowpilot/selfdrive/thermald/thermald.py", "module": "thermald", "funcName": "thermald_thread", "host": "orangepi-desktop", "process": 2439, "thread": 281473259401472, "threadName": "Thread-1", "created": 1692498927.326045, "msg": {"event$s": "STATUS_PACKET", "count$i": 0, "pandaStates$a": [{"ignitionLine": false, "controlsAllowed": false, "gasInterceptorDetected": false, "rxBufferOverflow": 0, "txBufferOverflow": 0, "gmlanSendErrs": 0, "pandaType": "unknown", "ignitionCan": false, "safetyModel": "silent", "faultStatus": "none", "powerSaveEnabled": false, "uptime": 0, "safetyRxInvalid": 0, "harnessStatus": "notConnected", "heartbeatLost": false, "alternativeExperience": 0, "safetyTxBlocked": 0, "interruptLoad": 0.0, "safetyParam": 0, "fanPower": 0, "safetyRxChecksInvalid": false}], "peripheralState": {"pandaType$s": "unknown", "voltage$i": 0, "current$i": 0, "fanSpeedRpm$i": 0}, "location": null, "deviceState": {"deviceState": {"usbOnline$b": false, "networkType$s": "none", "networkStrength$s": "unknown", "networkMetered$b": false, "lastAthenaPingTime$i": 0, "started$b": false, "startedMonoTime$i": 0, "freeSpacePercent$f": 57.02566909790039, "memoryUsagePercent$i": 23, "gpuUsagePercent$i": 0, "cpuUsagePercent$a": [58, 46, 49, 59, 83, 62, 63, 94], "batteryPercent$i": 0, "batteryCurrent$i": 0, "chargingError$b": false, "chargingDisabled$b": false, "offroadPowerUsageUwh$i": 0, "carBatteryCapacityUwh$i": 0, "powerDrawW$f": 0.0, "cpuTempC$a": [46.22999954223633, 46.22999954223633, 46.22999954223633, 46.22999954223633, 46.22999954223633, 46.22999954223633, 46.22999954223633, 46.22999954223633], "memoryTempC$f": 0.0, "ambientTempC$f": 0.0, "thermalStatus$s": "green", "fanSpeedPercentDesired$i": 0, "screenBrightnessPercent$i": 0}, "logMonoTime$i": 344938532005, "valid$b": true}}, "id": "c48de64f0d3246babc2d549bb5adc11f"}
orangepi@orangepi-desktop:~/.flowdrive/log$ cat swaglog.0000000032
{"ctx": {}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "pandad.py", "lineno": 124, "pathname": "/home/orangepi/flowpilot/selfdrive/boardd/pandad.py", "module": "pandad", "funcName": "main", "host": "orangepi-desktop", "process": 2976, "thread": 281473852029056, "threadName": "MainThread", "created": 1692499235.1208868, "msg": {"event$s": "pandad.flash_and_connect", "count$i": 1}, "id": "f25d08b22e2e4b3aaf984dc3aa19885d"}
{"ctx": {}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "pandad.py", "lineno": 177, "pathname": "/home/orangepi/flowpilot/selfdrive/boardd/pandad.py", "module": "pandad", "funcName": "run", "host": "orangepi-desktop", "process": 2976, "thread": 281473852029056, "threadName": "MainThread", "created": 1692499235.1474442, "msg$s": "1 panda(s) found, connecting - ['490033001551393239363136']", "id": "48f090660c17458dbf881028923fcff1"}
{"ctx": {}, "level": "WARNING", "levelnum": 30, "name": "swaglog", "filename": "pandad.py", "lineno": 149, "pathname": "/home/orangepi/flowpilot/selfdrive/boardd/pandad.py", "module": "pandad", "funcName": "main", "host": "orangepi-desktop", "process": 2976, "thread": 281473852029056, "threadName": "MainThread", "created": 1692499235.1697516, "msg$s": "Panda 490033001551393239363136 connected, version: DEV-5685f204-DEBUG, signature 37d5bc8182d9d154, expected 37d5bc8182d9d154", "id": "c42b065908e549ce912bb376c6d4550d"}
{"ctx": {"dongle_id": "", "version": "0.2.4", "dirty": true, "device": "todo"}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "process.py", "lineno": 145, "pathname": "/home/orangepi/flowpilot/selfdrive/manager/process.py", "module": "process", "funcName": "ensure_running", "host": "orangepi-desktop", "process": 2954, "thread": 281473510340736, "threadName": "MainThread", "created": 1692499234.8925698, "msg$s": "Starting logmessaged", "id": "c9346a1b21e3498eb2b698af4d79b602"}
{"ctx": {"dongle_id": "", "version": "0.2.4", "dirty": true, "device": "todo"}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "process.py", "lineno": 145, "pathname": "/home/orangepi/flowpilot/selfdrive/manager/process.py", "module": "process", "funcName": "ensure_running", "host": "orangepi-desktop", "process": 2954, "thread": 281473510340736, "threadName": "MainThread", "created": 1692499234.9012694, "msg$s": "Starting thermald_", "id": "ef959d28baa84e808c81e9d9c6371d98"}
{"ctx": {"dongle_id": "", "version": "0.2.4", "dirty": true, "device": "todo"}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "process.py", "lineno": 145, "pathname": "/home/orangepi/flowpilot/selfdrive/manager/process.py", "module": "process", "funcName": "ensure_running", "host": "orangepi-desktop", "process": 2954, "thread": 281473510340736, "threadName": "MainThread", "created": 1692499234.9082572, "msg$s": "Starting statsd", "id": "8972c3d882894674842a4fc5ce59e193"}
{"ctx": {"dongle_id": "", "version": "0.2.4", "dirty": true, "device": "todo"}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "process.py", "lineno": 145, "pathname": "/home/orangepi/flowpilot/selfdrive/manager/process.py", "module": "process", "funcName": "ensure_running", "host": "orangepi-desktop", "process": 2954, "thread": 281473510340736, "threadName": "MainThread", "created": 1692499234.9119365, "msg$s": "Starting keyvald", "id": "931be412206945acaa1e7787b2563f8f"}
{"ctx": {"dongle_id": "", "version": "0.2.4", "dirty": true, "device": "todo"}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "process.py", "lineno": 145, "pathname": "/home/orangepi/flowpilot/selfdrive/manager/process.py", "module": "process", "funcName": "ensure_running", "host": "orangepi-desktop", "process": 2954, "thread": 281473510340736, "threadName": "MainThread", "created": 1692499234.9160817, "msg$s": "Starting flowpilot", "id": "28f6e2f5e39d492aa012a46d25b6c4fa"}
{"ctx": {"dongle_id": "", "version": "0.2.4", "dirty": true, "device": "todo"}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "process.py", "lineno": 145, "pathname": "/home/orangepi/flowpilot/selfdrive/manager/process.py", "module": "process", "funcName": "ensure_running", "host": "orangepi-desktop", "process": 2954, "thread": 281473510340736, "threadName": "MainThread", "created": 1692499234.923, "msg$s": "Starting pandad", "id": "8dd86f04b6fb45baa5e70c442fb40ce8"}
{"ctx": {"dongle_id": "", "version": "0.2.4", "dirty": true, "device": "todo"}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "process.py", "lineno": 145, "pathname": "/home/orangepi/flowpilot/selfdrive/manager/process.py", "module": "process", "funcName": "ensure_running", "host": "orangepi-desktop", "process": 2954, "thread": 281473510340736, "threadName": "MainThread", "created": 1692499234.9279406, "msg$s": "Starting deleter", "id": "7a895df353ea475c9f24991a296c945d"}
{"ctx": {}, "level": "INFO", "levelnum": 20, "name": "swaglog", "filename": "thermald.py", "lineno": 274, "pathname": "/home/orangepi/flowpilot/selfdrive/thermald/thermald.py", "module": "thermald", "funcName": "thermald_thread", "host": "orangepi-desktop", "process": 2972, "thread": 281472773058816, "threadName": "Thread-1", "created": 1692499235.7239454, "msg": {"event$s": "STATUS_PACKET", "count$i": 0, "pandaStates$a": [{"ignitionLine": false, "controlsAllowed": false, "gasInterceptorDetected": false, "rxBufferOverflow": 0, "txBufferOverflow": 0, "gmlanSendErrs": 0, "pandaType": "unknown", "ignitionCan": false, "safetyModel": "silent", "faultStatus": "none", "powerSaveEnabled": false, "uptime": 0, "safetyRxInvalid": 0, "harnessStatus": "notConnected", "heartbeatLost": false, "alternativeExperience": 0, "safetyTxBlocked": 0, "interruptLoad": 0.0, "safetyParam": 0, "fanPower": 0, "safetyRxChecksInvalid": false}], "peripheralState": {"pandaType$s": "unknown", "voltage$i": 0, "current$i": 0, "fanSpeedRpm$i": 0}, "location": null, "deviceState": {"deviceState": {"usbOnline$b": false, "networkType$s": "none", "networkStrength$s": "unknown", "networkMetered$b": false, "lastAthenaPingTime$i": 0, "started$b": false, "startedMonoTime$i": 0, "freeSpacePercent$f": 57.02555847167969, "memoryUsagePercent$i": 24, "gpuUsagePercent$i": 0, "cpuUsagePercent$a": [35, 58, 36, 43, 91, 70, 57, 62], "batteryPercent$i": 0, "batteryCurrent$i": 0, "chargingError$b": false, "chargingDisabled$b": false, "offroadPowerUsageUwh$i": 0, "carBatteryCapacityUwh$i": 0, "powerDrawW$f": 0.0, "cpuTempC$a": [48.07600021362305, 48.07600021362305, 48.07600021362305, 48.07600021362305, 48.07600021362305, 48.07600021362305, 48.07600021362305, 48.07600021362305], "memoryTempC$f": 0.0, "ambientTempC$f": 0.0, "thermalStatus$s": "green", "fanSpeedPercentDesired$i": 0, "screenBrightnessPercent$i": 0}, "logMonoTime$i": 653332477783, "valid$b": true}}, "id": "3740e92c092b4e74943f380e7e0146c5"}

Unable to openwebcam to trace the chessboard

After I launch ./flow-pilot.sh, I'm asked to point my camera and move it around a chessboard.
I'm using an Ubuntu x86 system with a logitech webcam.
When I reach that stage, flow_pilot does not start my webcam.

ModuleNotFoundError: No module named 'common.timeout'

Describe the bug
An attempt to run the file "selfdrive/loggerd/tests/test_loggerd.py".
Internally, test_loggerd depends on common.timeout.

No module named "timeout" neither in /flowpilot/common nor in /flowpilot/common/__init__.py

To Reproduce
python selfdrive/loggerd/tests/test_loggerd.py

Expected behavior
Run the unit tests written for loggerd.

Platform Details
Desktop:

  • linux distro
  • using gpu / cpu ?

Android :

  • android version: for eg, 12
  • manufacturer: for eg, Redmi
  • model: for eg, Note 9 pro
  • rooted ? :
  • using root or non-root env ?

Additional context
Add any other context about the problem here.

Launch script builds desktop app on Termux

flowinit checks what device its running on, and acts accordingly. Though the device is Android is checked by ANDROID_ROOT flag.
But in the doc, we add ANDROID_DATA flag.

This causes to script to run gradle on smartphone.

Cereal not building in Ubuntu 22.04

Describe the bug

In file included from /usr/include/capnp/common.h:29:
/usr/include/kj/string.h:24:10: fatal error: 'initializer_list' file not found
#include <initializer_list>
         ^~~~~~~~~~~~~~~~~~
1 error generated.
scons: *** [gen/cpp/car.capnp.os] Error 1
scons: building terminated because of errors.
โžœ  flowpilot git:(master) โœ— gcc --version
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

To Reproduce
Run scons in root directory.

Expected behavior
Scons build succesfull.

Platform Details
Desktop:

  • Ubuntu 22.04
  • using GPU

Additional context
flowpilot currently works on ubuntu20.04, we should upgrade the requirements to make it compatible with more devices.

app login issue

Describe the bug
The login page gets stuck after go from register page. Uable to enter password. No response when click on screen any where, even on Back or Login button.

Expected behavior
Run without login maybe.

Platform Details
Android :

  • android version: Harmony Os
  • manufacturer: Huawei
  • model: Honor V20.
  • rooted ? : Not
  • using root or non-root env ? Non-root.

Error: sentry-sdk 1.10.1 has requirement that is not met during new install

Describe the bug
During install on Android 13 with root, after running step 9: install-flowpilot-android
"Error: sentry-sdk 1.10.1 has requirement urllib3>=1.26.11; python_version>=3.6, but you'll have urllib3 1.25.8 which is incompatible"

To Reproduce
uninstall termux & FP, and then re-install

Expected behavior
No error

Platform Details
Android :

  • android version: 13
  • manufacturer: Google
  • model: Pixel 6 pro
  • rooted ? : Yes
  • using root or non-root env, root environment

Additional context
Attached screen shot:
image

SSL Error Unable to Properly Install Python3.9 Environment

Describe the bug
When running sudo add-apt-repository ppa:deadsnakes/ppa using install-flowpilot-android in the virtual machine I always get an
ssl.sslerror malloc failure ssl.c:3093
Then when the script trys to install python3.9 using apt it fails.

My workaround:
Reinstalled openssl,
Readded certificates,
Connected to WiFi with a basic DNS and default network settings,
Successfully installed python3.9 on my own by compiling from downloaded source using GCC and make with SSL and made it default.
When pip installing all the necessary python requirements got more SSLs errors.
pip install error: https://stackoverflow.com/questions/25981703/pip-install-fails-with-connection-error-ssl-certificate-verify-failed-certi

Tried fixing pip but nothing worked.

To Reproduce
Run installation instructions on an older Android device. Execute sudo install-flowpilot-android

Expected behavior

Flowpilot successfully installed.

Platform Details

Android :

  • android version: 7 (technically unsupported)
  • manufacturer: Samsung
  • model: Galaxy J7
  • rooted ?: No
  • using root or non-root env ? non-root env

Additional context
I have a couple questions? Is the SSL error due an improperly configured Ubuntu VM or is it due to the version of Android? Does the flow-pilot apk totally reject unsupported versions of Android? The apk kept crashing after installing but the environment was not running properly due to the error above.

scons compil faild : clang: error: linker command failed with exit code 1

I am study Ai.I try to run this project simulation in my computer. for this , I reinstall ** ubuntu amd 20.04.** on my laptop.
I flowed this strument under Installing on Desktop.when I run scons command ,it show this error:

_clang++ -o selfdrive/boardd/boardd -Wl,-rpath=/root/flowpilot/libs/acados/x86_64/lib -Wl,-rpath=/usr/local/lib -Wl,-rpath=/root/flowpilot/cereal -Wl,-rpath=/root/flowpilot/common selfdrive/boardd/main.o selfdrive/boardd/boardd.o selfdrive/boardd/panda.o selfdrive/boardd/pigeon.o -Llibs/acados/x86_64/lib -Lcereal -Llibs -Lopendbc/can -Lcommon -Lselfdrive/boardd -Lthird_party -lusb-1.0 common/libcommon.a -ljson11 -llmdb cereal/libcereal.a cereal/libmessaging.a -lpthread -lzmq -lcapnp -lkj
/usr/bin/ld: selfdrive/boardd/boardd.o: in function `safety_setter_thread(std::vector<Panda*, std::allocator<Panda*> >)':
/root/flowpilot/selfdrive/boardd/boardd.cc:163: undefined reference to `capnp::FlatArrayMessageReader::FlatArrayMessageReader(kj::ArrayPtr<capnp::word const>, capnp::ReaderOptions)'
/usr/bin/ld: selfdrive/boardd/boardd.o: in function `can_send_thread(std::vector<Panda*, std::allocator<Panda*> >, bool)':
/root/flowpilot/selfdrive/boardd/boardd.cc:255: undefined reference to `capnp::FlatArrayMessageReader::FlatArrayMessageReader(kj::ArrayPtr<capnp::word const>, capnp::ReaderOptions)'
/usr/bin/ld: cereal/libmessaging.a(socketmaster.os): in function `SubMaster':
/root/flowpilot/cereal/messaging/socketmaster.cc:77: undefined reference to `capnp::FlatArrayMessageReader::FlatArrayMessageReader(kj::ArrayPtr<capnp::word const>, capnp::ReaderOptions)'
/usr/bin/ld: cereal/libmessaging.a(socketmaster.os): in function `SubMaster::update(int)':
/root/flowpilot/cereal/messaging/socketmaster.cc:108: undefined reference to `capnp::FlatArrayMessageReader::FlatArrayMessageReader(kj::ArrayPtr<capnp::word const>, capnp::ReaderOptions)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
scons: *** [selfdrive/boardd/boardd] Error 1
scons: building terminated because of errors._

this error spend my hole two night,can enyone help me.thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.