Monty. Frameworks. Actions. ActionSamplers. ConstantSampler
(ExTbpMonty.Core v0.1.0)
Copy Markdown
View Source
Makes actions whose parameters never change.
Mirrors tbp/monty/frameworks/actions/action_samplers.py::ConstantSampler.
Every parameter is set once, at construction, and every action of a kind is
identical: rotation_degrees for the turning actions,
translation_distance for the moving ones, direction, location and
rotation_quat for the ones that take a place or an orientation.
This is the sampler experiments use when the point is the policy rather than the randomness: a surface agent that always steps 4 mm and turns 5 degrees has a reproducible path given a reproducible sequence of action choices.
Summary
Functions
A sampler that always makes this step of every action it is asked for.