Adding GoPro® Camera Profiles to Tower & Mission Planner

Posted on

We sell cameras for surveying, namely GoPro® HERO® and our MAPIR line. Neither of these (modified) cameras are listed as a camera in the drop-down of Mission Planner or Tower, so in order to calculate the overlap during a survey mission the program needs to know what camera you’re using. Here’s how to add a custom camera depending on which program you’re using and what lens:

 

Mission Planner:

  1. Find your Mission Planner install folder: C:\Program Files (x86)\Mission Planner
  2. Locate file named “cameras.xml” and open in text editor (Notepad)
  3. Add below text before/after any of the <Camera></Camera> sections

GoPro® + 3.37mm Lens:

<Camera>
<name>GoPro 3.37mm 12MP</name>
<flen>3.37</flen>
<imgh>3000</imgh>
<imgw>4000</imgw>
<senh>4.686</senh>
<senw>6.284</senw>
</Camera>

GoPro® + 3.97mm Lens:

<Camera>
<name>GoPro 3.97mm 12MP</name>
<flen>3.97</flen>
<imgh>3000</imgh>
<imgw>4000</imgw>
<senh>4.686</senh>
<senw>6.284</senw>
</Camera>

GoPro® + 4.35mm Lens:

<Camera>
<name>GoPro 4.35mm 12MP</name>
<flen>4.35</flen>
<imgh>3000</imgh>
<imgw>4000</imgw>
<senh>4.686</senh>
<senw>6.284</senw>
</Camera>

GoPro® + 5.40mm Lens:

<Camera>
<name>GoPro 5.4mm 12MP</name>
<flen>5.4</flen>
<imgh>3000</imgh>
<imgw>4000</imgw>
<senh>4.686</senh>
<senw>6.284</senw>
</Camera>

GoPro® + 7.2mm Lens:

<Camera>
<name>GoPro 7.2mm 12MP</name>
<flen>7.2</flen>
<imgh>3000</imgh>
<imgw>4000</imgw>
<senh>4.686</senh>
<senw>6.284</senw>
</Camera>

GoPro® + 8.25mm Lens:

<Camera>
<name>GoPro 8.25mm 12MP</name>
<flen>8.25</flen>
<imgh>3000</imgh>
<imgw>4000</imgw>
<senh>4.686</senh>
<senw>6.284</senw>
</Camera>

 

Tower:

Lens Profiles:

GoPro® HERO® 4/3+/3 - 3.37mm Lens

GoPro® HERO® 4/3+/3 - 3.97mm Lens

GoPro® HERO® 4/3+/3 - 4.35mm Lens

GoPro® HERO® 4/3+/3 - 5.40mm Lens

GoPro® HERO® 4/3+/3 - 8.25mm Lens

GoPro® HERO® 4/3+/3 - 7.20mm Lens

 

Tower Instructions:

  1. Using a file browser application (such as Astro) create a new folder on your Android device at same level as Tower: /storage/emulated/0/3DRServices/CameraInfo/ or /sdcard/3DRServices/CameraInfo/
  2. Download each XML above per camera setup and save them in the CameraInfo folder, or open text editor (Notepad), copy text below exactly, save as something descriptive such as “GoPro_Hero_3.97mm_12MP.xml” making sure extension is “.xml”.
  3. Restart Tower and 3DR Services app.

    Here is the text to put into the xml documents:

    GoPro® + 3.37mm Lens:

    <cameraInfo>
    <Name>GoPro 3.37mm 12MP</Name>
    <SensorWidth>6.284</SensorWidth>
    <SensorHeight>4.686</SensorHeight>
    <SensorResolution>12</SensorResolution>
    <FocalLength>3.37</FocalLength>
    </cameraInfo>

    GoPro® + 3.97mm Lens:

    <cameraInfo>
    <Name>GoPro 3.97mm 12MP</Name>
    <SensorWidth>6.284</SensorWidth>
    <SensorHeight>4.686</SensorHeight>
    <SensorResolution>12</SensorResolution>
    <FocalLength>3.97</FocalLength>
    </cameraInfo>

    GoPro® + 4.35mm Lens:

    <cameraInfo>
    <Name>GoPro 4.3mm 12MP</Name>
    <SensorWidth>6.284</SensorWidth>
    <SensorHeight>4.686</SensorHeight>
    <SensorResolution>12</SensorResolution>
    <FocalLength>4.35</FocalLength>
    </cameraInfo>

    GoPro® + 5.4mm Lens:

    <cameraInfo>
    <Name>GoPro 5.4mm 12MP</Name>
    <SensorWidth>6.284</SensorWidth>
    <SensorHeight>4.686</SensorHeight>
    <SensorResolution>12</SensorResolution>
    <FocalLength>5.4</FocalLength>
    </cameraInfo>

    GoPro® + 7.2mm Lens:

    <cameraInfo>
    <Name>GoPro 7.2mm 12MP</Name>
    <SensorWidth>6.284</SensorWidth>
    <SensorHeight>4.686</SensorHeight>
    <SensorResolution>12</SensorResolution>
    <FocalLength>7.2</FocalLength>
    </cameraInfo>

    GoPro® + 8.25mm Lens:

    <cameraInfo>
    <Name>GoPro 8.25mm 12MP</Name>
    <SensorWidth>6.284</SensorWidth>
    <SensorHeight>4.686</SensorHeight>
    <SensorResolution>12</SensorResolution>
    <FocalLength>8.25</FocalLength>
    </cameraInfo>

     

    0 comments

    Leave a comment

    All blog comments are checked prior to publishing

    Signup for Awesome

    Enter your email address for stock alerts, discounts, promotions and more!

    SEARCH THIS STORE