-
-
Notifications
You must be signed in to change notification settings - Fork 503
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
Conversation
3c73ef5
to
e88f522
Compare
#include <memory> | ||
#include <vector> | ||
|
||
#include "mission/mission.h" // TODO: remove this dependency by moving the datastructs out of Mission |
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.
What's wrong with structs in Mission
?
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.
Actually there are no structs in Mission
class. @JonasVautherin Did you mean them in MissionItem
class ?
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.
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> |
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.
I think I forgot. Why do we need template argument ?
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.
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 |
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.
Actually there are no structs in Mission
class. @JonasVautherin Did you mean them in MissionItem
class ?
e88f522
to
e27b3cb
Compare
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.