Update image_uploader docs
parent
2603d087ce
commit
2f7f8057d1
|
@ -45,7 +45,10 @@ defmodule FarmbotExt.API.ImageUploader do
|
|||
|
||||
def handle_continue([], state), do: {:noreply, state, @checkup_time_ms}
|
||||
|
||||
# TODO(Connor) the meta here is likely inaccurate.
|
||||
# the meta here is likely inaccurate here because of
|
||||
# pulling the location data from the cache instead of from the firmware
|
||||
# directly. It's close enough and getting data from the firmware directly
|
||||
# would require more work than it is worth
|
||||
defp try_upload(image_filename) do
|
||||
%{x: x, y: y, z: z} = BotState.fetch().location_data.position
|
||||
meta = %{x: x, y: y, z: z, name: Path.rootname(image_filename)}
|
||||
|
|
Loading…
Reference in New Issue