get_solution_space(pos)
Features
This function obtains the solution space value for the entered pos(posj).
Parameters
| Parameter Name | Data Type | Default Value | Description |
|---|---|---|---|
| pos | posj | - | posj or position list |
| list (float[6]) |
Return
| Value | Description |
|---|---|
0 ~ 7 | Solution space |
Exception
| Exception | Description |
|---|---|
DR_Error (DR_ERROR_TYPE) | Parameter data type error occurred |
DR_Error (DR_ERROR_VALUE) | Parameter value is invalid |
DR_Error (DR_ERROR_RUNTIME) | C extension module error occurred |
DR_Error (DR_ERROR_STOP) | Program terminated forcefully |
Example
q1 = posj(0, 0, 0, 0, 0, 0)
sol1 = get_solution_space(q1)
sol2 = get_solution_space([10, 20, 30, 40, 50, 60])