bluerobotics / BlueOS

The open source platform for ROV, USV, robotic system operation, development, and expansion.
https://blueos.cloud/docs/
Other
142 stars 72 forks source link

core: ArduPilot-Manager: Trying to upload firmware twice in a row breaks the interface. #633

Closed Williangalvani closed 2 years ago

Williangalvani commented 2 years ago

image

rafaellehmkuhl commented 2 years ago

Hey will, could you try it again and post the result from the ardupilot-manager terminal?

Williangalvani commented 2 years ago

steps: build an ardusub binary, flash it. change the code and build it again. try to flash the new firmware from the interface.

rafaellehmkuhl commented 2 years ago

From what we discussed on the call, there's no request on the backend, so this is probably the browser looking at the new file and saying to the file:

"ARE YOU TRYING TO MAKE ME THINK YOURE SOMEONE ELSE? I ALREADY KNOW ardusub AND IS NOT YOU!"

Probably some protection against injection that we need to bypass.

rafaellehmkuhl commented 2 years ago

Apparently it's a chromium bug.

More info here.