-
-
Notifications
You must be signed in to change notification settings - Fork 502
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
Reorganize deps #724
Reorganize deps #724
Conversation
2. adds functions to set and get the acceptance radius 3. changes the get_mavlink_param2() function to return the acceptance radius if it is set, if it is not, it will return the predefined values (3 or 1 meter) depending on the _fly_through boolean, as it was before
adds units as requested by JonasVautherin Co-Authored-By: ad-snow <32896677+ad-snow@users.noreply.github.com>
71c03db
to
ab77032
Compare
ab77032
to
55de5c2
Compare
2aaf54b
to
329f935
Compare
5895fb3
to
2fca26e
Compare
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.
This is great overall. I made some small comments.
And the Makefile to teach users about the new way is missing.
src/backend/src/grpc_server.h
Outdated
#include "param/param_service_impl.h" | ||
#include "plugins/offboard/offboard.h" | ||
#include "offboard/offboard.h" |
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 don't think I agree with this change? What was your thought?
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 guess it "just happened" when I moved files (before we had something like plugins/offboard/include/offboard/offboard.h
that I removed, and possibly it comes from there).
I can move it back to plugins/offboard/offboard.h
if you want.
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.
Looking into it, I changed it because I did not feel like including all of ${PROJECT_SOURCE_DIR}
(here. In order to be able to call #include "plugins/..."
I need to add the directory containing plugins
to the target_include_directories
, which would mean that I would include e.g. integration_tests/
there, right? What do you think?
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 can revert back to having the header in e.g. src/plugins/action/include/plugins/action/action.h
. I just thought to remember that at first you were not really in favor of that.
Your call here, I'm personally not sure what's best.
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.
Well actually it's maybe better to have the include/
folder in order to declare that correctly when exporting the headers. I'll change that.
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 don't understand. What was wrong with how it was?
It was introduced here and I think made sense: #435
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.
Sure. I just remembered you did not like it at first and thought it was not necessary anymore, but actually I believe it made more sense.
2b297e0
to
b7a204b
Compare
4dc08c6
to
88c0ceb
Compare
88c0ceb
to
eae6419
Compare
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 scrolled through this again and it looks good!
@echo "" | ||
@echo "You probably want to run something like:" | ||
@echo "" | ||
@echo " ./build/default/integration_tests/integration_tests_runner" |
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.
Nice!
@@ -62,7 +62,7 @@ if(IOS) | |||
BUILD_WITH_INSTALL_RPATH TRUE | |||
INSTALL_NAME_DIR @rpath | |||
PUBLIC_HEADER backend_api.h | |||
XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "Dronecode SDK" | |||
#XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "iPhone Developer" |
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.
This guy 😄!
eae6419
to
8953b1f
Compare
8953b1f
to
22c8af6
Compare
22c8af6
to
d54c897
Compare
d54c897
to
50cf485
Compare
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.
Hurray let's get this in!
This is moving the dependencies out of the project and adding them using
find_package
instead. Because we still want to provide a way to compile the dependencies from sources, it is organized as follows:The superbuild adds both. Note that
third_party
builds the dependencies at configure time.To be done before merging this PR:
Add build for AndroidTest Android buildResolves #718, resolves #703