I am trying to get a model running in standalone mode on an oak-1 POE.
When following these instructions: https://docs.luxonis.com/software-v3/depthai/tutorials/standalone/
I get this error:
RuntimeError: Device not in UNBOOTED, BOOTLOADER or FLASH_BOOTED state
The examples linked from the instructions are for depthai v2. I've already got something working in v3, so would like to use that for standalone mode if possible.
I've tried adapting the mjpeg-streaming example. I've modified it to do this and got the above error:
I am happy to create a DAP and upload with the device manager, or flash directly. I can't get either to work.
Has anyone got anything to work on the OAK-1 POE in standalone mode with depthai v3? Or any of the other rvc2 devices?
This is the modification I've made to the mjpeg streaming example:
if args.standalone:
pipeline = dai.Pipeline()
# (f, bl) = dai.DeviceBootloader.getFirstAvailableDevice()
# print(f"status: {bl.status}")
# print(f"state: {bl.state}")
bootloader = dai.DeviceBootloader(dai.DeviceInfo("192.168.1.14"), allowFlashingBootloader=True)
print(bootloader)
bootloader.saveDepthaiApplicationPackage(pipeline=pipeline, path=Path("./foo.dap"))
else:
device = dai.Device(dai.DeviceInfo(args.device)) if args.device else dai.Device()
with dai.Pipeline(device) as pipeline:
init_pipeline(pipeline)
pipeline.run()