Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ActionListener #222

Open
PeimanAtaeiJPDroni opened this issue Dec 12, 2023 · 5 comments
Open

ActionListener #222

PeimanAtaeiJPDroni opened this issue Dec 12, 2023 · 5 comments

Comments

@PeimanAtaeiJPDroni
Copy link

PeimanAtaeiJPDroni commented Dec 12, 2023

Hi,

when I run a mission and start doing the actions, I need to listen to performed action id.

I use this method to listen to them but the result is not correct :

action listener

In my mission, at first I have one action group for drone rotation (actionId = 0,groupId = 0) and gimbal rotation (actionId = 1,groupId = 0), and another action group for create folder (actionId = 0,groupId = 1) and start distance interval shooting image (actionId = 1,groupId = 1).

and this is the result:

action id

I need to log the action id when they are performed specially about the distance interval image shooting. in SDK v4, when we capture image with distance interval, we have the log if action but in this version we do not have. I need it to count the number of images which are captured.

Would you please help me solve this problem?

@PeimanAtaeiJPDroni PeimanAtaeiJPDroni changed the title Action addActionListener Dec 12, 2023
@PeimanAtaeiJPDroni PeimanAtaeiJPDroni changed the title addActionListener ActionListener Dec 12, 2023
@dji-dev
Copy link
Contributor

dji-dev commented Dec 13, 2023

Agent comment from Hummels Lei in Zendesk ticket #96992:

I hope this message finds you well. I would like to inform you that we are aware of the issue you have encountered. At the moment, the actionlistener is only capable of monitoring the actionGroupId. However, I am pleased to inform you that we are working on resolving this problem in our upcoming version. In the next release, you will have the ability to monitor both the actionId and actionGroupId. We anticipate that the next version will be released by the end of this month.

°°°

@PeimanAtaeiJPDroni
Copy link
Author

PeimanAtaeiJPDroni commented Dec 14, 2023

Hi @dji-dev

Excuse me as you told, the actionlistener is only capable of monitoring the actionGroupId (and it is correct about Matrice 300 RTK), but when I was testing the app with Mavic 3T today, I saw that the action listener is working fine and I can monitor bothe action and group ids.

I wanted to know if this problem is only for Matrice now ? or is related to the camera. in Matrice I use H20t camera.

as you can see in this screen shot, we have all action ids :

Mavice actions

@dji-dev
Copy link
Contributor

dji-dev commented Dec 15, 2023

Agent comment from Hummels Lei in Zendesk ticket #96992:

I hope this message finds you well. I would like to inform you that we are currently experiencing some issues with the M300 and M350 models. However, I want to assure you that we are actively working on resolving these problems.

°°°

@PeimanAtaeiJPDroni
Copy link
Author

Probelm solved in version 5.8.0-a5

Thank you

@PeimanAtaeiJPDroni
Copy link
Author

Agent comment from Hummels Lei in Zendesk ticket #96992:I hope this message finds you well. I would like to inform you that we are aware of the issue you have encountered. At the moment, the actionlistener is only capable of monitoring the actionGroupId. However, I am pleased to inform you that we are working on resolving this problem in our upcoming version. In the next release, you will have the ability to monitor both the actionId and actionGroupId. We anticipate that the next version will be released by the end of this month.

°°°

HI DJI,

I want to ask you if in the new version of MSDK, in action listener, we have the whole action object to get all info such as action type, or we still have only the groupID and actionID?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants