Open sfregosi opened 3 months ago
@sfregosi I have Google Earth on my computer now. I see the Windward Glider_revised_20220509.kml file in the folder, so I assume that's what I should use for this data (let me know if you want me to make a path up just to try the whole process). But after initializing agate and typing in the 'makeTargetsFile' command, I get the error message: "Not enough input arguments" and "Error in makeTargets File (line 55) if isempty(kmlFile). Maybe this is because it's still having trouble with the CONFIG thing?
I do want you to try making your own path, but you can do that separately. It wouldn't affect the error message you are getting here.
If you have something called CONFIG
in your Workspace then that should not be the problem giving you the error you are getting.
Can you take a screenshot of what you are typing in before getting that error? The error says there are not enough input arguments defined in the call to makeTargetsFile
which should be the four items in the parentheses after typing out the call. Example inputs for the four arguments are in the code block in this section or you can always see what they need to be by typing doc makeTargetsFile
into the Command Window. That will open up a little pop up that describes the input arguments needed. Let me know what ones you are using and then we can figure out what is missing.
@sfregosi I was just typing in the makeTargetsFile as a lone command. When I copied the whole code for the prefix-based method, I was able to generate a tracks_ file.
Excellent! Yes, with MATLAB you typically have to type the function and then any input arguments in the parentheses (exception to this is Triton!) So the example code blocks in each section should provide example code with the arguments included, but if there are pieces missing there, then we want to know and fix that.
Using configuration file from test data set, try to work through all the steps of the Mission planning page/example workflow: https://sfregosi.github.io/agate/mission-planning.html
@megwood2012