@volant-autonomy/via-sdk 1.5838.1 → 1.5846.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -785,7 +785,7 @@ function defaultPathSerializer(pathname, pathParams) {
785
785
  return nextURL;
786
786
  }
787
787
 
788
- var version = "1.5838.1";
788
+ var version = "1.5846.1";
789
789
 
790
790
  const querySerializer = createQuerySerializer();
791
791
  class Fetcher {
package/dist/index.esm.js CHANGED
@@ -783,7 +783,7 @@ function defaultPathSerializer(pathname, pathParams) {
783
783
  return nextURL;
784
784
  }
785
785
 
786
- var version = "1.5838.1";
786
+ var version = "1.5846.1";
787
787
 
788
788
  const querySerializer = createQuerySerializer();
789
789
  class Fetcher {
@@ -3111,16 +3111,30 @@ export interface components {
3111
3111
  ground_risk_bias?: number | null;
3112
3112
  /**
3113
3113
  * Cost Bias
3114
- * @description Overall consideration given to costs when determining a path versus reaching the checkpoint in the minimum time whilst
3114
+ * @deprecated
3115
+ * @description Deprecated, migrate to use of `accuracy` and `smoothing` instead. If provided, it will override these settings.
3116
+ *
3117
+ * Overall consideration given to costs when determining a path versus reaching the checkpoint in the minimum time whilst
3115
3118
  * respecting other restrictions. Ignoring all cost without other restrictions will result in the straight-line path
3116
3119
  * between two checkpoints whilst minimising cost will produce a significantly more complex path in an attempt to
3117
3120
  * reduce any theoretically incurred cost of flight.
3118
3121
  *
3119
3122
  * * 0: Ignore cost
3120
3123
  * * 1: Minimise cost
3124
+ */
3125
+ cost_bias?: number | null;
3126
+ /**
3127
+ * Accuracy
3128
+ * @description Accuracy of the cost calculation. Determines how to prioritise between minimising cost and computing any path that reaches the checkpoint. Larger values result in more cost-minimised paths that may better achieve an objective such as being the shortest or least-risky at the expense of computation time. These paths may be significantly more complex however. Smaller values prioritise returning any valid path that reaches the checkpoint regardless of cost as computationally quickly as possible.
3121
3129
  * @default 0.8
3122
3130
  */
3123
- cost_bias?: number;
3131
+ accuracy?: number;
3132
+ /**
3133
+ * Smoothing
3134
+ * @description Path post-processing smoothing factor. Determines how aggressively the path is smoothed after initial computation. Larger values result in smoother more straight-line like paths at the expense of cost-minimisation. Smaller values perform minimal smoothing to reduce overly complex segments. Note that a value of 0.0 still performs a minimal amount of smoothing.
3135
+ * @default 0.2
3136
+ */
3137
+ smoothing?: number;
3124
3138
  /**
3125
3139
  * Ground Risk Weighting
3126
3140
  * @description Weight multiplier to apply to ground risk when combining cost fields.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volant-autonomy/via-sdk",
3
- "version": "1.5838.1",
3
+ "version": "1.5846.1",
4
4
  "license": "MIT",
5
5
  "source": "src/index.ts",
6
6
  "types": "dist/index.d.ts",