QDpy
Loading...
Searching...
No Matches
arm.py File Reference

Analytic planar-arm illumination with end-effector descriptors. More...

Go to the source code of this file.

Namespaces

namespace  qdpy
namespace  qdpy.benchmarks

Functions

 qdpy.benchmarks.arm.illumination_planar_arm (genome)
 Score one planar arm and return its normalized end-effector position.

Detailed Description

Analytic planar-arm illumination with end-effector descriptors.

Definition in file arm.py.

Function Documentation

◆ illumination_planar_arm()

qdpy.benchmarks.arm.illumination_planar_arm ( genome)

Score one planar arm and return its normalized end-effector position.

Return maximising fitness and two Cartesian descriptors in [0, 1].

The finite one-dimensional genome encodes relative joint angles.
Coordinates are clipped to [0, 1] and mapped to [-pi, pi]. The sum
of the link lengths is one. Fitness is one minus twice the
population standard deviation of the normalized joint angles.
This rescales the objective of the QDax Arm task to [0, 1].

Definition at line 13 of file arm.py.