-
Notifications
You must be signed in to change notification settings - Fork 986
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
Sending commands to FCU #25
Comments
|
Can you suggest how I can send/receive raw Mavlink messages via from/to topics ? |
See ros_udp.cpp, but additional encode/decode messages. I want to implement command plugin today. |
If you implement the command plugin, awesome :D In the meantime I'll check out the source. |
CommandPlugin released! I misunderstood your problem. I thought that this VISION_POSITION_ESTIMATE is value for COMMAND_LONG.command, rather than the message itself. However, the methods 1 and 2 are valid. I would recommend method 2: coding is easier and less overhead (see dummy.cpp). |
I finished writing my own plugin. Can you please check if it is OK : http://pastebin.com/WbeSqvMH Also it would be great if you could give me some simple example code on how to use plugins like Commander from another node. The pluginlib documentation is a bit confusing. |
Your plugin with my suggestions: mavros_vision_example_extplugin.tar.xz |
Thanks a lot for your suggestions. I will build upon what you said. |
@BabakAkbari check that you sourced |
After sourcing ~/ws/devel/setup.bash and |
It's how http://wiki.ros.org/pluginlib works.
пт, 2 авг. 2019 г. в 11:56, BabakAkbari <notifications@github.com>:
… After sourcing ~/ws/devel/setup.bash and
Launching mavros I should be able to see my topic I created? Does Mavros
automatically find my package and plugin which is located in another
workspace? @vooon <https://github.com/vooon>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#25?email_source=notifications&email_token=AAHZ4UGWJZRWL4UTKLFHJSDQCPZC7A5CNFSM4AQII2SKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3NEFJI#issuecomment-517620389>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAHZ4UA5OX5HR55DEJ5J2MLQCPZC7ANCNFSM4AQII2SA>
.
|
Hi @vooon thanks for your response |
Check that your plugin have same format as present mavros. That issue is quite old, so it describe older plugins. |
What would be best way we could implement sending of messages via Mavlink to a connected FCU?
I want to send the VISION_POSITION_ESTIMATE mavlink message, with data from another node.
The text was updated successfully, but these errors were encountered: