Taking picture with 45 deg rolll
454 0 2023-5-16
Uploading and Loding Picture ...(0/1)
o(^-^)o
PaulKofi
lvl.4
Mexico
Offline

Hello all,

I am trying to use the possibility to use roll inclination to take pictures with Mavic 3E at -90 pitch and 45 deg roll for calibration purposes....

So I set up a waypoint task with 4 WPs as in following scrreen capture. At start point I perform GimbalRotate and focus at infinity using following syntax:
        <wpml:actionGroup>
          <wpml:actionGroupId>0</wpml:actionGroupId>
          <wpml:actionGroupStartIndex>0</wpml:actionGroupStartIndex>
          <wpml:actionGroupEndIndex>0</wpml:actionGroupEndIndex>
          <wpml:actionGroupMode>sequence</wpml:actionGroupMode>
          <wpml:actionTrigger>
            <wpml:actionTriggerType>reachPoint</wpml:actionTriggerType>
          </wpml:actionTrigger>
          <wpml:action>
            <wpml:actionId>0</wpml:actionId>
            <wpml:actionActuatorFunc>gimbalRotate</wpml:actionActuatorFunc>
            <wpml:actionActuatorFuncParam>
              <wpml:gimbalHeadingYawBase>aircraft</wpml:gimbalHeadingYawBase>
              <wpml:gimbalRotateMode>absoluteAngle</wpml:gimbalRotateMode>
              <wpml:gimbalPitchRotateEnable>1</wpml:gimbalPitchRotateEnable>
              <wpml:gimbalPitchRotateAngle>-90</wpml:gimbalPitchRotateAngle>
              <wpml:gimbalRollRotateEnable>1</wpml:gimbalRollRotateEnable>
              <wpml:gimbalRollRotateAngle>45</wpml:gimbalRollRotateAngle>
              <wpml:gimbalYawRotateEnable>0</wpml:gimbalYawRotateEnable>
              <wpml:gimbalYawRotateAngle>0</wpml:gimbalYawRotateAngle>
              <wpml:gimbalRotateTimeEnable>0</wpml:gimbalRotateTimeEnable>
              <wpml:gimbalRotateTime>10</wpml:gimbalRotateTime>
              <wpml:payloadPositionIndex>0</wpml:payloadPositionIndex>
            </wpml:actionActuatorFuncParam>
          </wpml:action>
          <wpml:action>
            <wpml:actionId>1</wpml:actionId>
            <wpml:actionActuatorFunc>focus</wpml:actionActuatorFunc>
            <wpml:actionActuatorFuncParam>
              <wpml:focusX>0.25</wpml:focusX>
              <wpml:focusY>0.25</wpml:focusY>
              <wpml:focusRegionWidth>0.5</wpml:focusRegionWidth>
              <wpml:focusRegionHeight>0.5</wpml:focusRegionHeight>
              <wpml:isPointFocus>0</wpml:isPointFocus>
              <wpml:isInfiniteFocus>1</wpml:isInfiniteFocus>
              <wpml:payloadPositionIndex>0</wpml:payloadPositionIndex>
            </wpml:actionActuatorFuncParam>
          </wpml:action>
        </wpml:actionGroup>

Then at next WP, I set up interval photo capture.... and fly to complete.

Now to have the Gimbal to -90 pitch and 45 roll maintained what function do I need to set up at each waypoint? and what type of trigger?
At end of mission, how do we reset Gimbal rotate to pitch 0 and roll 0?

Thanks in advance for any help as I am not very familiar with intricacies of wpml ....
Update: I tried flying the following plan (kmz plan zipped is attached) and at first WP (start) It did rotate gimble roll to 45 deg. However at next WP, starting the distance interval shooting, the gimbal was reset at -90 pitch  and 0 roll. First image has intermediate values as the gimbal was rotating during this take...

Hope to get some help on this



Screenshot_20230516-072707.jpg

Roll.zip

2.89 KB, Down times: 19

2023-5-16
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules