-
-
Notifications
You must be signed in to change notification settings - Fork 520
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
Add mission raw plugin #644
Conversation
a2c55f6
to
b39697b
Compare
d1799cf
to
57a9990
Compare
static constexpr double SOME_LONGITUDES[] = {8.545649, 8.545654}; | ||
static constexpr float SOME_ALTITUDES[] = {5.0f, 7.5f}; | ||
static constexpr float SOME_SPEEDS[] = {4.0f, 5.0f}; | ||
static constexpr unsigned NUM_SOME_ITEMS = sizeof(SOME_LATITUDES) / sizeof(SOME_LATITUDES[0]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we use a vector
instead? Would be clearer to me 😕
[&prom](MissionRaw::Result result, | ||
std::vector<std::shared_ptr<MissionRaw::MavlinkMissionItemInt>> items) { | ||
EXPECT_EQ(result, MissionRaw::Result::SUCCESS); | ||
// TODO: validate items |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That TODO is outdated, isn't it?
This will be a plugin which enables direct/raw access to MAVLink MISSION_ITEM_INT messages.
9d14008
to
aaa4a7e
Compare
I'm ignoring Jenkins because I don't know what he's trying to tell me. |
@JonasVautherin also I forgot to fix what you raised, I'll do that in #642. |
/** | ||
* @brief Mission item identical to MAVLink MISSION_ITEM_INT. | ||
*/ | ||
struct MavlinkMissionItemInt { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No support for MISSION_ITEM?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope. The SDK only does the new shiny things.
This will be a plugin which enables direct/raw access to MAVLink MISSION_ITEM_INT messages.
See progress here @sanderux.