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

backend: update mission proto file #342

Merged
merged 1 commit into from
Apr 3, 2018

Conversation

JonasVautherin
Copy link
Collaborator

@JonasVautherin JonasVautherin commented Apr 3, 2018

Update the mission proto file. For now it is only setting up the new mission proto file, without implementing any actual feature. That's mainly for moving on to #269.

Fixes #268.

#include <memory>
#include <vector>

#include "mission/mission.h" // TODO: remove this dependency by moving the datastructs out of Mission
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's wrong with structs in Mission?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually there are no structs in Mission class. @JonasVautherin Did you mean them in MissionItem class ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was thinking about Mission::Result. But it is not necessary in this PR, so the comment is superfluous.

namespace dronecore {
namespace backend {

template <typename Mission>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I forgot. Why do we need template argument ?

Copy link
Collaborator Author

@JonasVautherin JonasVautherin Apr 3, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For testing. I want to pass a MockMission in the tests.

#include <memory>
#include <vector>

#include "mission/mission.h" // TODO: remove this dependency by moving the datastructs out of Mission
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually there are no structs in Mission class. @JonasVautherin Did you mean them in MissionItem class ?

@JonasVautherin JonasVautherin merged commit 2a427ad into develop Apr 3, 2018
@JonasVautherin JonasVautherin deleted the 268-update-mission-proto branch April 3, 2018 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants