IntelligentHotPointMission Implementation
Uploading and Loding Picture ...(0/1)
o(^-^)o
djiuser_aV3vRYOsXVcF
lvl.1

Nigeria
Offline

Hello,It quite clear how to implement the hotpoint mission, but I dont seem to get a glimpse on how to get and also set
the rectangle that help Identify the Target before starting the mission in the intelligent HotPoint Mission.
I was thinking of using the method used in the tape and fly, do you think this will work? or and may Mlkit object detection



what other way do you
think we can make use of.

Regards
Abdullahi
2022-2-2
Use props
Mats Bohlinsson
Second Officer
Flight distance : 1838077 ft
  • >>>
Sweden
Offline

> how to get and also set the rectangle that help Identify the Target

You don't.
You give it the lat/lon in the constructor.
Constructor method for the DJIHotPointMission.

Input Parameters:
LocationCoordinate2D hotpoint        Location of the hotpoint.
double altitude        Altitude of the orbit in meters
double radius        Radius of the orbit in meters
float angularVelocity        Angular velocity of the aircraft in degrees/s
boolean isClockwise        true if the aircraft should move in a clockwise direction around the hotpoint.
HotpointStartPoint startPoint        Initial location on the orbit to start
HotpointHeading heading        Aircraft heading during the mission

It doesn't hurt mention what drone you are using. It makes it much easier to know what you asking.
2022-2-3
Use props
djiuser_aV3vRYOsXVcF
lvl.1

Nigeria
Offline

Hello

Thanks for the reply

But am talking about intelligenthotpoint that get a rectangle as the location of the image from the video stream and a callback
2022-2-3
Use props
Mats Bohlinsson
Second Officer
Flight distance : 1838077 ft
  • >>>
Sweden
Offline

djiuser_aV3vRYOsXVcF Posted at 2-3 11:33
Hello

Thanks for the reply

Its activetrack.

Dependent of what drone you are using. It's funny you dont mention that.
Maybe others are better to guess what drone you using.
2022-2-4
Use props
djiuser_aV3vRYOsXVcF
lvl.1

Nigeria
Offline

Hello Matts

Thanks for the confirmation  do I use it like it is used in the tap and active track demo mavic 2 pro
2022-2-4
Use props
djiuser_aV3vRYOsXVcF
lvl.1

Nigeria
Offline

Am so sorryvi didn't mention the type of drone am making use of
2022-2-4
Use props
Mats Bohlinsson
Second Officer
Flight distance : 1838077 ft
  • >>>
Sweden
Offline

You should use startRecognizeTargetInRect
2022-2-4
Use props
djiuser_aV3vRYOsXVcF
lvl.1

Nigeria
Offline

Hello Mats

Thanks let me try it, but is it possible for me to use virtual sticks to make an orbit around the detected object,if it is how can I do that
2022-2-4
Use props
Mats Bohlinsson
Second Officer
Flight distance : 1838077 ft
  • >>>
United Kingdom
Offline

djiuser_aV3vRYOsXVcF Posted at 2-4 22:16
Hello Mats

Thanks let me try it, but is it possible for me to use virtual sticks to make an orbit around the detected object,if it is how can I do that

You can't

You have to read out the sticks and call setAngularVelocity correspondingly.
There was a lot of bugs with angularvelocity in activetracks, don't know if there still there.

Virtrualsticks can't be combined with other mode, sadly. They can be used when the drone is looking for objects in activetrack, but thats all, but as soon as you do confirm it get messed up.
2022-2-5
Use props
djiuser_aV3vRYOsXVcF
lvl.1

Nigeria
Offline

Hello mat

Thanks for always replying to my questions

Can you please show me how to do horizontal  orbit with virtual sticks in android  sdk an example please
2022-2-10
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules