Go to the documentation of this file.
40 <<
"Either `locationId` or `pose` has to be set.";
59 throw armarx::LocalException(
"Invalid use of client::detail::Waypoint: either `locationId` "
60 "or `pose` has to be set!");
66 targets.reserve(waypoints.size());
70 std::back_inserter(targets),
71 [](
const auto& wp) { return defrost(wp); });
110 waypoints.reserve(targets.size());
114 std::back_inserter(waypoints),
115 [](
const auto& wp) { return freeze(wp); });
#define ARMARX_UNEXPECTED_ENUM_VALUE(EnumType, value)
Throw an UnexpectedEnumValueException.
client::detail::GlobalPlanningStrategy freeze(const client::GlobalPlanningStrategy &strategy)
Vertex target(const detail::edge_base< Directed, Vertex > &e, const PCG &)
This file is part of ArmarX.
std::optional< core::Pose > pose
#define ARMARX_CHECK(expression)
Shortcut for ARMARX_CHECK_EXPRESSION.
void toIce(std::map< IceKeyT, IceValueT > &iceMap, const boost::container::flat_map< CppKeyT, CppValueT > &cppMap)
std::optional< std::string > locationId
client::GlobalPlanningStrategy defrost(const client::detail::GlobalPlanningStrategy &strategy)
sequence< Waypoint > Waypoints
void fromIce(const std::map< IceKeyT, IceValueT > &iceMap, boost::container::flat_map< CppKeyT, CppValueT > &cppMap)
auto transform(const Container< InputT, Alloc > &in, OutputT(*func)(InputT const &)) -> Container< OutputT, typename std::allocator_traits< Alloc >::template rebind_alloc< OutputT > >
Convenience function (with less typing) to transform a container of type InputT into the same contain...
GlobalPlanningStrategy strategy
std::vector< WaypointTarget > WaypointTargets