Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Support custom COMMAND_LONG listeners and be able to ACK #713

Open
sanderux opened this issue Jun 24, 2024 · 6 comments
Open

Support custom COMMAND_LONG listeners and be able to ACK #713

sanderux opened this issue Jun 24, 2024 · 6 comments
Labels

Comments

@sanderux
Copy link

sanderux commented Jun 24, 2024

We are using MAV_CMD_WAYPOINT_USER_1 to run custom commands from a mission
This ability is currently missing from mavsdk making it impossible for us to switch.
Would be nice to be able to add a custom action listener. We would need the param values too

@julianoes FYI

@julianoes
Copy link
Collaborator

I think this should be possible using the passthrough plugin. Before I add it as explicit functionality we would have to standardize it in MAVLink. We had several discussions about custom action commands before, the previous attempt was a bit too complex though, in my opinion: mavlink/MAVSDK#1581 (comment).

@sanderux
Copy link
Author

User actions are standardized in mavlink no?
What would be wrong with extending the actions call with a 'custom action' handler where you can listen to all commands and choose if you want to handle / ack them?

@sanderux
Copy link
Author

Here: mavsdk/action_server.py

@julianoes
Copy link
Collaborator

Does the autopilot (e.g. PX4) support sending USER_1 commands and waiting for an ack? That would be the first step.

@sanderux
Copy link
Author

Yes it does, we are already using this with pymavlink

@julianoes
Copy link
Collaborator

Ok, which PX4 version do I use to test this?

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

No branches or pull requests

2 participants