@wandelbots/wandelbots-js-react-components 1.17.1 → 1.17.2

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.js CHANGED
@@ -16919,9 +16919,18 @@ class qa {
16919
16919
  jogger: i
16920
16920
  } = this;
16921
16921
  if (this.activationState !== "loading" && !(this.manualActivationRequired && !t.manual)) {
16922
- if (gr(() => {
16922
+ gr(() => {
16923
16923
  this.activationState = "loading", this.activationError = null;
16924
- }), r.id === "cartesian") {
16924
+ });
16925
+ try {
16926
+ await this.jogger.nova.api.controller.setDefaultMode(
16927
+ this.jogger.motionStream.controllerId,
16928
+ "MODE_CONTROL"
16929
+ );
16930
+ } catch (l) {
16931
+ console.error(l);
16932
+ }
16933
+ if (r.id === "cartesian") {
16925
16934
  const l = {
16926
16935
  tcpId: n,
16927
16936
  coordSystemId: o