|
57 | 57 | "============================================================\n", |
58 | 58 | "SETUP COMPLETE\n", |
59 | 59 | "============================================================\n", |
60 | | - "Client ID: 9\n", |
61 | | - "Client Address: 2:9:65535\n", |
| 60 | + "Client ID: 3\n", |
| 61 | + "Client Address: 2:3:65535\n", |
62 | 62 | "Root Objects: [Address(module=1, node=1, object=48896)]\n" |
63 | 63 | ] |
64 | 64 | } |
|
243 | 243 | "name": "stdout", |
244 | 244 | "output_type": "stream", |
245 | 245 | "text": [ |
246 | | - "Current: UNLOCKED\n", |
247 | | - "After lock: LOCKED\n" |
| 246 | + "Current: LOCKED\n", |
| 247 | + "No action (already locked)\n" |
248 | 248 | ] |
249 | 249 | } |
250 | 250 | ], |
|
642 | 642 | "cell_type": "code", |
643 | 643 | "execution_count": 9, |
644 | 644 | "metadata": {}, |
| 645 | + "outputs": [ |
| 646 | + { |
| 647 | + "name": "stdout", |
| 648 | + "output_type": "stream", |
| 649 | + "text": [ |
| 650 | + "🔍 NimbusCore Methods at 1:1:48896\n", |
| 651 | + "==================================================\n", |
| 652 | + "Method Signatures:\n", |
| 653 | + "==================================================\n", |
| 654 | + " Initialize(xPosition: List[i32], yPosition: List[i32], zStartPosition: List[i32], zStopPosition: List[i32], zFinal: List[i32]) -> void\n", |
| 655 | + " Interface: 1, Method ID: 1\n", |
| 656 | + "\n", |
| 657 | + " InitializeSmart(xPosition: List[i32], yPosition: List[i32], zStartPosition: List[i32], zStopPosition: List[i32], zFinal: List[i32]) -> void\n", |
| 658 | + " Interface: 1, Method ID: 2\n", |
| 659 | + "\n", |
| 660 | + " Park(void) -> void\n", |
| 661 | + " Interface: 1, Method ID: 3\n", |
| 662 | + "\n", |
| 663 | + " ParkButtonPark(void) -> void\n", |
| 664 | + " Interface: 1, Method ID: 4\n", |
| 665 | + "\n", |
| 666 | + " ShiftAndScanRack(traverseHeight: i32, minXPosition: i32, maxXPosition: i32, camPosition: i16) -> { xPositions: List[i32], barcodes: str }\n", |
| 667 | + " Interface: 1, Method ID: 5\n", |
| 668 | + "\n", |
| 669 | + " ShiftAndScanRow(traverseHeight: i32, xPosition: i32, camsUsed: List[u16], camPositions: List[i16]) -> { barcodes: str }\n", |
| 670 | + " Interface: 1, Method ID: 6\n", |
| 671 | + "\n", |
| 672 | + " MethodBegin(void) -> void\n", |
| 673 | + " Interface: 1, Method ID: 7\n", |
| 674 | + "\n", |
| 675 | + " MethodEnd(void) -> void\n", |
| 676 | + " Interface: 1, Method ID: 8\n", |
| 677 | + "\n", |
| 678 | + " SetInstrumentErrorMode(instrumentError: bool) -> void\n", |
| 679 | + " Interface: 1, Method ID: 9\n", |
| 680 | + "\n", |
| 681 | + " GetInstrumentErrorMode(void) -> instrumentError: bool\n", |
| 682 | + " Interface: 1, Method ID: 10\n", |
| 683 | + "\n", |
| 684 | + " SetOperatorAttentionMode(operatorAttention: bool) -> void\n", |
| 685 | + " Interface: 1, Method ID: 11\n", |
| 686 | + "\n", |
| 687 | + " GetOperatorAttentionMode(void) -> operatorAttention: bool\n", |
| 688 | + " Interface: 1, Method ID: 12\n", |
| 689 | + "\n", |
| 690 | + " GetXMLCompatibility(void) -> level: str\n", |
| 691 | + " Interface: 1, Method ID: 13\n", |
| 692 | + "\n", |
| 693 | + " IsInitialized(void) -> initialized: bool\n", |
| 694 | + " Interface: 1, Method ID: 14\n", |
| 695 | + "\n", |
| 696 | + " GetChannelConfiguration(void) -> { channels: u16, channelTypes: List[i16] }\n", |
| 697 | + " Interface: 1, Method ID: 15\n", |
| 698 | + "\n", |
| 699 | + " PreinitializeSmart(void) -> void\n", |
| 700 | + " Interface: 1, Method ID: 16\n", |
| 701 | + "\n", |
| 702 | + " IsPlateGripped(void) -> plateGripped: bool\n", |
| 703 | + " Interface: 1, Method ID: 17\n", |
| 704 | + "\n", |
| 705 | + " IsGripperPresent(void) -> present: bool\n", |
| 706 | + " Interface: 1, Method ID: 18\n", |
| 707 | + "\n", |
| 708 | + " IsShiftAndScanPresent(void) -> present: bool\n", |
| 709 | + " Interface: 1, Method ID: 19\n", |
| 710 | + "\n", |
| 711 | + " IsDevicePresent(deviceId: i16) -> present: bool\n", |
| 712 | + " Interface: 1, Method ID: 20\n", |
| 713 | + "\n", |
| 714 | + " SetXSpeedScale(scale: u16) -> void\n", |
| 715 | + " Interface: 1, Method ID: 21\n", |
| 716 | + "\n", |
| 717 | + " GetXSpeedScale(void) -> scale: u16\n", |
| 718 | + " Interface: 1, Method ID: 22\n", |
| 719 | + "\n", |
| 720 | + " GetDataStore(handle: i16) -> data: bytes\n", |
| 721 | + " Interface: 1, Method ID: 23\n", |
| 722 | + "\n", |
| 723 | + " SetDataStore(handle: i16, data: bytes) -> void\n", |
| 724 | + " Interface: 1, Method ID: 24\n", |
| 725 | + "\n", |
| 726 | + " GetShiftAndScanSensors(void) -> { sensor1: bool, sensor2: bool, sensor3: bool }\n", |
| 727 | + " Interface: 1, Method ID: 25\n", |
| 728 | + "\n", |
| 729 | + " Reset(void) -> void\n", |
| 730 | + " Interface: 1, Method ID: 26\n", |
| 731 | + "\n", |
| 732 | + " ShiftAndScanRackXSpeed(traverseHeight: i32, minXPosition: i32, maxXPosition: i32, xSpeed: u32, camPosition: i16) -> { xPositions: List[i32], barcodes: str }\n", |
| 733 | + " Interface: 1, Method ID: 27\n", |
| 734 | + "\n", |
| 735 | + " InitializeRoll(xPosition: List[i32], yPosition: List[i32], zStartPosition: List[i32], zStopPosition: List[i32], zFinal: List[i32], rollDistance: List[i32]) -> void\n", |
| 736 | + " Interface: 1, Method ID: 28\n", |
| 737 | + "\n", |
| 738 | + " InitializeSmartRoll(xPosition: List[i32], yPosition: List[i32], zStartPosition: List[i32], zStopPosition: List[i32], zFinal: List[i32], rollDistance: List[i32]) -> void\n", |
| 739 | + " Interface: 1, Method ID: 29\n", |
| 740 | + "\n", |
| 741 | + " GetChannelConfiguration(struct, i8, i8) -> void\n", |
| 742 | + " Interface: 1, Method ID: 30\n", |
| 743 | + "\n", |
| 744 | + " IsDevicePresent(enum, u8, i8) -> bool\n", |
| 745 | + " Interface: 1, Method ID: 31\n", |
| 746 | + "\n", |
| 747 | + " GetXVelocityLimits(void) -> { lowerLimit: u32, upperLimit: u32 }\n", |
| 748 | + " Interface: 1, Method ID: 32\n", |
| 749 | + "\n", |
| 750 | + " SetXMaximumVelocity(velocity: u32) -> void\n", |
| 751 | + " Interface: 1, Method ID: 33\n", |
| 752 | + "\n", |
| 753 | + " GetXMaximumVelocity(void) -> velocity: u32\n", |
| 754 | + " Interface: 1, Method ID: 34\n", |
| 755 | + "\n", |
| 756 | + " ResetXMaximumVelocity(void) -> void\n", |
| 757 | + " Interface: 1, Method ID: 35\n", |
| 758 | + "\n", |
| 759 | + " ObjectInfo(void) -> { name: str, version: str, methods: u32, subobjects: u16 }\n", |
| 760 | + " Interface: 0, Method ID: 1\n", |
| 761 | + "\n", |
| 762 | + " MethodInfo(method: u32) -> { interfaceid: u8, action: u8, actionid: u16, name: str, parametertypes: str, parameternames: str }\n", |
| 763 | + " Interface: 0, Method ID: 2\n", |
| 764 | + "\n", |
| 765 | + " SubObjectInfo(subobject: u16) -> { moduleID: u16, nodeID: u16, objectID: u16 }\n", |
| 766 | + " Interface: 0, Method ID: 3\n", |
| 767 | + "\n", |
| 768 | + " InterfaceDescriptors(void) -> { interfaceIds: bytes, interfaceDescriptors: List[str] }\n", |
| 769 | + " Interface: 0, Method ID: 4\n", |
| 770 | + "\n", |
| 771 | + " EnumInfo(interfaceId: u8) -> { enumerationNames: List[str], numberEnumerationValues: List[u32], enumerationValues: List[i32], enumerationValueDescriptions: List[str] }\n", |
| 772 | + " Interface: 0, Method ID: 5\n", |
| 773 | + "\n", |
| 774 | + " StructInfo(interfaceId: u8) -> { structNames: List[str], numberStructureElements: List[u32], structureElementTypes: bytes, structureElementDescriptions: List[str] }\n", |
| 775 | + " Interface: 0, Method ID: 6\n", |
| 776 | + "\n" |
| 777 | + ] |
| 778 | + } |
| 779 | + ], |
| 780 | + "source": [ |
| 781 | + "# Introspect NimbusCore methods to find MoveRelativeY and initialization methods\n", |
| 782 | + "nimbus_core_addr = Address(1, 1, 48896)\n", |
| 783 | + "\n", |
| 784 | + "print(f\"🔍 NimbusCore Methods at {nimbus_core_addr}\")\n", |
| 785 | + "print(\"=\" * 50)\n", |
| 786 | + "\n", |
| 787 | + "methods = await introspection.get_all_methods(nimbus_core_addr)\n", |
| 788 | + "introspection.print_method_signatures(methods)\n" |
| 789 | + ] |
| 790 | + }, |
| 791 | + { |
| 792 | + "cell_type": "code", |
| 793 | + "execution_count": 10, |
| 794 | + "metadata": {}, |
645 | 795 | "outputs": [ |
646 | 796 | { |
647 | 797 | "name": "stdout", |
|
666 | 816 | }, |
667 | 817 | { |
668 | 818 | "cell_type": "code", |
669 | | - "execution_count": 10, |
| 819 | + "execution_count": 11, |
670 | 820 | "metadata": {}, |
671 | 821 | "outputs": [ |
672 | 822 | { |
|
0 commit comments