47 float distanceTo(
const Eigen::Vector2f& p)
const;
110 Config
readConfig(
const std::filesystem::path& filename);
This file is part of ArmarX.
Config readConfig(const std::filesystem::path &filename)
Read the scene description. Throws on malformed input.
algorithms::Costmap buildCostmap(const Config &config)
Build a costmap holding, per cell, the distance to the closest obstacle reduced by the robot radius (...
TrajectoryParametrization
How the velocities along a planned path are assigned.
@ None
Leave the planner's velocities alone.
An axis-aligned box obstacle in the ground plane.
float distanceTo(const Eigen::Vector2f &p) const
Distance from p to the box surface. Zero if p is inside the box.
Everything the application needs, as read from the scene description file.
core::GeneralConfig generalConfig
global_planning::SPFAParams plannerParams
int parametrizationSamples
Waypoints the reparametrization should return.
bool simulate
Simulate the low-level controller following the planned trajectory.
std::string robot
Platform name selecting PlatformDynamics<robot>.json, spelled as the rest of the codebase does: Armar...
algorithms::Costmap::Parameters costmapParams
core::TrajectoryParametrization parametrization
How the velocities along the planned path are (re-)assigned before simulating.
float parametrizationTorqueFraction
Fraction of the motor torque the reparametrization may use.
float costmapMaxDistance
Obstacle distances are clipped to this value [mm].
simulation::TrajectoryFollowingSimulation::Parameters simulationParams
The synthetic scene: what the world looks like, independent of the planner.
algorithms::SceneBounds bounds
float cellSize
Edge length of a costmap cell [mm].
std::vector< Box > obstacles