Summary
This comment summarizes several conversations about how to use JSON data structures to pass information to the photogrammetry_capture_runner.py and read_posn.py.
Whatever program runs the robot to get the orthogonal images to estimate the size, position, and orientation should output a JSON file with that information. This file should also be where the user inputs their desired path plan and any parameters.
Because both of the aforementioned files require the same information (about both part and plan) this would ensure that this information is consistent between the two.
For testing it'll be easiest to manually create or edit these JSON files so the photogrammetry_capture_runner.py and read_posn.py scripts will take a desired JSON as input and eventually, we will develop a parameter server so the user may specify a specific JSON in ROS.
In actual deployment, however, the users should not need to interact with the JSON file so the system will need to save and load this information between the programs.
Actionable Items
Summary
This comment summarizes several conversations about how to use JSON data structures to pass information to the
photogrammetry_capture_runner.pyandread_posn.py.Whatever program runs the robot to get the orthogonal images to estimate the size, position, and orientation should output a JSON file with that information. This file should also be where the user inputs their desired path plan and any parameters.
Because both of the aforementioned files require the same information (about both part and plan) this would ensure that this information is consistent between the two.
For testing it'll be easiest to manually create or edit these JSON files so the
photogrammetry_capture_runner.pyandread_posn.pyscripts will take a desired JSON as input and eventually, we will develop a parameter server so the user may specify a specific JSON in ROS.In actual deployment, however, the users should not need to interact with the JSON file so the system will need to save and load this information between the programs.
Actionable Items
photogrammetry_capture_runner.pyto take a user inputread_posn.pyto take a user inputpath_plans.py)