DroidPlanner / Tower

Ground Control Station for Android Devices
https://play.google.com/store/apps/details?id=org.droidplanner.android
Other
622 stars 555 forks source link

Add an option for custom camera setup #1420

Closed nhadrian closed 9 years ago

nhadrian commented 9 years ago

Hi,

if it is possible, please add the possibility of configuring custom camera setups for surveys. For example I'm using Canon IXUS100 camera either for mapping and another piece modified for NDVI. I know any details about them (sensor dimensions, resolution, focal, etc…)

Thanks in advance.

Regards Adrian

wolkstein commented 9 years ago

hi, i am not one of the dev team. but custom camera profiles are possible. you can create an own camera.xml file and must place them into the droidplanner or tower folder.

for tower this is: /storage/emulated/0/Tower/CameraInfo and for older droidplanner2 this is: /storage/emulated/0/DroidPlanner/CameraInfo

example file for gh4 with 14mm focal length and 16:9:

<?xml version="1.0" encoding="utf-8"?>
<cameraInfo>
  <Name>GH4_14mm_16:9</Name>
  <SensorWidth>17.3</SensorWidth>
  <SensorHeight>9.73125</SensorHeight>
  <SensorResolution>11.9</SensorResolution>
  <FocalLength>14</FocalLength>
</cameraInfo>

you can name the file as you like. for example Canon_IXUS100.xml . the file extension "xml" is needed.

after this the new camera profile is listed on survey or structure scanner widget.

nhadrian commented 9 years ago

Hi,

great, thanks! I'll follow this way.

Regards Adrian

PS.: maybe issue could be closed then?

m4gr3d commented 9 years ago

@wolkstein thanks for the response. Quick clarification though, as highlighted in https://github.com/DroidPlanner/3DRServices/issues/61, the path to place the custom files for Tower should be /sdcard/3DRServices/CameraInfo/

ghost commented 9 years ago

This path does not exist on my Nexus 7. No folder under sdcard named 3DRServices.

m4gr3d commented 9 years ago

@GeVaSta that directory is not created automatically. You can created manually and add the needed files there, and restart Tower and 3DR Services. Once restarted, the app will detect the directory you created, and the data inside.

ghost commented 9 years ago

Right. I'll give it a try. Thanks.

Jubalr commented 9 years ago

@GeVaSta did you ever get this to work? I have the Nexus 7 as well and created the folders as shown, but camera still does not show up.

ghost commented 9 years ago

@Jubalr Not yet because I did not really try it.

ramirezmaps commented 8 years ago

i need help to install new camera in tower, procedure in not work!!