Skip to content
Snippets Groups Projects
Commit dce946d6 authored by Raghunandan Netrapalli Madhusudhan's avatar Raghunandan Netrapalli Madhusudhan
Browse files

testing

parent 6d4b0919
No related tags found
No related merge requests found
Pipeline #58417 failed
......@@ -54,9 +54,9 @@ void FollowTrajectoryAction::SetControlStrategy()
{
auto control_strategy = std::make_shared<mantle_api::FollowTrajectoryControlStrategy>();
control_strategy->timeReference = values.timeReference;
control_strategy->movement_domain = values.timeReference
? mantle_api::MovementDomain::kBoth
: mantle_api::MovementDomain::kLateral;
// control_strategy->movement_domain = values.timeReference
// ? mantle_api::MovementDomain::kBoth
// : mantle_api::MovementDomain::kLateral;
control_strategy->trajectory = detail::ConvertPolyLine(mantle.environment, entity, values.trajectoryRef);
const auto entity_id = mantle.environment->GetEntityRepository().Get(entity)->get().GetUniqueId();
mantle.environment->UpdateControlStrategies(entity_id, {control_strategy});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment