cmusatyalab / steeleagle

Automated drone flights for visual inspection tasks
GNU General Public License v2.0
5 stars 4 forks source link

Flight Scripts don't execute when they are not named classes.dex #6

Closed teiszler closed 2 years ago

teiszler commented 2 years ago

We attempted to run to different flight plans at once, so we named one harpy.dex and the other buzzard.dex by using the -o option in hermes. However, when we selected the file in the commander, the log said the file was uploaded, but the drone never took off.

teiszler commented 2 years ago

It looks like this is actually a hermes issue. -o changes the output path of the .java file that is compiled with javac and not the .dex file that is built. So we were actually sending Java code instead of a dex artifact. We need to fix -o to rename the classes.dex file that is created by java2dex.sh instead of changing the intermediate MS.java file.