DWM -> DWA (Dynamic window approach)
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
|
||||
#include "rclcpp/rclcpp.hpp"
|
||||
#include "mg_navigation.hpp"
|
||||
#include "handlers/dwm.hpp"
|
||||
#include "handlers/dwa.hpp"
|
||||
|
||||
namespace mg {
|
||||
|
||||
@ -40,7 +40,7 @@ namespace mg {
|
||||
|
||||
template <typename T>
|
||||
void MgNavigationServer::execute(const std::shared_ptr<rclcpp_action::ServerGoalHandle<T> > gh) {
|
||||
DWM<T> dwm = DWM<T>(gh, tf2_buffer, *this);
|
||||
DWA<T> dwm = DWA<T>(gh, tf2_buffer, *this);
|
||||
dwm.execute();
|
||||
is_processing = false;
|
||||
mtx.unlock();
|
||||
|
||||
Reference in New Issue
Block a user