QUB-ASL / bzzz

Quadcopter with ESP32 and RaspberryPi
MIT License
7 stars 0 forks source link

Save EVO TOF sensor data when flying #188

Closed Yuanbwcx closed 4 months ago

Yuanbwcx commented 5 months ago

Describe the solution you'd like

Be able to save Evo TOF data to check if the sensor work while flying

alphaville commented 4 months ago

@Yuanbwcx, apart from saving time-of-flight data while flying (which we should do), we also need to use the new sensor for altitude control. Essentially we need to replace the old sensor with the new one. We have implemented an interface that allows us to take measurements from the sensor and creates a log file automatically, so we can now use it in the main loop of the quadcopter (in main.py). @Yuanbwcx, will you be taking care of this?

jamie-54 commented 4 months ago

@alphaville @Yuanbwcx I think this issue was just to check that the EVO time of flight sensor works while flying. This has been tested and works. I can push the branch and make a PR but I'm not sure if it will be worth merging as it is only a few lines of code that'll need changed anyway?

Maybe we should make a new issue outlining what @alphaville has mentioned above?

Yuanbwcx commented 4 months ago

@alphaville Yes, sir I will take care of it. Are we gonna replace the old sensor or use both at the same time?

alphaville commented 4 months ago

@Yuanbwcx as a first priority I would simply replace the old sensor with the new one.

alphaville commented 4 months ago

This is being addressed in #194

jamie-54 commented 4 months ago

Done