@wandelbots/nova-js 3.3.0 → 3.3.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.
@@ -1,3 +1,4 @@
1
+ /** biome-ignore-all lint/suspicious/noApproximativeNumericConstant: mock data contains approximative pi values from robot description */
1
2
  import type { MotionGroupState, RobotController } from "@wandelbots/nova-api/v2"
2
3
  import type { AxiosResponse, InternalAxiosRequestConfig } from "axios"
3
4
  import { AxiosError } from "axios"
@@ -14,6 +15,28 @@ export class MockNovaInstance {
14
15
  config: InternalAxiosRequestConfig,
15
16
  ): Promise<AxiosResponse> {
16
17
  const apiHandlers = [
18
+ {
19
+ method: "GET",
20
+ path: "/cells/:cellId/controllers",
21
+ handle() {
22
+ return ["mock-ur5e"]
23
+ },
24
+ },
25
+ {
26
+ method: "GET",
27
+ path: "/cells/:cellId/controllers/:controllerId",
28
+ handle() {
29
+ return {
30
+ configuration: {
31
+ initial_joint_position: "[0,-1.571,-1.571,-1.571,1.571,-1.571,0]",
32
+ kind: "VirtualController",
33
+ manufacturer: "universalrobots",
34
+ type: "universalrobots-ur5e",
35
+ },
36
+ name: "mock-ur5",
37
+ } satisfies RobotController
38
+ },
39
+ },
17
40
  {
18
41
  method: "GET",
19
42
  path: "/cells/:cellId/controllers/:controllerId/state",
@@ -67,33 +90,6 @@ export class MockNovaInstance {
67
90
  }
68
91
  },
69
92
  },
70
- {
71
- method: "GET",
72
- path: "/cells/:cellId/controllers/:controllerId/coordinate-systems",
73
- handle() {
74
- return [
75
- {
76
- coordinate_system: "",
77
- name: "world",
78
- reference_coordinate_system: "",
79
- position: [0, 0, 0],
80
- orientation: [0, 0, 0],
81
- orientation_type: "ROTATION_VECTOR",
82
- },
83
- {
84
- coordinate_system: "CS-0",
85
- name: "Default-CS",
86
- reference_coordinate_system: "",
87
- position: [0, 0, 0],
88
- orientation: [0, 0, 0],
89
- orientation_type: "ROTATION_VECTOR",
90
- },
91
- ] //satisfies CoordinateSystems
92
- },
93
- },
94
-
95
- // As you need, add more mock requests here...
96
- // Below is mostly V1:
97
93
  {
98
94
  method: "GET",
99
95
  path: "/cells/:cellId/controllers/:controllerId/motion-groups/:motionGroupId/description",
@@ -112,30 +108,6 @@ export class MockNovaInstance {
112
108
  orientation: [0, 0, 0],
113
109
  },
114
110
  },
115
- "complex-tcp-position": {
116
- name: "Complex TCP Position",
117
- pose: {
118
- position: [-200, 300, 150],
119
- orientation: [
120
- -0.12139440409113832, -0.06356210998212003,
121
- -0.2023240068185639,
122
- ],
123
- },
124
- },
125
- "offset-150mm-xy": {
126
- name: "-150mm XY Offset",
127
- pose: {
128
- position: [-150, -150, 0],
129
- orientation: [0, 0, 0],
130
- },
131
- },
132
- "rotated-90deg-z": {
133
- name: "90° Z Axis Rotation",
134
- pose: {
135
- position: [0, 0, 0],
136
- orientation: [0, 0, 1.5708],
137
- },
138
- },
139
111
  },
140
112
  payloads: {
141
113
  "FPay-0": {
@@ -427,623 +399,26 @@ export class MockNovaInstance {
427
399
  },
428
400
  {
429
401
  method: "GET",
430
- path: "/cells/:cellId/controllers",
431
- handle() {
432
- return {
433
- controllers: [
434
- {
435
- controller: "mock-ur5e",
436
- model_name: "UniversalRobots::Controller",
437
- host: "mock-ur5e",
438
- allow_software_install_on_controller: true,
439
- motion_groups: [
440
- {
441
- motion_group: "0@mock-ur5e",
442
- name_from_controller: "UR5e",
443
- active: false,
444
- model_from_controller: "UniversalRobots_UR5e",
445
- },
446
- ],
447
- has_error: false,
448
- error_details: "",
449
- },
450
- ],
451
- }
452
- },
453
- },
454
- {
455
- method: "GET",
456
- path: "/cells/:cellId/controllers/:controllerId",
402
+ path: "/cells/:cellId/controllers/:controllerId/coordinate-systems",
457
403
  handle() {
458
- return {
459
- configuration: {
460
- kind: "VirtualController",
461
- manufacturer: "universalrobots",
462
- type: "universalrobots-ur5e",
404
+ return [
405
+ {
406
+ coordinate_system: "",
407
+ name: "world",
408
+ reference_coordinate_system: "",
409
+ position: [0, 0, 0],
410
+ orientation: [0, 0, 0],
411
+ orientation_type: "ROTATION_VECTOR",
463
412
  },
464
- name: "mock-ur5",
465
- } satisfies RobotController
466
- },
467
- },
468
- {
469
- method: "GET",
470
- path: "/cells/:cellId/motion-groups/:motionGroupId/specification",
471
- handle() {
472
- return {
473
- dh_parameters: [
474
- {
475
- alpha: 1.5707963267948966,
476
- theta: 0,
477
- a: 0,
478
- d: 162.25,
479
- reverse_rotation_direction: false,
480
- },
481
- {
482
- alpha: 0,
483
- theta: 0,
484
- a: -425,
485
- d: 0,
486
- reverse_rotation_direction: false,
487
- },
488
- {
489
- alpha: 0,
490
- theta: 0,
491
- a: -392.2,
492
- d: 0,
493
- reverse_rotation_direction: false,
494
- },
495
- {
496
- alpha: 1.5707963267948966,
497
- theta: 0,
498
- a: 0,
499
- d: 133.3,
500
- reverse_rotation_direction: false,
501
- },
502
- {
503
- alpha: -1.5707963267948966,
504
- theta: 0,
505
- a: 0,
506
- d: 99.7,
507
- reverse_rotation_direction: false,
508
- },
509
- {
510
- alpha: 0,
511
- theta: 0,
512
- a: 0,
513
- d: 99.6,
514
- reverse_rotation_direction: false,
515
- },
516
- ],
517
- mechanical_joint_limits: [
518
- {
519
- joint: "JOINTNAME_AXIS_1",
520
- lower_limit: -6.335545063018799,
521
- upper_limit: 6.335545063018799,
522
- unlimited: false,
523
- },
524
- {
525
- joint: "JOINTNAME_AXIS_2",
526
- lower_limit: -6.335545063018799,
527
- upper_limit: 6.335545063018799,
528
- unlimited: false,
529
- },
530
- {
531
- joint: "JOINTNAME_AXIS_3",
532
- lower_limit: -6.335545063018799,
533
- upper_limit: 6.335545063018799,
534
- unlimited: false,
535
- },
536
- {
537
- joint: "JOINTNAME_AXIS_4",
538
- lower_limit: -6.335545063018799,
539
- upper_limit: 6.335545063018799,
540
- unlimited: false,
541
- },
542
- {
543
- joint: "JOINTNAME_AXIS_5",
544
- lower_limit: -6.335545063018799,
545
- upper_limit: 6.335545063018799,
546
- unlimited: false,
547
- },
548
- {
549
- joint: "JOINTNAME_AXIS_6",
550
- lower_limit: -6.335545063018799,
551
- upper_limit: 6.335545063018799,
552
- unlimited: false,
553
- },
554
- ],
555
- } // Mock motion group specification
556
- },
557
- },
558
- {
559
- method: "GET",
560
- path: "/cells/:cellId/motion-groups/:motionGroupId/safety-setup",
561
- handle() {
562
- return {
563
- safety_settings: [
564
- {
565
- safety_state: "SAFETY_NORMAL",
566
- settings: {
567
- joint_position_limits: [
568
- {
569
- joint: "JOINTNAME_AXIS_1",
570
- lower_limit: -2.96705961227417,
571
- upper_limit: 2.96705961227417,
572
- unlimited: false,
573
- },
574
- {
575
- joint: "JOINTNAME_AXIS_2",
576
- lower_limit: -1.7453292608261108,
577
- upper_limit: 2.7925267219543457,
578
- unlimited: false,
579
- },
580
- {
581
- joint: "JOINTNAME_AXIS_3",
582
- lower_limit: -3.3161256313323975,
583
- upper_limit: 0.40142571926116943,
584
- unlimited: false,
585
- },
586
- {
587
- joint: "JOINTNAME_AXIS_4",
588
- lower_limit: -3.4906585216522217,
589
- upper_limit: 3.4906585216522217,
590
- unlimited: false,
591
- },
592
- {
593
- joint: "JOINTNAME_AXIS_5",
594
- lower_limit: -2.4434609413146973,
595
- upper_limit: 2.4434609413146973,
596
- unlimited: false,
597
- },
598
- {
599
- joint: "JOINTNAME_AXIS_6",
600
- lower_limit: -4.71238899230957,
601
- upper_limit: 4.71238899230957,
602
- unlimited: false,
603
- },
604
- ],
605
- joint_velocity_limits: [
606
- {
607
- joint: "JOINTNAME_AXIS_1",
608
- limit: 3.1415927410125732,
609
- },
610
- {
611
- joint: "JOINTNAME_AXIS_2",
612
- limit: 3.1415927410125732,
613
- },
614
- {
615
- joint: "JOINTNAME_AXIS_3",
616
- limit: 3.4906585216522217,
617
- },
618
- {
619
- joint: "JOINTNAME_AXIS_4",
620
- limit: 6.108652591705322,
621
- },
622
- {
623
- joint: "JOINTNAME_AXIS_5",
624
- limit: 6.108652591705322,
625
- },
626
- {
627
- joint: "JOINTNAME_AXIS_6",
628
- limit: 6.981317043304443,
629
- },
630
- ],
631
- joint_acceleration_limits: [],
632
- joint_torque_limits: [],
633
- tcp_velocity_limit: 1800,
634
- },
635
- },
636
- ],
637
- safety_zones: [
638
- {
639
- id: 1,
640
- priority: 0,
641
- geometry: {
642
- compound: {
643
- child_geometries: [
644
- {
645
- convex_hull: {
646
- vertices: [
647
- { vertex: [-800, -1330, -1820] },
648
- { vertex: [1650, -1330, -1820] },
649
- { vertex: [1650, 1330, -1820] },
650
- { vertex: [-800, 1330, -1820] },
651
- ],
652
- },
653
- init_pose: {
654
- position: [0, 0, 0],
655
- orientation: [0, 0, 0, 1],
656
- },
657
- id: "box",
658
- },
659
- {
660
- convex_hull: {
661
- vertices: [
662
- {
663
- vertex: [-800, -1330, -1820],
664
- },
665
- {
666
- vertex: [1650, -1330, -1820],
667
- },
668
- {
669
- vertex: [1650, -1330, 1500],
670
- },
671
- {
672
- vertex: [-800, -1330, 1500],
673
- },
674
- ],
675
- },
676
- init_pose: {
677
- position: [0, 0, 0],
678
- orientation: [0, 0, 0, 1],
679
- },
680
- id: "box",
681
- },
682
- {
683
- convex_hull: {
684
- vertices: [
685
- {
686
- vertex: [-800, -1330, -1820],
687
- },
688
- {
689
- vertex: [-800, 1330, -1820],
690
- },
691
- {
692
- vertex: [-800, 1330, 1500],
693
- },
694
- {
695
- vertex: [-800, -1330, 1500],
696
- },
697
- ],
698
- },
699
- init_pose: {
700
- position: [0, 0, 0],
701
- orientation: [0, 0, 0, 1],
702
- },
703
- id: "box",
704
- },
705
- {
706
- convex_hull: {
707
- vertices: [
708
- {
709
- vertex: [1650, 1330, 1500],
710
- },
711
- {
712
- vertex: [-800, 1330, 1500],
713
- },
714
- {
715
- vertex: [-800, -1330, 1500],
716
- },
717
- {
718
- vertex: [1650, -1330, 1500],
719
- },
720
- ],
721
- },
722
- init_pose: {
723
- position: [0, 0, 0],
724
- orientation: [0, 0, 0, 1],
725
- },
726
- id: "box",
727
- },
728
- {
729
- convex_hull: {
730
- vertices: [
731
- {
732
- vertex: [1650, 1330, 1500],
733
- },
734
- {
735
- vertex: [-800, 1330, 1500],
736
- },
737
- {
738
- vertex: [-800, 1330, -1820],
739
- },
740
- {
741
- vertex: [1650, 1330, -1820],
742
- },
743
- ],
744
- },
745
- init_pose: {
746
- position: [0, 0, 0],
747
- orientation: [0, 0, 0, 1],
748
- },
749
- id: "box",
750
- },
751
- {
752
- convex_hull: {
753
- vertices: [
754
- {
755
- vertex: [1650, 1330, 1500],
756
- },
757
- {
758
- vertex: [1650, -1330, 1500],
759
- },
760
- {
761
- vertex: [1650, -1330, -1820],
762
- },
763
- {
764
- vertex: [1650, 1330, -1820],
765
- },
766
- ],
767
- },
768
- init_pose: {
769
- position: [0, 0, 0],
770
- orientation: [0, 0, 0, 1],
771
- },
772
- id: "box",
773
- },
774
- ],
775
- },
776
- init_pose: {
777
- position: [0, 0, 0],
778
- orientation: [0, 0, 0, 1],
779
- },
780
- id: "Cell workzone",
781
- },
782
- motion_group_uid: 1,
783
- },
784
- {
785
- id: 2,
786
- priority: 0,
787
- geometry: {
788
- convex_hull: {
789
- vertices: [
790
- {
791
- vertex: [1650, 1330, -1850],
792
- },
793
- {
794
- vertex: [865, 1330, -1850],
795
- },
796
- {
797
- vertex: [865, -720, -1850],
798
- },
799
- {
800
- vertex: [1650, -720, -1850],
801
- },
802
- {
803
- vertex: [1650, 1330, -920],
804
- },
805
- {
806
- vertex: [865, 1330, -920],
807
- },
808
- {
809
- vertex: [865, -720, -920],
810
- },
811
- {
812
- vertex: [1650, -720, -920],
813
- },
814
- ],
815
- },
816
- init_pose: {
817
- position: [0, 0, 0],
818
- orientation: [0, 0, 0, 1],
819
- },
820
- id: "Transport",
821
- },
822
- motion_group_uid: 1,
823
- },
824
- {
825
- id: 3,
826
- priority: 0,
827
- geometry: {
828
- convex_hull: {
829
- vertices: [
830
- {
831
- vertex: [1650, 1330, -600],
832
- },
833
- {
834
- vertex: [865, 1330, -600],
835
- },
836
- {
837
- vertex: [865, 430, -600],
838
- },
839
- {
840
- vertex: [1650, 430, -600],
841
- },
842
- {
843
- vertex: [1650, 1330, -1250],
844
- },
845
- {
846
- vertex: [865, 1330, -1250],
847
- },
848
- {
849
- vertex: [865, 430, -1250],
850
- },
851
- {
852
- vertex: [1650, 430, -1250],
853
- },
854
- ],
855
- },
856
- init_pose: {
857
- position: [0, 0, 0],
858
- orientation: [0, 0, 0, 1],
859
- },
860
- id: "Tunel",
861
- },
862
- motion_group_uid: 1,
863
- },
864
- {
865
- id: 4,
866
- priority: 0,
867
- geometry: {
868
- convex_hull: {
869
- vertices: [
870
- {
871
- vertex: [1650, -760, -440],
872
- },
873
- {
874
- vertex: [900, -760, -440],
875
- },
876
- {
877
- vertex: [900, -1330, -440],
878
- },
879
- {
880
- vertex: [1650, -1330, -440],
881
- },
882
- {
883
- vertex: [1650, -760, -1800],
884
- },
885
- {
886
- vertex: [900, -760, -1800],
887
- },
888
- {
889
- vertex: [900, -1330, -1800],
890
- },
891
- {
892
- vertex: [1650, -1330, -1800],
893
- },
894
- ],
895
- },
896
- init_pose: {
897
- position: [0, 0, 0],
898
- orientation: [0, 0, 0, 1],
899
- },
900
- id: "Fanuc controller",
901
- },
902
- motion_group_uid: 1,
903
- },
904
- {
905
- id: 6,
906
- priority: 0,
907
- geometry: {
908
- convex_hull: {
909
- vertices: [
910
- {
911
- vertex: [-200, -200, -1900],
912
- },
913
- {
914
- vertex: [200, -200, -1900],
915
- },
916
- {
917
- vertex: [200, 200, -1900],
918
- },
919
- {
920
- vertex: [-200, 200, -1900],
921
- },
922
- {
923
- vertex: [-200, -200, -350],
924
- },
925
- {
926
- vertex: [200, -200, -350],
927
- },
928
- {
929
- vertex: [200, 200, -350],
930
- },
931
- {
932
- vertex: [-200, 200, -350],
933
- },
934
- ],
935
- },
936
- init_pose: {
937
- position: [0, 0, 0],
938
- orientation: [0, 0, 0, 1],
939
- },
940
- id: "Robot base",
941
- },
942
- motion_group_uid: 1,
943
- },
944
- ],
945
- robot_model_geometries: [
946
- {
947
- link_index: 1,
948
- geometry: {
949
- sphere: {
950
- radius: 270,
951
- },
952
- init_pose: {
953
- position: [-70, -70, -50],
954
- orientation: [0, 0, 0, 1],
955
- },
956
- id: "link1_sphere",
957
- },
958
- },
959
- {
960
- link_index: 2,
961
- geometry: {
962
- capsule: {
963
- radius: 160,
964
- cylinder_height: 800,
965
- },
966
- init_pose: {
967
- position: [-450, 40, 170],
968
- orientation: [0, -Math.SQRT1_2, 0, Math.SQRT1_2],
969
- },
970
- id: "link2_capsule",
971
- },
972
- },
973
- {
974
- link_index: 3,
975
- geometry: {
976
- sphere: {
977
- radius: 270,
978
- },
979
- init_pose: {
980
- position: [-110, 10, -100],
981
- orientation: [0, 0, 0, 1],
982
- },
983
- id: "link3_sphere",
984
- },
985
- },
986
- {
987
- link_index: 4,
988
- geometry: {
989
- capsule: {
990
- radius: 110,
991
- cylinder_height: 600,
992
- },
993
- init_pose: {
994
- position: [0, 300, 40],
995
- orientation: [-Math.SQRT1_2, 0, 0, Math.SQRT1_2],
996
- },
997
- id: "link4_capsule",
998
- },
999
- },
1000
- {
1001
- link_index: 5,
1002
- geometry: {
1003
- sphere: {
1004
- radius: 75,
1005
- },
1006
- init_pose: {
1007
- position: [0, 0, -50],
1008
- orientation: [0, 0, 0, 1],
1009
- },
1010
- id: "link5_sphere",
1011
- },
1012
- },
1013
- ],
1014
- tool_geometries: [],
1015
- } // Mock safety setup
1016
- },
1017
- },
1018
- {
1019
- method: "GET",
1020
- path: "/cells/:cellId/motion-groups/:motionGroupId/tcps",
1021
- handle() {
1022
- return {
1023
- tcps: [
1024
- {
1025
- id: "Flange",
1026
- readable_name: "Default-Flange",
1027
- position: [0, 0, 0],
1028
- rotation: {
1029
- angles: [0, 0, 0, 0],
1030
- type: "ROTATION_VECTOR",
1031
- },
1032
- },
1033
- {
1034
- id: "complex-tcp-position",
1035
- readable_name: "Complex TCP Position",
1036
- position: [-200, 300, 150],
1037
- rotation: {
1038
- angles: [
1039
- -0.12139440409113832, -0.06356210998212003,
1040
- -0.2023240068185639, 0,
1041
- ],
1042
- type: "ROTATION_VECTOR",
1043
- },
1044
- },
1045
- ],
1046
- }
413
+ {
414
+ coordinate_system: "CS-0",
415
+ name: "Default-CS",
416
+ reference_coordinate_system: "",
417
+ position: [0, 0, 0],
418
+ orientation: [0, 0, 0],
419
+ orientation_type: "ROTATION_VECTOR",
420
+ },
421
+ ] //satisfies CoordinateSystems
1047
422
  },
1048
423
  },
1049
424
  ]
@@ -1086,6 +461,7 @@ export class MockNovaInstance {
1086
461
  // }
1087
462
  }
1088
463
 
464
+ // Please note: Only very basic websocket mocking is done here, needs to be extended as needed
1089
465
  handleWebsocketConnection(socket: AutoReconnectingWebsocket) {
1090
466
  this.connections.push(socket)
1091
467
 
@@ -1102,202 +478,13 @@ export class MockNovaInstance {
1102
478
  )
1103
479
  }
1104
480
 
1105
- if (socket.url.includes("/move-joint")) {
481
+ if (socket.url.includes("/execution/jogging")) {
1106
482
  socket.dispatchEvent(
1107
483
  new MessageEvent("message", {
1108
484
  data: JSON.stringify({
1109
485
  result: {
1110
- motion_group: "0@ur",
1111
- state: {
1112
- controller: "ur",
1113
- operation_mode: "OPERATION_MODE_AUTO",
1114
- safety_state: "SAFETY_STATE_NORMAL",
1115
- timestamp: "2024-09-18T12:48:26.096266444Z",
1116
- velocity_override: 100,
1117
- motion_groups: [
1118
- {
1119
- motion_group: "0@ur",
1120
- controller: "ur",
1121
- joint_position: [
1122
- 1.3492152690887451, -1.5659207105636597,
1123
- 1.6653711795806885, -1.0991662740707397,
1124
- -1.829018235206604, 1.264623761177063,
1125
- ],
1126
- joint_velocity: {
1127
- joints: [0, 0, 0, 0, 0, 0],
1128
- },
1129
- flange_pose: {
1130
- position: [
1131
- 6.437331889439328, -628.4123774830913,
1132
- 577.0569957147832,
1133
- ],
1134
- orientation: {
1135
- x: -1.683333649797158,
1136
- y: -1.9783363827298732,
1137
- z: -0.4928031860165713,
1138
- },
1139
- coordinate_system: "",
1140
- },
1141
- tcp_pose: {
1142
- position: [
1143
- 6.437331889439328, -628.4123774830913,
1144
- 577.0569957147832,
1145
- ],
1146
- orientation: {
1147
- x: -1.683333649797158,
1148
- y: -1.9783363827298732,
1149
- z: -0.4928031860165713,
1150
- },
1151
- coordinate_system: "",
1152
- tcp: "Flange",
1153
- },
1154
- velocity: {
1155
- linear: {
1156
- x: 0,
1157
- y: 0,
1158
- z: 0,
1159
- },
1160
- angular: {
1161
- x: -0,
1162
- y: 0,
1163
- z: 0,
1164
- },
1165
- coordinate_system: "",
1166
- },
1167
- force: {
1168
- force: {
1169
- x: 0,
1170
- y: 0,
1171
- z: 0,
1172
- },
1173
- moment: {
1174
- x: 0,
1175
- y: 0,
1176
- z: 0,
1177
- },
1178
- coordinate_system: "",
1179
- },
1180
- joint_limit_reached: {
1181
- limit_reached: [
1182
- false,
1183
- false,
1184
- false,
1185
- false,
1186
- false,
1187
- false,
1188
- ],
1189
- },
1190
- joint_current: {
1191
- joints: [0, 0, 0, 0, 0, 0],
1192
- },
1193
- sequence_number: "671259",
1194
- },
1195
- ],
1196
- sequence_number: "671259",
1197
- },
1198
- movement_state: "MOVEMENT_STATE_MOVING",
1199
- },
1200
- }),
1201
- }),
1202
- )
1203
- }
1204
-
1205
- if (socket.url.includes("/move-tcp")) {
1206
- socket.dispatchEvent(
1207
- new MessageEvent("message", {
1208
- data: JSON.stringify({
1209
- result: {
1210
- motion_group: "0@ur",
1211
- state: {
1212
- controller: "ur",
1213
- operation_mode: "OPERATION_MODE_AUTO",
1214
- safety_state: "SAFETY_STATE_NORMAL",
1215
- timestamp: "2024-09-18T12:43:12.188335774Z",
1216
- velocity_override: 100,
1217
- motion_groups: [
1218
- {
1219
- motion_group: "0@ur",
1220
- controller: "ur",
1221
- joint_position: {
1222
- joints: [
1223
- 1.3352527618408203, -1.5659207105636597,
1224
- 1.6653711795806885, -1.110615611076355,
1225
- -1.829018235206604, 1.264623761177063,
1226
- ],
1227
- },
1228
- joint_velocity: {
1229
- joints: [0, 0, 0, 0, 0, 0],
1230
- },
1231
- flange_pose: {
1232
- position: [
1233
- -2.763015284002938, -630.2151479701106,
1234
- 577.524509114342,
1235
- ],
1236
- orientation: {
1237
- x: -1.704794877102097,
1238
- y: -1.9722372952861567,
1239
- z: -0.4852079204210754,
1240
- },
1241
- coordinate_system: "",
1242
- },
1243
- tcp_pose: {
1244
- position: [
1245
- -2.763015284002938, -630.2151479701106,
1246
- 577.524509114342,
1247
- ],
1248
- orientation: {
1249
- x: -1.704794877102097,
1250
- y: -1.9722372952861567,
1251
- z: -0.4852079204210754,
1252
- },
1253
- coordinate_system: "",
1254
- tcp: "Flange",
1255
- },
1256
- velocity: {
1257
- linear: {
1258
- x: 0,
1259
- y: 0,
1260
- z: 0,
1261
- },
1262
- angular: {
1263
- x: -0,
1264
- y: 0,
1265
- z: 0,
1266
- },
1267
- coordinate_system: "",
1268
- },
1269
- force: {
1270
- force: {
1271
- x: 0,
1272
- y: 0,
1273
- z: 0,
1274
- },
1275
- moment: {
1276
- x: 0,
1277
- y: 0,
1278
- z: 0,
1279
- },
1280
- coordinate_system: "",
1281
- },
1282
- joint_limit_reached: {
1283
- limit_reached: [
1284
- false,
1285
- false,
1286
- false,
1287
- false,
1288
- false,
1289
- false,
1290
- ],
1291
- },
1292
- joint_current: {
1293
- joints: [0, 0, 0, 0, 0, 0],
1294
- },
1295
- sequence_number: "627897",
1296
- },
1297
- ],
1298
- sequence_number: "627897",
1299
- },
1300
- movement_state: "MOVEMENT_STATE_MOVING",
486
+ message: "string",
487
+ kind: "INITIALIZE_RECEIVED",
1301
488
  },
1302
489
  }),
1303
490
  }),