-
-
Notifications
You must be signed in to change notification settings - Fork 510
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
Fix offboard plugin creation in example #246
Conversation
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.
Thanks for fixing this!
@@ -67,10 +67,8 @@ inline void offboard_log(const std::string &offb_mode, const std::string msg) | |||
* | |||
* returns true if everything went well in Offboard control, exits with a log otherwise. | |||
*/ | |||
bool offb_ctrl_ned(Device &device) | |||
bool offb_ctrl_ned(Offboard* offboard) |
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.
You're passing the smart pointer std::shared_ptr<Offboard> offboard
here.
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.
Yoiks.
@julianoes Thanks, fixed. Should be good to merge now. |
Fix offboard plugin creation in example
Add heading type to telemetry plugins
Pass in offboard plugin instance rather than creating multiple shared pointers.