Function calculate_angle_change

Function Documentation

float calculate_angle_change(std::vector<std::array<float, 3>> cones, std::vector<int> configuration, int position_in_config)

Calculate the angle change.

Parameters:
  • cones – Vector of cones represented as arrays of three floats [x, y, type].

  • right_configuration – The indexes configuration.

  • position_in_config – The position in the configuration.