bsk 2.8.22__cp38-abi3-win_amd64.whl → 2.8.23__cp38-abi3-win_amd64.whl
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.
- Basilisk/ArchitectureUtilities.lib +0 -0
- Basilisk/__init__.py +2 -2
- Basilisk/architecture/_BSpline.pyd +0 -0
- Basilisk/architecture/_alg_contain.pyd +0 -0
- Basilisk/architecture/_astroConstants.pyd +0 -0
- Basilisk/architecture/_avsLibrarySelfCheck.pyd +0 -0
- Basilisk/architecture/_bskLogging.pyd +0 -0
- Basilisk/architecture/_bskUtilities.pyd +0 -0
- Basilisk/architecture/_keplerianOrbit.pyd +0 -0
- Basilisk/architecture/_moduleIdGenerator.pyd +0 -0
- Basilisk/architecture/_py_sys_model.pyd +0 -0
- Basilisk/architecture/_sim_model.pyd +0 -0
- Basilisk/architecture/_swigDeprecatedCheck.pyd +0 -0
- Basilisk/architecture/_swigEigenCheck.pyd +0 -0
- Basilisk/architecture/_swig_c_wrap.pyd +0 -0
- Basilisk/architecture/_swig_common_model.pyd +0 -0
- Basilisk/architecture/_swig_conly_data.pyd +0 -0
- Basilisk/architecture/_swig_deprecated.pyd +0 -0
- Basilisk/architecture/_swig_eigen.pyd +0 -0
- Basilisk/architecture/_swig_std_array.pyd +0 -0
- Basilisk/architecture/_sys_model.pyd +0 -0
- Basilisk/architecture/_sys_model_task.pyd +0 -0
- Basilisk/architecture/messaging/MotorStepCommandMsgPayload.py +1541 -0
- Basilisk/architecture/messaging/StepperMotorMsgPayload.py +1577 -0
- Basilisk/architecture/messaging/_AccDataMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_AccPktDataMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_AccessMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_AlbedoMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_ArrayEffectorLockMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_ArrayMotorForceMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_ArrayMotorTorqueMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_ArrayMotorVoltageMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_AtmoPropsMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_AttGuidMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_AttRefMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_AttStateMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_BodyHeadingMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_BoreAngleMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_CMEstDataMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_CModuleTemplateMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_CSSArraySensorMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_CSSConfigLogMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_CSSConfigMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_CSSRawDataMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_CSSUnitConfigMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_CameraConfigMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_CameraImageMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_ChargeMsmMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_ClassicElementsMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_CmdForceBodyMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_CmdForceInertialMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_CmdTorqueBodyMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_ColorMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_ConstDynEffectorMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_DataNodeUsageMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_DataStorageStatusMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_DesiredVelocityMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_DeviceCmdMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_DeviceStatusMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_DipoleRequestBodyMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_DvBurnCmdMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_DvExecutionDataMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_EclipseMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_EphemerisMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_EpochMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_ForceAtSiteMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_FuelTankMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_GravityGradientMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_GroundStateMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_HeadingFilterMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_HillRelStateMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_HingedRigidBodyMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_IMUSensorBodyMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_IMUSensorMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_InertialFilterMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_InertialHeadingMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_LambertPerformanceMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_LambertProblemMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_LambertSolutionMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_LambertValidatorMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_LandmarkMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_LinearTranslationRigidBodyMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_MJSceneStateMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_MTBArrayConfigMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_MTBCmdMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_MTBMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_MagneticFieldMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_MotorStepCommandMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_NavAttMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_NavTransMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_OpNavCirclesMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_OpNavFilterMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_OpNavLimbMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_OpNavMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_PixelLineFilterMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_PlasmaFluxMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_PowerNodeStatusMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_PowerNodeUsageMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_PowerStorageFaultMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_PowerStorageStatusMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_PrescribedMotionMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_PrescribedRotationMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_PrescribedTranslationMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_PyBatteryMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_RWArrayConfigMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_RWAvailabilityMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_RWCmdMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_RWConfigElementMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_RWConfigLogMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_RWConstellationMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_RWSpeedMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_RateCmdMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_RealTimeFactorMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_ReconfigBurnArrayInfoMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_ReconfigBurnInfoMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_SCEnergyMomentumMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_SCMassPropsMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_SCStatesMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_STAttMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_STSensorMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_ScalarJointStateMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_SingleActuatorMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_SmallBodyNavMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_SmallBodyNavUKFMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_SolarFluxMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_SpicePlanetStateMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_SpiceTimeMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_StepperMotorMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_SunlineFilterMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_SwDataMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_SynchClockMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_TAMSensorBodyMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_TAMSensorMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_TDBVehicleClockCorrelationMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_THRArrayCmdForceMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_THRArrayConfigMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_THRArrayOnTimeCmdMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_THRConfigMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_THROutputMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_TemperatureMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_TorqueAtSiteMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_TransRefMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_TypesTestMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_VSCMGArrayConfigMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_VSCMGArrayTorqueMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_VSCMGCmdMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_VSCMGConfigElementMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_VSCMGConfigMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_VSCMGRefStatesMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_VSCMGSpeedMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_VehicleConfigMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_VizUserInputMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/_VoltMsgPayload.pyd +0 -0
- Basilisk/architecture/messaging/__init__.py +2 -0
- Basilisk/architecturelib.dll +0 -0
- Basilisk/cMsgCInterface.lib +0 -0
- Basilisk/dynamicslib.dll +0 -0
- Basilisk/effectorinterfaceslib.dll +0 -0
- Basilisk/environmentlib.dll +0 -0
- Basilisk/fswAlgorithms/_attRefCorrection.pyd +0 -0
- Basilisk/fswAlgorithms/_attTrackingError.pyd +0 -0
- Basilisk/fswAlgorithms/_celestialTwoBodyPoint.pyd +0 -0
- Basilisk/fswAlgorithms/_centerRadiusCNN.pyd +0 -0
- Basilisk/fswAlgorithms/_chebyPosEphem.pyd +0 -0
- Basilisk/fswAlgorithms/_constrainedAttitudeManeuver.pyd +0 -0
- Basilisk/fswAlgorithms/_cssComm.pyd +0 -0
- Basilisk/fswAlgorithms/_cssWlsEst.pyd +0 -0
- Basilisk/fswAlgorithms/_dipoleMapping.pyd +0 -0
- Basilisk/fswAlgorithms/_dvAccumulation.pyd +0 -0
- Basilisk/fswAlgorithms/_dvAttEffect.pyd +0 -0
- Basilisk/fswAlgorithms/_dvExecuteGuidance.pyd +0 -0
- Basilisk/fswAlgorithms/_dvGuidance.pyd +0 -0
- Basilisk/fswAlgorithms/_ephemDifference.pyd +0 -0
- Basilisk/fswAlgorithms/_ephemNavConverter.pyd +0 -0
- Basilisk/fswAlgorithms/_etSphericalControl.pyd +0 -0
- Basilisk/fswAlgorithms/_eulerRotation.pyd +0 -0
- Basilisk/fswAlgorithms/_faultDetection.pyd +0 -0
- Basilisk/fswAlgorithms/_forceTorqueThrForceMapping.pyd +0 -0
- Basilisk/fswAlgorithms/_formationBarycenter.pyd +0 -0
- Basilisk/fswAlgorithms/_headingSuKF.pyd +0 -0
- Basilisk/fswAlgorithms/_hillPoint.pyd +0 -0
- Basilisk/fswAlgorithms/_hillStateConverter.pyd +0 -0
- Basilisk/fswAlgorithms/_hillToAttRef.pyd +0 -0
- Basilisk/fswAlgorithms/_hingedRigidBodyPIDMotor.pyd +0 -0
- Basilisk/fswAlgorithms/_horizonOpNav.pyd +0 -0
- Basilisk/fswAlgorithms/_houghCircles.pyd +0 -0
- Basilisk/fswAlgorithms/_imuComm.pyd +0 -0
- Basilisk/fswAlgorithms/_inertial3D.pyd +0 -0
- Basilisk/fswAlgorithms/_inertial3DSpin.pyd +0 -0
- Basilisk/fswAlgorithms/_inertialUKF.pyd +0 -0
- Basilisk/fswAlgorithms/_lambertPlanner.pyd +0 -0
- Basilisk/fswAlgorithms/_lambertSecondDV.pyd +0 -0
- Basilisk/fswAlgorithms/_lambertSolver.pyd +0 -0
- Basilisk/fswAlgorithms/_lambertSurfaceRelativeVelocity.pyd +0 -0
- Basilisk/fswAlgorithms/_lambertValidator.pyd +0 -0
- Basilisk/fswAlgorithms/_limbFinding.pyd +0 -0
- Basilisk/fswAlgorithms/_locationPointing.pyd +0 -0
- Basilisk/fswAlgorithms/_lowPassFilterTorqueCommand.pyd +0 -0
- Basilisk/fswAlgorithms/_meanOEFeedback.pyd +0 -0
- Basilisk/fswAlgorithms/_mrpFeedback.pyd +0 -0
- Basilisk/fswAlgorithms/_mrpPD.pyd +0 -0
- Basilisk/fswAlgorithms/_mrpRotation.pyd +0 -0
- Basilisk/fswAlgorithms/_mrpSteering.pyd +0 -0
- Basilisk/fswAlgorithms/_mtbFeedforward.pyd +0 -0
- Basilisk/fswAlgorithms/_mtbMomentumManagement.pyd +0 -0
- Basilisk/fswAlgorithms/_mtbMomentumManagementSimple.pyd +0 -0
- Basilisk/fswAlgorithms/_navAggregate.pyd +0 -0
- Basilisk/fswAlgorithms/_oeStateEphem.pyd +0 -0
- Basilisk/fswAlgorithms/_okeefeEKF.pyd +0 -0
- Basilisk/fswAlgorithms/_oneAxisSolarArrayPoint.pyd +0 -0
- Basilisk/fswAlgorithms/_opNavPoint.pyd +0 -0
- Basilisk/fswAlgorithms/_pixelLineBiasUKF.pyd +0 -0
- Basilisk/fswAlgorithms/_pixelLineConverter.pyd +0 -0
- Basilisk/fswAlgorithms/_prescribedRot2DOF.pyd +0 -0
- Basilisk/fswAlgorithms/_prvSteering.pyd +0 -0
- Basilisk/fswAlgorithms/_rasterManager.pyd +0 -0
- Basilisk/fswAlgorithms/_rateMsgConverter.pyd +0 -0
- Basilisk/fswAlgorithms/_rateServoFullNonlinear.pyd +0 -0
- Basilisk/fswAlgorithms/_relativeODuKF.pyd +0 -0
- Basilisk/fswAlgorithms/_rwConfigData.pyd +0 -0
- Basilisk/fswAlgorithms/_rwMotorTorque.pyd +0 -0
- Basilisk/fswAlgorithms/_rwMotorVoltage.pyd +0 -0
- Basilisk/fswAlgorithms/_rwNullSpace.pyd +0 -0
- Basilisk/fswAlgorithms/_scanningInstrumentController.pyd +0 -0
- Basilisk/fswAlgorithms/_simpleDeadband.pyd +0 -0
- Basilisk/fswAlgorithms/_simpleInstrumentController.pyd +0 -0
- Basilisk/fswAlgorithms/_smallBodyNavEKF.pyd +0 -0
- Basilisk/fswAlgorithms/_smallBodyNavUKF.pyd +0 -0
- Basilisk/fswAlgorithms/_smallBodyWaypointFeedback.pyd +0 -0
- Basilisk/fswAlgorithms/_solarArrayReference.pyd +0 -0
- Basilisk/fswAlgorithms/_spacecraftPointing.pyd +0 -0
- Basilisk/fswAlgorithms/_spacecraftReconfig.pyd +0 -0
- Basilisk/fswAlgorithms/_stComm.pyd +0 -0
- Basilisk/fswAlgorithms/_sunSafeACS.pyd +0 -0
- Basilisk/fswAlgorithms/_sunSafePoint.pyd +0 -0
- Basilisk/fswAlgorithms/_sunlineEKF.pyd +0 -0
- Basilisk/fswAlgorithms/_sunlineEphem.pyd +0 -0
- Basilisk/fswAlgorithms/_sunlineSEKF.pyd +0 -0
- Basilisk/fswAlgorithms/_sunlineSuKF.pyd +0 -0
- Basilisk/fswAlgorithms/_sunlineUKF.pyd +0 -0
- Basilisk/fswAlgorithms/_tamComm.pyd +0 -0
- Basilisk/fswAlgorithms/_thrFiringRemainder.pyd +0 -0
- Basilisk/fswAlgorithms/_thrFiringSchmitt.pyd +0 -0
- Basilisk/fswAlgorithms/_thrForceMapping.pyd +0 -0
- Basilisk/fswAlgorithms/_thrMomentumDumping.pyd +0 -0
- Basilisk/fswAlgorithms/_thrMomentumManagement.pyd +0 -0
- Basilisk/fswAlgorithms/_thrustCMEstimation.pyd +0 -0
- Basilisk/fswAlgorithms/_thrustRWDesat.pyd +0 -0
- Basilisk/fswAlgorithms/_thrusterPlatformReference.pyd +0 -0
- Basilisk/fswAlgorithms/_thrusterPlatformState.pyd +0 -0
- Basilisk/fswAlgorithms/_torque2Dipole.pyd +0 -0
- Basilisk/fswAlgorithms/_torqueScheduler.pyd +0 -0
- Basilisk/fswAlgorithms/_vehicleConfigData.pyd +0 -0
- Basilisk/fswAlgorithms/_velocityPoint.pyd +0 -0
- Basilisk/fswAlgorithms/_vscmgGimbalRateServo.pyd +0 -0
- Basilisk/fswAlgorithms/_vscmgVelocitySteering.pyd +0 -0
- Basilisk/fswAlgorithms/_waypointReference.pyd +0 -0
- Basilisk/moduleTemplates/_autoCModule.pyd +0 -0
- Basilisk/moduleTemplates/_autoCppModule.pyd +0 -0
- Basilisk/moduleTemplates/_cModuleTemplate.pyd +0 -0
- Basilisk/moduleTemplates/_cppModuleTemplate.pyd +0 -0
- Basilisk/moduleidgenerator.dll +0 -0
- Basilisk/mujocodynamicslib.dll +0 -0
- Basilisk/onboarddatahandlinglib.dll +0 -0
- Basilisk/powerlib.dll +0 -0
- Basilisk/simulation/_ExtPulsedTorque.pyd +0 -0
- Basilisk/simulation/_GravityGradientEffector.pyd +0 -0
- Basilisk/simulation/_MJSystemCoM.pyd +0 -0
- Basilisk/simulation/_MtbEffector.pyd +0 -0
- Basilisk/simulation/_NBodyGravity.pyd +0 -0
- Basilisk/simulation/_PIDControllers.pyd +0 -0
- Basilisk/simulation/_RWConfigPayload.pyd +0 -0
- Basilisk/simulation/_ReactionWheelPower.pyd +0 -0
- Basilisk/simulation/_THRSimConfig.pyd +0 -0
- Basilisk/simulation/_albedo.pyd +0 -0
- Basilisk/simulation/_boreAngCalc.pyd +0 -0
- Basilisk/simulation/_camera.pyd +0 -0
- Basilisk/simulation/_coarseSunSensor.pyd +0 -0
- Basilisk/simulation/_constraintDynamicEffector.pyd +0 -0
- Basilisk/simulation/_dataFileToViz.pyd +0 -0
- Basilisk/simulation/_dentonFluxModel.pyd +0 -0
- Basilisk/simulation/_dragDynamicEffector.pyd +0 -0
- Basilisk/simulation/_dualHingedRigidBodyStateEffector.pyd +0 -0
- Basilisk/simulation/_dynParamManager.pyd +0 -0
- Basilisk/simulation/_eclipse.pyd +0 -0
- Basilisk/simulation/_encoder.pyd +0 -0
- Basilisk/simulation/_ephemerisConverter.pyd +0 -0
- Basilisk/simulation/_exponentialAtmosphere.pyd +0 -0
- Basilisk/simulation/_extForceTorque.pyd +0 -0
- Basilisk/simulation/_facetDragDynamicEffector.pyd +0 -0
- Basilisk/simulation/_facetSRPDynamicEffector.pyd +0 -0
- Basilisk/simulation/_fuelTank.pyd +0 -0
- Basilisk/simulation/_gravityEffector.pyd +0 -0
- Basilisk/simulation/_gravityModel.pyd +0 -0
- Basilisk/simulation/_groundLocation.pyd +0 -0
- Basilisk/simulation/_groundMapping.pyd +0 -0
- Basilisk/simulation/_hingedBodyLinearProfiler.pyd +0 -0
- Basilisk/simulation/_hingedRigidBodyMotor.pyd +0 -0
- Basilisk/simulation/_hingedRigidBodyMotorSensor.pyd +0 -0
- Basilisk/simulation/_hingedRigidBodyStateEffector.pyd +0 -0
- Basilisk/simulation/_imuSensor.pyd +0 -0
- Basilisk/simulation/_linearSpringMassDamper.pyd +0 -0
- Basilisk/simulation/_linearTranslationNDOFStateEffector.pyd +0 -0
- Basilisk/simulation/_linearTranslationOneDOFStateEffector.pyd +0 -0
- Basilisk/simulation/_magneticFieldCenteredDipole.pyd +0 -0
- Basilisk/simulation/_magneticFieldWMM.pyd +0 -0
- Basilisk/simulation/_magnetometer.pyd +0 -0
- Basilisk/simulation/_mappingInstrument.pyd +0 -0
- Basilisk/simulation/_motorThermal.pyd +0 -0
- Basilisk/simulation/_motorVoltageInterface.pyd +0 -0
- Basilisk/simulation/_msisAtmosphere.pyd +0 -0
- Basilisk/simulation/_msmForceTorque.pyd +0 -0
- Basilisk/simulation/_mujoco.pyd +0 -0
- Basilisk/simulation/_nHingedRigidBodyStateEffector.pyd +0 -0
- Basilisk/simulation/_orbElemConvert.pyd +0 -0
- Basilisk/simulation/_partitionedStorageUnit.pyd +0 -0
- Basilisk/simulation/_pinholeCamera.pyd +0 -0
- Basilisk/simulation/_planetEphemeris.pyd +0 -0
- Basilisk/simulation/_planetHeading.pyd +0 -0
- Basilisk/simulation/_planetNav.pyd +0 -0
- Basilisk/simulation/_pointMassGravityModel.pyd +0 -0
- Basilisk/simulation/_polyhedralGravityModel.pyd +0 -0
- Basilisk/simulation/_prescribedLinearTranslation.pyd +0 -0
- Basilisk/simulation/_prescribedMotionStateEffector.pyd +0 -0
- Basilisk/simulation/_prescribedRotation1DOF.pyd +0 -0
- Basilisk/simulation/_pyStatefulSysModel.pyd +0 -0
- Basilisk/simulation/_radiationPressure.pyd +0 -0
- Basilisk/simulation/_reactionWheelStateEffector.pyd +0 -0
- Basilisk/simulation/_sensorThermal.pyd +0 -0
- Basilisk/simulation/_simSynch.pyd +0 -0
- Basilisk/simulation/_simpleBattery.pyd +0 -0
- Basilisk/simulation/_simpleInstrument.pyd +0 -0
- Basilisk/simulation/_simpleMassProps.pyd +0 -0
- Basilisk/simulation/_simpleNav.pyd +0 -0
- Basilisk/simulation/_simplePowerMonitor.pyd +0 -0
- Basilisk/simulation/_simplePowerSink.pyd +0 -0
- Basilisk/simulation/_simpleSolarPanel.pyd +0 -0
- Basilisk/simulation/_simpleStorageUnit.pyd +0 -0
- Basilisk/simulation/_simpleTransmitter.pyd +0 -0
- Basilisk/simulation/_simpleVoltEstimator.pyd +0 -0
- Basilisk/simulation/_solarFlux.pyd +0 -0
- Basilisk/simulation/_spaceToGroundTransmitter.pyd +0 -0
- Basilisk/simulation/_spacecraft.pyd +0 -0
- Basilisk/simulation/_spacecraftLocation.pyd +0 -0
- Basilisk/simulation/_spacecraftSystem.pyd +0 -0
- Basilisk/simulation/_sphericalHarmonicsGravityModel.pyd +0 -0
- Basilisk/simulation/_sphericalPendulum.pyd +0 -0
- Basilisk/simulation/_spiceInterface.pyd +0 -0
- Basilisk/simulation/_spinningBodyNDOFStateEffector.pyd +0 -0
- Basilisk/simulation/_spinningBodyOneDOFStateEffector.pyd +0 -0
- Basilisk/simulation/_spinningBodyTwoDOFStateEffector.pyd +0 -0
- Basilisk/simulation/_starTracker.pyd +0 -0
- Basilisk/simulation/_stateArchitecture.pyd +0 -0
- Basilisk/simulation/_stepperMotor.pyd +0 -0
- Basilisk/simulation/_svIntegrators.pyd +0 -0
- Basilisk/simulation/_tabularAtmosphere.pyd +0 -0
- Basilisk/simulation/_tempMeasurement.pyd +0 -0
- Basilisk/simulation/_thrusterDynamicEffector.pyd +0 -0
- Basilisk/simulation/_thrusterStateEffector.pyd +0 -0
- Basilisk/simulation/_vizInterface.pyd +0 -0
- Basilisk/simulation/_vscmgStateEffector.pyd +0 -0
- Basilisk/simulation/stepperMotor.lib +0 -0
- Basilisk/simulation/stepperMotor.py +413 -0
- Basilisk/topLevelModules/_pyswice.pyd +0 -0
- Basilisk/transdeterminationlib.dll +0 -0
- Basilisk/vizMessage.lib +0 -0
- Basilisk/vizardlib.dll +0 -0
- bsk-2.8.23.dist-info/DELVEWHEEL +2 -0
- {bsk-2.8.22.dist-info → bsk-2.8.23.dist-info}/METADATA +1 -1
- {bsk-2.8.22.dist-info → bsk-2.8.23.dist-info}/RECORD +375 -368
- bsk-2.8.22.dist-info/DELVEWHEEL +0 -2
- {bsk-2.8.22.dist-info → bsk-2.8.23.dist-info}/WHEEL +0 -0
- {bsk-2.8.22.dist-info → bsk-2.8.23.dist-info}/entry_points.txt +0 -0
- {bsk-2.8.22.dist-info → bsk-2.8.23.dist-info}/licenses/LICENSE +0 -0
- {bsk-2.8.22.dist-info → bsk-2.8.23.dist-info}/top_level.txt +0 -0
- bsk.libs/{.load-order-bsk-2.8.22 → .load-order-bsk-2.8.23} +1 -1
@@ -0,0 +1,1541 @@
|
|
1
|
+
# This file was automatically generated by SWIG (https://www.swig.org).
|
2
|
+
# Version 4.3.1
|
3
|
+
#
|
4
|
+
# Do not make changes to this file unless you know what you are doing - modify
|
5
|
+
# the SWIG interface file instead.
|
6
|
+
|
7
|
+
from sys import version_info as _swig_python_version_info
|
8
|
+
# Import the low-level C/C++ module
|
9
|
+
if __package__ or "." in __name__:
|
10
|
+
from . import _MotorStepCommandMsgPayload
|
11
|
+
else:
|
12
|
+
import _MotorStepCommandMsgPayload
|
13
|
+
|
14
|
+
try:
|
15
|
+
import builtins as __builtin__
|
16
|
+
except ImportError:
|
17
|
+
import __builtin__
|
18
|
+
|
19
|
+
def _swig_repr(self):
|
20
|
+
try:
|
21
|
+
strthis = "proxy of " + self.this.__repr__()
|
22
|
+
except __builtin__.Exception:
|
23
|
+
strthis = ""
|
24
|
+
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
|
25
|
+
|
26
|
+
|
27
|
+
def _swig_setattr_nondynamic_instance_variable(set):
|
28
|
+
def set_instance_attr(self, name, value):
|
29
|
+
if name == "this":
|
30
|
+
set(self, name, value)
|
31
|
+
elif name == "thisown":
|
32
|
+
self.this.own(value)
|
33
|
+
elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
|
34
|
+
set(self, name, value)
|
35
|
+
else:
|
36
|
+
raise AttributeError("You cannot add instance attributes to %s" % self)
|
37
|
+
return set_instance_attr
|
38
|
+
|
39
|
+
|
40
|
+
def _swig_setattr_nondynamic_class_variable(set):
|
41
|
+
def set_class_attr(cls, name, value):
|
42
|
+
if hasattr(cls, name) and not isinstance(getattr(cls, name), property):
|
43
|
+
set(cls, name, value)
|
44
|
+
else:
|
45
|
+
raise AttributeError("You cannot add class attributes to %s" % cls)
|
46
|
+
return set_class_attr
|
47
|
+
|
48
|
+
|
49
|
+
def _swig_add_metaclass(metaclass):
|
50
|
+
"""Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
|
51
|
+
def wrapper(cls):
|
52
|
+
return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
|
53
|
+
return wrapper
|
54
|
+
|
55
|
+
|
56
|
+
class _SwigNonDynamicMeta(type):
|
57
|
+
"""Meta class to enforce nondynamic attributes (no new attributes) for a class"""
|
58
|
+
__setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
import numpy as np
|
63
|
+
import inspect
|
64
|
+
import pprint
|
65
|
+
from Basilisk.utilities import deprecated
|
66
|
+
|
67
|
+
class SwigPyIterator(object):
|
68
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
69
|
+
|
70
|
+
def __init__(self, *args, **kwargs):
|
71
|
+
raise AttributeError("No constructor defined - class is abstract")
|
72
|
+
__repr__ = _swig_repr
|
73
|
+
__swig_destroy__ = _MotorStepCommandMsgPayload.delete_SwigPyIterator
|
74
|
+
|
75
|
+
def value(self):
|
76
|
+
return _MotorStepCommandMsgPayload.SwigPyIterator_value(self)
|
77
|
+
|
78
|
+
def incr(self, n=1):
|
79
|
+
return _MotorStepCommandMsgPayload.SwigPyIterator_incr(self, n)
|
80
|
+
|
81
|
+
def decr(self, n=1):
|
82
|
+
return _MotorStepCommandMsgPayload.SwigPyIterator_decr(self, n)
|
83
|
+
|
84
|
+
def distance(self, x):
|
85
|
+
return _MotorStepCommandMsgPayload.SwigPyIterator_distance(self, x)
|
86
|
+
|
87
|
+
def equal(self, x):
|
88
|
+
return _MotorStepCommandMsgPayload.SwigPyIterator_equal(self, x)
|
89
|
+
|
90
|
+
def copy(self):
|
91
|
+
return _MotorStepCommandMsgPayload.SwigPyIterator_copy(self)
|
92
|
+
|
93
|
+
def next(self):
|
94
|
+
return _MotorStepCommandMsgPayload.SwigPyIterator_next(self)
|
95
|
+
|
96
|
+
def __next__(self):
|
97
|
+
return _MotorStepCommandMsgPayload.SwigPyIterator___next__(self)
|
98
|
+
|
99
|
+
def previous(self):
|
100
|
+
return _MotorStepCommandMsgPayload.SwigPyIterator_previous(self)
|
101
|
+
|
102
|
+
def advance(self, n):
|
103
|
+
return _MotorStepCommandMsgPayload.SwigPyIterator_advance(self, n)
|
104
|
+
|
105
|
+
def __eq__(self, x):
|
106
|
+
return _MotorStepCommandMsgPayload.SwigPyIterator___eq__(self, x)
|
107
|
+
|
108
|
+
def __ne__(self, x):
|
109
|
+
return _MotorStepCommandMsgPayload.SwigPyIterator___ne__(self, x)
|
110
|
+
|
111
|
+
def __iadd__(self, n):
|
112
|
+
return _MotorStepCommandMsgPayload.SwigPyIterator___iadd__(self, n)
|
113
|
+
|
114
|
+
def __isub__(self, n):
|
115
|
+
return _MotorStepCommandMsgPayload.SwigPyIterator___isub__(self, n)
|
116
|
+
|
117
|
+
def __add__(self, n):
|
118
|
+
return _MotorStepCommandMsgPayload.SwigPyIterator___add__(self, n)
|
119
|
+
|
120
|
+
def __sub__(self, *args):
|
121
|
+
return _MotorStepCommandMsgPayload.SwigPyIterator___sub__(self, *args)
|
122
|
+
def __iter__(self):
|
123
|
+
return self
|
124
|
+
|
125
|
+
# Register SwigPyIterator in _MotorStepCommandMsgPayload:
|
126
|
+
_MotorStepCommandMsgPayload.SwigPyIterator_swigregister(SwigPyIterator)
|
127
|
+
|
128
|
+
def new_doubleArray(nelements):
|
129
|
+
return _MotorStepCommandMsgPayload.new_doubleArray(nelements)
|
130
|
+
|
131
|
+
def delete_doubleArray(ary):
|
132
|
+
return _MotorStepCommandMsgPayload.delete_doubleArray(ary)
|
133
|
+
|
134
|
+
def doubleArray_getitem(ary, index):
|
135
|
+
return _MotorStepCommandMsgPayload.doubleArray_getitem(ary, index)
|
136
|
+
|
137
|
+
def doubleArray_setitem(ary, index, value):
|
138
|
+
return _MotorStepCommandMsgPayload.doubleArray_setitem(ary, index, value)
|
139
|
+
|
140
|
+
def new_longArray(nelements):
|
141
|
+
return _MotorStepCommandMsgPayload.new_longArray(nelements)
|
142
|
+
|
143
|
+
def delete_longArray(ary):
|
144
|
+
return _MotorStepCommandMsgPayload.delete_longArray(ary)
|
145
|
+
|
146
|
+
def longArray_getitem(ary, index):
|
147
|
+
return _MotorStepCommandMsgPayload.longArray_getitem(ary, index)
|
148
|
+
|
149
|
+
def longArray_setitem(ary, index, value):
|
150
|
+
return _MotorStepCommandMsgPayload.longArray_setitem(ary, index, value)
|
151
|
+
|
152
|
+
def new_intArray(nelements):
|
153
|
+
return _MotorStepCommandMsgPayload.new_intArray(nelements)
|
154
|
+
|
155
|
+
def delete_intArray(ary):
|
156
|
+
return _MotorStepCommandMsgPayload.delete_intArray(ary)
|
157
|
+
|
158
|
+
def intArray_getitem(ary, index):
|
159
|
+
return _MotorStepCommandMsgPayload.intArray_getitem(ary, index)
|
160
|
+
|
161
|
+
def intArray_setitem(ary, index, value):
|
162
|
+
return _MotorStepCommandMsgPayload.intArray_setitem(ary, index, value)
|
163
|
+
|
164
|
+
def new_shortArray(nelements):
|
165
|
+
return _MotorStepCommandMsgPayload.new_shortArray(nelements)
|
166
|
+
|
167
|
+
def delete_shortArray(ary):
|
168
|
+
return _MotorStepCommandMsgPayload.delete_shortArray(ary)
|
169
|
+
|
170
|
+
def shortArray_getitem(ary, index):
|
171
|
+
return _MotorStepCommandMsgPayload.shortArray_getitem(ary, index)
|
172
|
+
|
173
|
+
def shortArray_setitem(ary, index, value):
|
174
|
+
return _MotorStepCommandMsgPayload.shortArray_setitem(ary, index, value)
|
175
|
+
|
176
|
+
|
177
|
+
def getStructSize(self):
|
178
|
+
try:
|
179
|
+
class_name = repr(self).split(';')[0].split('.')[-1]
|
180
|
+
sizeof_variable_name = 'sizeof_' + class_name
|
181
|
+
size = globals().get(sizeof_variable_name)
|
182
|
+
|
183
|
+
if size is None:
|
184
|
+
raise ValueError(f"{sizeof_variable_name} not found in globals()")
|
185
|
+
except (NameError) as e:
|
186
|
+
typeString = 'sizeof_' + repr(self).split(';')[0].split('.')[-1]
|
187
|
+
raise NameError(e.message + '\nYou tried to get this size macro: ' + typeString +
|
188
|
+
'\n It appears to be undefined. \nYou need to run the SWIG GEN_SIZEOF' +
|
189
|
+
' SWIG macro against the class/struct in your SWIG file if you want to ' +
|
190
|
+
' make this call.\n')
|
191
|
+
|
192
|
+
|
193
|
+
def protectSetAttr(self, name, value):
|
194
|
+
if(hasattr(self, name) or name == 'this' or name.find('swig') >= 0):
|
195
|
+
object.__setattr__(self, name, value)
|
196
|
+
else:
|
197
|
+
raise ValueError('You tried to add this variable: ' + name + '\n' +
|
198
|
+
'To this class: ' + str(self))
|
199
|
+
|
200
|
+
def protectAllClasses(moduleType):
|
201
|
+
import inspect
|
202
|
+
|
203
|
+
clsmembers = inspect.getmembers(moduleType, inspect.isclass)
|
204
|
+
for member in clsmembers:
|
205
|
+
try:
|
206
|
+
member[1].__setattr__ = protectSetAttr
|
207
|
+
member[1].getStructSize = getStructSize
|
208
|
+
except (AttributeError, TypeError) as e:
|
209
|
+
pass
|
210
|
+
|
211
|
+
|
212
|
+
class TimeVector(object):
|
213
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
214
|
+
__repr__ = _swig_repr
|
215
|
+
|
216
|
+
def iterator(self):
|
217
|
+
return _MotorStepCommandMsgPayload.TimeVector_iterator(self)
|
218
|
+
def __iter__(self):
|
219
|
+
return self.iterator()
|
220
|
+
|
221
|
+
def __nonzero__(self):
|
222
|
+
return _MotorStepCommandMsgPayload.TimeVector___nonzero__(self)
|
223
|
+
|
224
|
+
def __bool__(self):
|
225
|
+
return _MotorStepCommandMsgPayload.TimeVector___bool__(self)
|
226
|
+
|
227
|
+
def __len__(self):
|
228
|
+
return _MotorStepCommandMsgPayload.TimeVector___len__(self)
|
229
|
+
|
230
|
+
def __getslice__(self, i, j):
|
231
|
+
return _MotorStepCommandMsgPayload.TimeVector___getslice__(self, i, j)
|
232
|
+
|
233
|
+
def __setslice__(self, *args):
|
234
|
+
return _MotorStepCommandMsgPayload.TimeVector___setslice__(self, *args)
|
235
|
+
|
236
|
+
def __delslice__(self, i, j):
|
237
|
+
return _MotorStepCommandMsgPayload.TimeVector___delslice__(self, i, j)
|
238
|
+
|
239
|
+
def __delitem__(self, *args):
|
240
|
+
return _MotorStepCommandMsgPayload.TimeVector___delitem__(self, *args)
|
241
|
+
|
242
|
+
def __getitem__(self, *args):
|
243
|
+
return _MotorStepCommandMsgPayload.TimeVector___getitem__(self, *args)
|
244
|
+
|
245
|
+
def __setitem__(self, *args):
|
246
|
+
return _MotorStepCommandMsgPayload.TimeVector___setitem__(self, *args)
|
247
|
+
|
248
|
+
def pop(self):
|
249
|
+
return _MotorStepCommandMsgPayload.TimeVector_pop(self)
|
250
|
+
|
251
|
+
def append(self, x):
|
252
|
+
return _MotorStepCommandMsgPayload.TimeVector_append(self, x)
|
253
|
+
|
254
|
+
def empty(self):
|
255
|
+
return _MotorStepCommandMsgPayload.TimeVector_empty(self)
|
256
|
+
|
257
|
+
def size(self):
|
258
|
+
return _MotorStepCommandMsgPayload.TimeVector_size(self)
|
259
|
+
|
260
|
+
def swap(self, v):
|
261
|
+
return _MotorStepCommandMsgPayload.TimeVector_swap(self, v)
|
262
|
+
|
263
|
+
def begin(self):
|
264
|
+
return _MotorStepCommandMsgPayload.TimeVector_begin(self)
|
265
|
+
|
266
|
+
def end(self):
|
267
|
+
return _MotorStepCommandMsgPayload.TimeVector_end(self)
|
268
|
+
|
269
|
+
def rbegin(self):
|
270
|
+
return _MotorStepCommandMsgPayload.TimeVector_rbegin(self)
|
271
|
+
|
272
|
+
def rend(self):
|
273
|
+
return _MotorStepCommandMsgPayload.TimeVector_rend(self)
|
274
|
+
|
275
|
+
def clear(self):
|
276
|
+
return _MotorStepCommandMsgPayload.TimeVector_clear(self)
|
277
|
+
|
278
|
+
def get_allocator(self):
|
279
|
+
return _MotorStepCommandMsgPayload.TimeVector_get_allocator(self)
|
280
|
+
|
281
|
+
def pop_back(self):
|
282
|
+
return _MotorStepCommandMsgPayload.TimeVector_pop_back(self)
|
283
|
+
|
284
|
+
def erase(self, *args):
|
285
|
+
return _MotorStepCommandMsgPayload.TimeVector_erase(self, *args)
|
286
|
+
|
287
|
+
def __init__(self, *args):
|
288
|
+
_MotorStepCommandMsgPayload.TimeVector_swiginit(self, _MotorStepCommandMsgPayload.new_TimeVector(*args))
|
289
|
+
|
290
|
+
def push_back(self, x):
|
291
|
+
return _MotorStepCommandMsgPayload.TimeVector_push_back(self, x)
|
292
|
+
|
293
|
+
def front(self):
|
294
|
+
return _MotorStepCommandMsgPayload.TimeVector_front(self)
|
295
|
+
|
296
|
+
def back(self):
|
297
|
+
return _MotorStepCommandMsgPayload.TimeVector_back(self)
|
298
|
+
|
299
|
+
def assign(self, n, x):
|
300
|
+
return _MotorStepCommandMsgPayload.TimeVector_assign(self, n, x)
|
301
|
+
|
302
|
+
def resize(self, *args):
|
303
|
+
return _MotorStepCommandMsgPayload.TimeVector_resize(self, *args)
|
304
|
+
|
305
|
+
def insert(self, *args):
|
306
|
+
return _MotorStepCommandMsgPayload.TimeVector_insert(self, *args)
|
307
|
+
|
308
|
+
def reserve(self, n):
|
309
|
+
return _MotorStepCommandMsgPayload.TimeVector_reserve(self, n)
|
310
|
+
|
311
|
+
def capacity(self):
|
312
|
+
return _MotorStepCommandMsgPayload.TimeVector_capacity(self)
|
313
|
+
__swig_destroy__ = _MotorStepCommandMsgPayload.delete_TimeVector
|
314
|
+
|
315
|
+
# Register TimeVector in _MotorStepCommandMsgPayload:
|
316
|
+
_MotorStepCommandMsgPayload.TimeVector_swigregister(TimeVector)
|
317
|
+
class DoubleVector(object):
|
318
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
319
|
+
__repr__ = _swig_repr
|
320
|
+
|
321
|
+
def iterator(self):
|
322
|
+
return _MotorStepCommandMsgPayload.DoubleVector_iterator(self)
|
323
|
+
def __iter__(self):
|
324
|
+
return self.iterator()
|
325
|
+
|
326
|
+
def __nonzero__(self):
|
327
|
+
return _MotorStepCommandMsgPayload.DoubleVector___nonzero__(self)
|
328
|
+
|
329
|
+
def __bool__(self):
|
330
|
+
return _MotorStepCommandMsgPayload.DoubleVector___bool__(self)
|
331
|
+
|
332
|
+
def __len__(self):
|
333
|
+
return _MotorStepCommandMsgPayload.DoubleVector___len__(self)
|
334
|
+
|
335
|
+
def __getslice__(self, i, j):
|
336
|
+
return _MotorStepCommandMsgPayload.DoubleVector___getslice__(self, i, j)
|
337
|
+
|
338
|
+
def __setslice__(self, *args):
|
339
|
+
return _MotorStepCommandMsgPayload.DoubleVector___setslice__(self, *args)
|
340
|
+
|
341
|
+
def __delslice__(self, i, j):
|
342
|
+
return _MotorStepCommandMsgPayload.DoubleVector___delslice__(self, i, j)
|
343
|
+
|
344
|
+
def __delitem__(self, *args):
|
345
|
+
return _MotorStepCommandMsgPayload.DoubleVector___delitem__(self, *args)
|
346
|
+
|
347
|
+
def __getitem__(self, *args):
|
348
|
+
return _MotorStepCommandMsgPayload.DoubleVector___getitem__(self, *args)
|
349
|
+
|
350
|
+
def __setitem__(self, *args):
|
351
|
+
return _MotorStepCommandMsgPayload.DoubleVector___setitem__(self, *args)
|
352
|
+
|
353
|
+
def pop(self):
|
354
|
+
return _MotorStepCommandMsgPayload.DoubleVector_pop(self)
|
355
|
+
|
356
|
+
def append(self, x):
|
357
|
+
return _MotorStepCommandMsgPayload.DoubleVector_append(self, x)
|
358
|
+
|
359
|
+
def empty(self):
|
360
|
+
return _MotorStepCommandMsgPayload.DoubleVector_empty(self)
|
361
|
+
|
362
|
+
def size(self):
|
363
|
+
return _MotorStepCommandMsgPayload.DoubleVector_size(self)
|
364
|
+
|
365
|
+
def swap(self, v):
|
366
|
+
return _MotorStepCommandMsgPayload.DoubleVector_swap(self, v)
|
367
|
+
|
368
|
+
def begin(self):
|
369
|
+
return _MotorStepCommandMsgPayload.DoubleVector_begin(self)
|
370
|
+
|
371
|
+
def end(self):
|
372
|
+
return _MotorStepCommandMsgPayload.DoubleVector_end(self)
|
373
|
+
|
374
|
+
def rbegin(self):
|
375
|
+
return _MotorStepCommandMsgPayload.DoubleVector_rbegin(self)
|
376
|
+
|
377
|
+
def rend(self):
|
378
|
+
return _MotorStepCommandMsgPayload.DoubleVector_rend(self)
|
379
|
+
|
380
|
+
def clear(self):
|
381
|
+
return _MotorStepCommandMsgPayload.DoubleVector_clear(self)
|
382
|
+
|
383
|
+
def get_allocator(self):
|
384
|
+
return _MotorStepCommandMsgPayload.DoubleVector_get_allocator(self)
|
385
|
+
|
386
|
+
def pop_back(self):
|
387
|
+
return _MotorStepCommandMsgPayload.DoubleVector_pop_back(self)
|
388
|
+
|
389
|
+
def erase(self, *args):
|
390
|
+
return _MotorStepCommandMsgPayload.DoubleVector_erase(self, *args)
|
391
|
+
|
392
|
+
def __init__(self, *args):
|
393
|
+
_MotorStepCommandMsgPayload.DoubleVector_swiginit(self, _MotorStepCommandMsgPayload.new_DoubleVector(*args))
|
394
|
+
|
395
|
+
def push_back(self, x):
|
396
|
+
return _MotorStepCommandMsgPayload.DoubleVector_push_back(self, x)
|
397
|
+
|
398
|
+
def front(self):
|
399
|
+
return _MotorStepCommandMsgPayload.DoubleVector_front(self)
|
400
|
+
|
401
|
+
def back(self):
|
402
|
+
return _MotorStepCommandMsgPayload.DoubleVector_back(self)
|
403
|
+
|
404
|
+
def assign(self, n, x):
|
405
|
+
return _MotorStepCommandMsgPayload.DoubleVector_assign(self, n, x)
|
406
|
+
|
407
|
+
def resize(self, *args):
|
408
|
+
return _MotorStepCommandMsgPayload.DoubleVector_resize(self, *args)
|
409
|
+
|
410
|
+
def insert(self, *args):
|
411
|
+
return _MotorStepCommandMsgPayload.DoubleVector_insert(self, *args)
|
412
|
+
|
413
|
+
def reserve(self, n):
|
414
|
+
return _MotorStepCommandMsgPayload.DoubleVector_reserve(self, n)
|
415
|
+
|
416
|
+
def capacity(self):
|
417
|
+
return _MotorStepCommandMsgPayload.DoubleVector_capacity(self)
|
418
|
+
__swig_destroy__ = _MotorStepCommandMsgPayload.delete_DoubleVector
|
419
|
+
|
420
|
+
# Register DoubleVector in _MotorStepCommandMsgPayload:
|
421
|
+
_MotorStepCommandMsgPayload.DoubleVector_swigregister(DoubleVector)
|
422
|
+
class StringVector(object):
|
423
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
424
|
+
__repr__ = _swig_repr
|
425
|
+
|
426
|
+
def iterator(self):
|
427
|
+
return _MotorStepCommandMsgPayload.StringVector_iterator(self)
|
428
|
+
def __iter__(self):
|
429
|
+
return self.iterator()
|
430
|
+
|
431
|
+
def __nonzero__(self):
|
432
|
+
return _MotorStepCommandMsgPayload.StringVector___nonzero__(self)
|
433
|
+
|
434
|
+
def __bool__(self):
|
435
|
+
return _MotorStepCommandMsgPayload.StringVector___bool__(self)
|
436
|
+
|
437
|
+
def __len__(self):
|
438
|
+
return _MotorStepCommandMsgPayload.StringVector___len__(self)
|
439
|
+
|
440
|
+
def __getslice__(self, i, j):
|
441
|
+
return _MotorStepCommandMsgPayload.StringVector___getslice__(self, i, j)
|
442
|
+
|
443
|
+
def __setslice__(self, *args):
|
444
|
+
return _MotorStepCommandMsgPayload.StringVector___setslice__(self, *args)
|
445
|
+
|
446
|
+
def __delslice__(self, i, j):
|
447
|
+
return _MotorStepCommandMsgPayload.StringVector___delslice__(self, i, j)
|
448
|
+
|
449
|
+
def __delitem__(self, *args):
|
450
|
+
return _MotorStepCommandMsgPayload.StringVector___delitem__(self, *args)
|
451
|
+
|
452
|
+
def __getitem__(self, *args):
|
453
|
+
return _MotorStepCommandMsgPayload.StringVector___getitem__(self, *args)
|
454
|
+
|
455
|
+
def __setitem__(self, *args):
|
456
|
+
return _MotorStepCommandMsgPayload.StringVector___setitem__(self, *args)
|
457
|
+
|
458
|
+
def pop(self):
|
459
|
+
return _MotorStepCommandMsgPayload.StringVector_pop(self)
|
460
|
+
|
461
|
+
def append(self, x):
|
462
|
+
return _MotorStepCommandMsgPayload.StringVector_append(self, x)
|
463
|
+
|
464
|
+
def empty(self):
|
465
|
+
return _MotorStepCommandMsgPayload.StringVector_empty(self)
|
466
|
+
|
467
|
+
def size(self):
|
468
|
+
return _MotorStepCommandMsgPayload.StringVector_size(self)
|
469
|
+
|
470
|
+
def swap(self, v):
|
471
|
+
return _MotorStepCommandMsgPayload.StringVector_swap(self, v)
|
472
|
+
|
473
|
+
def begin(self):
|
474
|
+
return _MotorStepCommandMsgPayload.StringVector_begin(self)
|
475
|
+
|
476
|
+
def end(self):
|
477
|
+
return _MotorStepCommandMsgPayload.StringVector_end(self)
|
478
|
+
|
479
|
+
def rbegin(self):
|
480
|
+
return _MotorStepCommandMsgPayload.StringVector_rbegin(self)
|
481
|
+
|
482
|
+
def rend(self):
|
483
|
+
return _MotorStepCommandMsgPayload.StringVector_rend(self)
|
484
|
+
|
485
|
+
def clear(self):
|
486
|
+
return _MotorStepCommandMsgPayload.StringVector_clear(self)
|
487
|
+
|
488
|
+
def get_allocator(self):
|
489
|
+
return _MotorStepCommandMsgPayload.StringVector_get_allocator(self)
|
490
|
+
|
491
|
+
def pop_back(self):
|
492
|
+
return _MotorStepCommandMsgPayload.StringVector_pop_back(self)
|
493
|
+
|
494
|
+
def erase(self, *args):
|
495
|
+
return _MotorStepCommandMsgPayload.StringVector_erase(self, *args)
|
496
|
+
|
497
|
+
def __init__(self, *args):
|
498
|
+
_MotorStepCommandMsgPayload.StringVector_swiginit(self, _MotorStepCommandMsgPayload.new_StringVector(*args))
|
499
|
+
|
500
|
+
def push_back(self, x):
|
501
|
+
return _MotorStepCommandMsgPayload.StringVector_push_back(self, x)
|
502
|
+
|
503
|
+
def front(self):
|
504
|
+
return _MotorStepCommandMsgPayload.StringVector_front(self)
|
505
|
+
|
506
|
+
def back(self):
|
507
|
+
return _MotorStepCommandMsgPayload.StringVector_back(self)
|
508
|
+
|
509
|
+
def assign(self, n, x):
|
510
|
+
return _MotorStepCommandMsgPayload.StringVector_assign(self, n, x)
|
511
|
+
|
512
|
+
def resize(self, *args):
|
513
|
+
return _MotorStepCommandMsgPayload.StringVector_resize(self, *args)
|
514
|
+
|
515
|
+
def insert(self, *args):
|
516
|
+
return _MotorStepCommandMsgPayload.StringVector_insert(self, *args)
|
517
|
+
|
518
|
+
def reserve(self, n):
|
519
|
+
return _MotorStepCommandMsgPayload.StringVector_reserve(self, n)
|
520
|
+
|
521
|
+
def capacity(self):
|
522
|
+
return _MotorStepCommandMsgPayload.StringVector_capacity(self)
|
523
|
+
__swig_destroy__ = _MotorStepCommandMsgPayload.delete_StringVector
|
524
|
+
|
525
|
+
# Register StringVector in _MotorStepCommandMsgPayload:
|
526
|
+
_MotorStepCommandMsgPayload.StringVector_swigregister(StringVector)
|
527
|
+
MAX_CIRCLE_NUM = _MotorStepCommandMsgPayload.MAX_CIRCLE_NUM
|
528
|
+
MAX_LIMB_PNTS = _MotorStepCommandMsgPayload.MAX_LIMB_PNTS
|
529
|
+
MAX_EFF_CNT = _MotorStepCommandMsgPayload.MAX_EFF_CNT
|
530
|
+
MAX_NUM_CSS_SENSORS = _MotorStepCommandMsgPayload.MAX_NUM_CSS_SENSORS
|
531
|
+
MAX_ST_VEH_COUNT = _MotorStepCommandMsgPayload.MAX_ST_VEH_COUNT
|
532
|
+
NANO2SEC = _MotorStepCommandMsgPayload.NANO2SEC
|
533
|
+
SEC2NANO = _MotorStepCommandMsgPayload.SEC2NANO
|
534
|
+
SEC2HOUR = _MotorStepCommandMsgPayload.SEC2HOUR
|
535
|
+
|
536
|
+
def nanoToSec(nanos):
|
537
|
+
return _MotorStepCommandMsgPayload.nanoToSec(nanos)
|
538
|
+
|
539
|
+
def diffNanoToSec(time1Nano, time2Nano):
|
540
|
+
return _MotorStepCommandMsgPayload.diffNanoToSec(time1Nano, time2Nano)
|
541
|
+
|
542
|
+
def secToNano(seconds):
|
543
|
+
return _MotorStepCommandMsgPayload.secToNano(seconds)
|
544
|
+
BOOL_FALSE = _MotorStepCommandMsgPayload.BOOL_FALSE
|
545
|
+
BOOL_TRUE = _MotorStepCommandMsgPayload.BOOL_TRUE
|
546
|
+
AVAILABLE = _MotorStepCommandMsgPayload.AVAILABLE
|
547
|
+
UNAVAILABLE = _MotorStepCommandMsgPayload.UNAVAILABLE
|
548
|
+
BalancedWheels = _MotorStepCommandMsgPayload.BalancedWheels
|
549
|
+
JitterSimple = _MotorStepCommandMsgPayload.JitterSimple
|
550
|
+
JitterFullyCoupled = _MotorStepCommandMsgPayload.JitterFullyCoupled
|
551
|
+
class SysModel(object):
|
552
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
553
|
+
__repr__ = _swig_repr
|
554
|
+
|
555
|
+
def __init__(self, *args):
|
556
|
+
_MotorStepCommandMsgPayload.SysModel_swiginit(self, _MotorStepCommandMsgPayload.new_SysModel(*args))
|
557
|
+
__swig_destroy__ = _MotorStepCommandMsgPayload.delete_SysModel
|
558
|
+
|
559
|
+
def SelfInit(self):
|
560
|
+
return _MotorStepCommandMsgPayload.SysModel_SelfInit(self)
|
561
|
+
|
562
|
+
def IntegratedInit(self):
|
563
|
+
return _MotorStepCommandMsgPayload.SysModel_IntegratedInit(self)
|
564
|
+
|
565
|
+
def UpdateState(self, CurrentSimNanos):
|
566
|
+
return _MotorStepCommandMsgPayload.SysModel_UpdateState(self, CurrentSimNanos)
|
567
|
+
|
568
|
+
def Reset(self, CurrentSimNanos):
|
569
|
+
return _MotorStepCommandMsgPayload.SysModel_Reset(self, CurrentSimNanos)
|
570
|
+
ModelTag = property(_MotorStepCommandMsgPayload.SysModel_ModelTag_get, _MotorStepCommandMsgPayload.SysModel_ModelTag_set)
|
571
|
+
CallCounts = property(_MotorStepCommandMsgPayload.SysModel_CallCounts_get, _MotorStepCommandMsgPayload.SysModel_CallCounts_set)
|
572
|
+
RNGSeed = property(_MotorStepCommandMsgPayload.SysModel_RNGSeed_get, _MotorStepCommandMsgPayload.SysModel_RNGSeed_set)
|
573
|
+
moduleID = property(_MotorStepCommandMsgPayload.SysModel_moduleID_get, _MotorStepCommandMsgPayload.SysModel_moduleID_set)
|
574
|
+
|
575
|
+
# Register SysModel in _MotorStepCommandMsgPayload:
|
576
|
+
_MotorStepCommandMsgPayload.SysModel_swigregister(SysModel)
|
577
|
+
|
578
|
+
def new_ThrustConfigArray(nelements):
|
579
|
+
return _MotorStepCommandMsgPayload.new_ThrustConfigArray(nelements)
|
580
|
+
|
581
|
+
def delete_ThrustConfigArray(ary):
|
582
|
+
return _MotorStepCommandMsgPayload.delete_ThrustConfigArray(ary)
|
583
|
+
|
584
|
+
def ThrustConfigArray_getitem(ary, index):
|
585
|
+
return _MotorStepCommandMsgPayload.ThrustConfigArray_getitem(ary, index)
|
586
|
+
|
587
|
+
def ThrustConfigArray_setitem(ary, index, value):
|
588
|
+
return _MotorStepCommandMsgPayload.ThrustConfigArray_setitem(ary, index, value)
|
589
|
+
|
590
|
+
def new_RWConfigArray(nelements):
|
591
|
+
return _MotorStepCommandMsgPayload.new_RWConfigArray(nelements)
|
592
|
+
|
593
|
+
def delete_RWConfigArray(ary):
|
594
|
+
return _MotorStepCommandMsgPayload.delete_RWConfigArray(ary)
|
595
|
+
|
596
|
+
def RWConfigArray_getitem(ary, index):
|
597
|
+
return _MotorStepCommandMsgPayload.RWConfigArray_getitem(ary, index)
|
598
|
+
|
599
|
+
def RWConfigArray_setitem(ary, index, value):
|
600
|
+
return _MotorStepCommandMsgPayload.RWConfigArray_setitem(ary, index, value)
|
601
|
+
|
602
|
+
def new_ReconfigBurnArray(nelements):
|
603
|
+
return _MotorStepCommandMsgPayload.new_ReconfigBurnArray(nelements)
|
604
|
+
|
605
|
+
def delete_ReconfigBurnArray(ary):
|
606
|
+
return _MotorStepCommandMsgPayload.delete_ReconfigBurnArray(ary)
|
607
|
+
|
608
|
+
def ReconfigBurnArray_getitem(ary, index):
|
609
|
+
return _MotorStepCommandMsgPayload.ReconfigBurnArray_getitem(ary, index)
|
610
|
+
|
611
|
+
def ReconfigBurnArray_setitem(ary, index, value):
|
612
|
+
return _MotorStepCommandMsgPayload.ReconfigBurnArray_setitem(ary, index, value)
|
613
|
+
|
614
|
+
import numpy as np
|
615
|
+
|
616
|
+
class MotorStepCommandMsgPayload(object):
|
617
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
618
|
+
__repr__ = _swig_repr
|
619
|
+
stepsCommanded = property(_MotorStepCommandMsgPayload.MotorStepCommandMsgPayload_stepsCommanded_get, _MotorStepCommandMsgPayload.MotorStepCommandMsgPayload_stepsCommanded_set)
|
620
|
+
|
621
|
+
@classmethod
|
622
|
+
def __fields__(cls):
|
623
|
+
"""Returns a list with all the payload's fields."""
|
624
|
+
return tuple(
|
625
|
+
name
|
626
|
+
for name, _ in inspect.getmembers(
|
627
|
+
cls,
|
628
|
+
lambda v: isinstance(v, property) and v is not cls.thisown
|
629
|
+
)
|
630
|
+
)
|
631
|
+
|
632
|
+
def __repr__(self):
|
633
|
+
"""Formats the content of the payload"""
|
634
|
+
selfType = type(self)
|
635
|
+
fields = [
|
636
|
+
f"{name}={getattr(self, name)!r}"
|
637
|
+
for name in selfType.__fields__()
|
638
|
+
]
|
639
|
+
return selfType.__qualname__ + "(" + ', '.join(fields) + ")"
|
640
|
+
|
641
|
+
|
642
|
+
def __init__(self, **fields):
|
643
|
+
"""Constructs a new payload, zero'd by default.
|
644
|
+
|
645
|
+
Keyword arguments can be passed to initialize the fields of
|
646
|
+
this payload.
|
647
|
+
"""
|
648
|
+
_MotorStepCommandMsgPayload.MotorStepCommandMsgPayload_swiginit(self, _MotorStepCommandMsgPayload.new_MotorStepCommandMsgPayload())
|
649
|
+
for field, value in fields.items():
|
650
|
+
setattr(self, field, value)
|
651
|
+
|
652
|
+
|
653
|
+
__swig_destroy__ = _MotorStepCommandMsgPayload.delete_MotorStepCommandMsgPayload
|
654
|
+
|
655
|
+
# Register MotorStepCommandMsgPayload in _MotorStepCommandMsgPayload:
|
656
|
+
_MotorStepCommandMsgPayload.MotorStepCommandMsgPayload_swigregister(MotorStepCommandMsgPayload)
|
657
|
+
|
658
|
+
def _pprint_MotorStepCommandMsgPayload(pprinter, object, stream, indent, allowance, context, level):
|
659
|
+
"""Formatter function to support pretty-printing (with ``pprint``)."""
|
660
|
+
selfType = type(object)
|
661
|
+
cls_name = selfType.__qualname__
|
662
|
+
indent += len(cls_name) + 1
|
663
|
+
fields = [
|
664
|
+
(name, getattr(object, name))
|
665
|
+
for name in selfType.__fields__()
|
666
|
+
]
|
667
|
+
stream.write(cls_name + '(')
|
668
|
+
if fields:
|
669
|
+
delimnl = ',\n' + ' ' * indent
|
670
|
+
last_index = len(fields) - 1
|
671
|
+
for i, (key, ent) in enumerate(fields):
|
672
|
+
last = i == last_index
|
673
|
+
stream.write(key)
|
674
|
+
stream.write('=')
|
675
|
+
pprinter._format(ent, stream, indent + len(key) + 1,
|
676
|
+
allowance if last else 1,
|
677
|
+
context, level)
|
678
|
+
if not last:
|
679
|
+
stream.write(delimnl)
|
680
|
+
|
681
|
+
stream.write(')')
|
682
|
+
|
683
|
+
pprint.PrettyPrinter._dispatch[MotorStepCommandMsgPayload.__repr__] = _pprint_MotorStepCommandMsgPayload
|
684
|
+
|
685
|
+
class MotorStepCommandMsgReader(object):
|
686
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
687
|
+
__repr__ = _swig_repr
|
688
|
+
bskLogger = property(_MotorStepCommandMsgPayload.MotorStepCommandMsgReader_bskLogger_get, _MotorStepCommandMsgPayload.MotorStepCommandMsgReader_bskLogger_set)
|
689
|
+
zeroMsgPayload = property(_MotorStepCommandMsgPayload.MotorStepCommandMsgReader_zeroMsgPayload_get, _MotorStepCommandMsgPayload.MotorStepCommandMsgReader_zeroMsgPayload_set)
|
690
|
+
|
691
|
+
def __init__(self, *args):
|
692
|
+
_MotorStepCommandMsgPayload.MotorStepCommandMsgReader_swiginit(self, _MotorStepCommandMsgPayload.new_MotorStepCommandMsgReader(*args))
|
693
|
+
|
694
|
+
def __call__(self):
|
695
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgReader___call__(self)
|
696
|
+
|
697
|
+
def isLinked(self):
|
698
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgReader_isLinked(self)
|
699
|
+
|
700
|
+
def isWritten(self):
|
701
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgReader_isWritten(self)
|
702
|
+
|
703
|
+
def timeWritten(self):
|
704
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgReader_timeWritten(self)
|
705
|
+
|
706
|
+
def moduleID(self):
|
707
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgReader_moduleID(self)
|
708
|
+
|
709
|
+
def __subscribe_to_C(self, source):
|
710
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgReader___subscribe_to_C(self, source)
|
711
|
+
|
712
|
+
def subscribeToAddr(self, sourceAddr):
|
713
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgReader_subscribeToAddr(self, sourceAddr)
|
714
|
+
|
715
|
+
def subscribeToCAddr(self, sourceAddr):
|
716
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgReader_subscribeToCAddr(self, sourceAddr)
|
717
|
+
|
718
|
+
def __subscribe_to(self, source):
|
719
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgReader___subscribe_to(self, source)
|
720
|
+
|
721
|
+
def unsubscribe(self):
|
722
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgReader_unsubscribe(self)
|
723
|
+
|
724
|
+
def __is_subscribed_to_C(self, source):
|
725
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgReader___is_subscribed_to_C(self, source)
|
726
|
+
|
727
|
+
def __is_subscribed_to(self, source):
|
728
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgReader___is_subscribed_to(self, source)
|
729
|
+
|
730
|
+
def isSubscribedToAddr(self, sourceAddr):
|
731
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgReader_isSubscribedToAddr(self, sourceAddr)
|
732
|
+
|
733
|
+
def isSubscribedToCAddr(self, sourceAddr):
|
734
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgReader_isSubscribedToCAddr(self, sourceAddr)
|
735
|
+
|
736
|
+
def recorder(self, timeDiff=0):
|
737
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgReader_recorder(self, timeDiff)
|
738
|
+
|
739
|
+
def subscribeTo(self, source):
|
740
|
+
if type(source) == MotorStepCommandMsg:
|
741
|
+
self.__subscribe_to(source)
|
742
|
+
return
|
743
|
+
|
744
|
+
try:
|
745
|
+
from Basilisk.architecture.messaging.MotorStepCommandMsgPayload import MotorStepCommandMsg_C
|
746
|
+
if type(source) == MotorStepCommandMsg_C:
|
747
|
+
self.__subscribe_to_C(source)
|
748
|
+
return
|
749
|
+
except ImportError:
|
750
|
+
pass
|
751
|
+
|
752
|
+
raise Exception('tried to subscribe ReadFunctor<MotorStepCommandMsgPayload> to output message type'
|
753
|
+
+ str(type(source)))
|
754
|
+
|
755
|
+
|
756
|
+
def isSubscribedTo(self, source):
|
757
|
+
if type(source) == MotorStepCommandMsg:
|
758
|
+
return self.__is_subscribed_to(source)
|
759
|
+
|
760
|
+
try:
|
761
|
+
from Basilisk.architecture.messaging.MotorStepCommandMsgPayload import MotorStepCommandMsg_C
|
762
|
+
except ImportError:
|
763
|
+
return 0
|
764
|
+
|
765
|
+
if type(source) == MotorStepCommandMsg_C:
|
766
|
+
return self.__is_subscribed_to_C(source)
|
767
|
+
else:
|
768
|
+
return 0
|
769
|
+
|
770
|
+
__swig_destroy__ = _MotorStepCommandMsgPayload.delete_MotorStepCommandMsgReader
|
771
|
+
|
772
|
+
# Register MotorStepCommandMsgReader in _MotorStepCommandMsgPayload:
|
773
|
+
_MotorStepCommandMsgPayload.MotorStepCommandMsgReader_swigregister(MotorStepCommandMsgReader)
|
774
|
+
class MotorStepCommandMsgWriter(object):
|
775
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
776
|
+
__repr__ = _swig_repr
|
777
|
+
|
778
|
+
def __init__(self, *args):
|
779
|
+
_MotorStepCommandMsgPayload.MotorStepCommandMsgWriter_swiginit(self, _MotorStepCommandMsgPayload.new_MotorStepCommandMsgWriter(*args))
|
780
|
+
|
781
|
+
def __call__(self, payload, moduleID, callTime):
|
782
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgWriter___call__(self, payload, moduleID, callTime)
|
783
|
+
__swig_destroy__ = _MotorStepCommandMsgPayload.delete_MotorStepCommandMsgWriter
|
784
|
+
|
785
|
+
# Register MotorStepCommandMsgWriter in _MotorStepCommandMsgPayload:
|
786
|
+
_MotorStepCommandMsgPayload.MotorStepCommandMsgWriter_swigregister(MotorStepCommandMsgWriter)
|
787
|
+
class MotorStepCommandMsg(object):
|
788
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
789
|
+
__repr__ = _swig_repr
|
790
|
+
write = property(_MotorStepCommandMsgPayload.MotorStepCommandMsg_write_get, _MotorStepCommandMsgPayload.MotorStepCommandMsg_write_set)
|
791
|
+
|
792
|
+
def addSubscriber(self):
|
793
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsg_addSubscriber(self)
|
794
|
+
|
795
|
+
def addAuthor(self):
|
796
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsg_addAuthor(self)
|
797
|
+
|
798
|
+
def subscribeRaw(self, msgPtr):
|
799
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsg_subscribeRaw(self, msgPtr)
|
800
|
+
|
801
|
+
def getMsgPointers(self, msgPtr):
|
802
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsg_getMsgPointers(self, msgPtr)
|
803
|
+
|
804
|
+
def recorder(self, timeDiff=0):
|
805
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsg_recorder(self, timeDiff)
|
806
|
+
zeroMsgPayload = property(_MotorStepCommandMsgPayload.MotorStepCommandMsg_zeroMsgPayload_get, _MotorStepCommandMsgPayload.MotorStepCommandMsg_zeroMsgPayload_set)
|
807
|
+
|
808
|
+
def isLinked(self):
|
809
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsg_isLinked(self)
|
810
|
+
|
811
|
+
def getPayloadSize(self):
|
812
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsg_getPayloadSize(self)
|
813
|
+
|
814
|
+
def write(self, payload, time=0, moduleID=0):
|
815
|
+
"""Write the message payload.
|
816
|
+
The 2nd argument is time in nanoseconds. It is optional and defaults to 0.
|
817
|
+
The 3rd argument is the module ID which defaults to 0.
|
818
|
+
"""
|
819
|
+
writeMsg = self.addAuthor()
|
820
|
+
writeMsg(payload, moduleID, time)#msgs written in python have 0 module ID
|
821
|
+
return self
|
822
|
+
|
823
|
+
def read(self):
|
824
|
+
"""Read the message payload."""
|
825
|
+
readMsg = self.addSubscriber()
|
826
|
+
return readMsg()
|
827
|
+
|
828
|
+
|
829
|
+
def __init__(self):
|
830
|
+
_MotorStepCommandMsgPayload.MotorStepCommandMsg_swiginit(self, _MotorStepCommandMsgPayload.new_MotorStepCommandMsg())
|
831
|
+
__swig_destroy__ = _MotorStepCommandMsgPayload.delete_MotorStepCommandMsg
|
832
|
+
|
833
|
+
# Register MotorStepCommandMsg in _MotorStepCommandMsgPayload:
|
834
|
+
_MotorStepCommandMsgPayload.MotorStepCommandMsg_swigregister(MotorStepCommandMsg)
|
835
|
+
class MotorStepCommandMsgRecorder(SysModel):
|
836
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
837
|
+
__repr__ = _swig_repr
|
838
|
+
|
839
|
+
def __init__(self, *args):
|
840
|
+
_MotorStepCommandMsgPayload.MotorStepCommandMsgRecorder_swiginit(self, _MotorStepCommandMsgPayload.new_MotorStepCommandMsgRecorder(*args))
|
841
|
+
__swig_destroy__ = _MotorStepCommandMsgPayload.delete_MotorStepCommandMsgRecorder
|
842
|
+
|
843
|
+
def SelfInit(self):
|
844
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgRecorder_SelfInit(self)
|
845
|
+
|
846
|
+
def IntegratedInit(self):
|
847
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgRecorder_IntegratedInit(self)
|
848
|
+
|
849
|
+
def UpdateState(self, CurrentSimNanos):
|
850
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgRecorder_UpdateState(self, CurrentSimNanos)
|
851
|
+
|
852
|
+
def Reset(self, CurrentSimNanos):
|
853
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgRecorder_Reset(self, CurrentSimNanos)
|
854
|
+
|
855
|
+
def __time_vector(self):
|
856
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgRecorder___time_vector(self)
|
857
|
+
|
858
|
+
def __timeWritten_vector(self):
|
859
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgRecorder___timeWritten_vector(self)
|
860
|
+
|
861
|
+
def __record_vector(self):
|
862
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgRecorder___record_vector(self)
|
863
|
+
|
864
|
+
def size(self):
|
865
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgRecorder_size(self)
|
866
|
+
|
867
|
+
def findMsgName(self, msgName):
|
868
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgRecorder_findMsgName(self, msgName)
|
869
|
+
|
870
|
+
def clear(self):
|
871
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgRecorder_clear(self)
|
872
|
+
bskLogger = property(_MotorStepCommandMsgPayload.MotorStepCommandMsgRecorder_bskLogger_get, _MotorStepCommandMsgPayload.MotorStepCommandMsgRecorder_bskLogger_set)
|
873
|
+
|
874
|
+
def updateTimeInterval(self, timeDiff):
|
875
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgRecorder_updateTimeInterval(self, timeDiff)
|
876
|
+
|
877
|
+
def _stepsCommanded_array(self):
|
878
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgRecorder__stepsCommanded_array(self)
|
879
|
+
|
880
|
+
@property
|
881
|
+
def stepsCommanded(self):
|
882
|
+
return self._stepsCommanded_array()
|
883
|
+
|
884
|
+
|
885
|
+
def times(self):
|
886
|
+
return np.array(self.__time_vector())
|
887
|
+
|
888
|
+
def timesWritten(self):
|
889
|
+
return np.array(self.__timeWritten_vector())
|
890
|
+
|
891
|
+
def explore_and_find_subattr(self, attr, attr_name, outer_content=None):
|
892
|
+
if isinstance(attr, (int, float, str, bool)):
|
893
|
+
#Short circuit the most common attribute types
|
894
|
+
content = attr
|
895
|
+
elif "method" in str(type(attr)):
|
896
|
+
#The attribute is a method, nothing to do here
|
897
|
+
content = None
|
898
|
+
elif isinstance(attr, list):
|
899
|
+
#The attribute is a list of yet to be determined types
|
900
|
+
if len(attr) > 0:
|
901
|
+
if "Basilisk" in str(type(attr[0])):
|
902
|
+
content = outer_content if outer_content else dict()
|
903
|
+
#The attribute is a list of swigged BSK objects
|
904
|
+
for el, k in zip(attr, range(len(attr))):
|
905
|
+
self.explore_and_find_subattr(el, attr_name + "[" + str(k) + "]", content)
|
906
|
+
else:
|
907
|
+
#The attribute is a list of common types
|
908
|
+
content = attr
|
909
|
+
elif "Basilisk" in str(type(attr)):
|
910
|
+
#The attribute is a swigged BSK object
|
911
|
+
#Check to see if the object is a vector and pull out the data
|
912
|
+
if "Vector" in str(type(attr)) or "vector" in str(type(attr)):
|
913
|
+
content = []
|
914
|
+
for data in attr:
|
915
|
+
content.append(data)
|
916
|
+
else:
|
917
|
+
content = outer_content if outer_content else dict()
|
918
|
+
for subattr_name in dir(attr):
|
919
|
+
if not subattr_name.startswith("__") and subattr_name != "this":
|
920
|
+
self.explore_and_find_subattr(getattr(attr, subattr_name),
|
921
|
+
attr_name + "." + subattr_name,
|
922
|
+
content)
|
923
|
+
else:
|
924
|
+
#The attribute has a common type
|
925
|
+
content = attr
|
926
|
+
|
927
|
+
if outer_content is None:
|
928
|
+
return content
|
929
|
+
else:
|
930
|
+
#Dont report methods
|
931
|
+
if content is not None:
|
932
|
+
outer_content[attr_name] = content
|
933
|
+
|
934
|
+
#Cache if we can use the fast attr lookup, assuming that attr types are static
|
935
|
+
simple_attribute_map = {}
|
936
|
+
|
937
|
+
#This __getattr__ is written in message.i.
|
938
|
+
#It lets us return message struct attribute record as lists for plotting, etc.
|
939
|
+
def __getattr__(self, name):
|
940
|
+
data = self.__record_vector()
|
941
|
+
data_record = []
|
942
|
+
for rec in data.get_all():
|
943
|
+
#Allow us to skip explore_and_find_subattr when we dont have a complex attr
|
944
|
+
if name not in self.simple_attribute_map:
|
945
|
+
simple_content = rec.__getattribute__(name)
|
946
|
+
content = self.explore_and_find_subattr(simple_content, name)
|
947
|
+
if content == simple_content:
|
948
|
+
self.simple_attribute_map[name] = True
|
949
|
+
else:
|
950
|
+
deprecated.deprecationWarn(
|
951
|
+
self.__getattr__.__module__ + "." + self.__getattr__.__qualname__,
|
952
|
+
"2026/07/27",
|
953
|
+
"Compiled Basilisk with '--recorderPropertyRollback True' and using "
|
954
|
+
"deprecated output format for non-numeric payload recorder attribute. Don't use "
|
955
|
+
"'--recorderPropertyRollback' and update the code to handle the new output format.")
|
956
|
+
self.simple_attribute_map[name] = False
|
957
|
+
else:
|
958
|
+
if self.simple_attribute_map[name]:
|
959
|
+
content = rec.__getattribute__(name)
|
960
|
+
else:
|
961
|
+
content = self.explore_and_find_subattr(
|
962
|
+
rec.__getattribute__(name), name
|
963
|
+
)
|
964
|
+
|
965
|
+
#One-element list of BSK objects or raw dicts
|
966
|
+
if isinstance(content, dict) and len(content) == 1 and "." not in str(list(content.keys())[0]):
|
967
|
+
data_record.append(next(iter(content.values())))
|
968
|
+
else:
|
969
|
+
data_record.append(content)
|
970
|
+
|
971
|
+
return np.array(data_record)
|
972
|
+
|
973
|
+
def record(self):
|
974
|
+
return self.__record_vector
|
975
|
+
|
976
|
+
|
977
|
+
# Register MotorStepCommandMsgRecorder in _MotorStepCommandMsgPayload:
|
978
|
+
_MotorStepCommandMsgPayload.MotorStepCommandMsgRecorder_swigregister(MotorStepCommandMsgRecorder)
|
979
|
+
class MotorStepCommandMsgPayloadVector(object):
|
980
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
981
|
+
__repr__ = _swig_repr
|
982
|
+
|
983
|
+
def iterator(self):
|
984
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector_iterator(self)
|
985
|
+
def __iter__(self):
|
986
|
+
return self.iterator()
|
987
|
+
|
988
|
+
def __nonzero__(self):
|
989
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector___nonzero__(self)
|
990
|
+
|
991
|
+
def __bool__(self):
|
992
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector___bool__(self)
|
993
|
+
|
994
|
+
def __len__(self):
|
995
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector___len__(self)
|
996
|
+
|
997
|
+
def __getslice__(self, i, j):
|
998
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector___getslice__(self, i, j)
|
999
|
+
|
1000
|
+
def __setslice__(self, *args):
|
1001
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector___setslice__(self, *args)
|
1002
|
+
|
1003
|
+
def __delslice__(self, i, j):
|
1004
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector___delslice__(self, i, j)
|
1005
|
+
|
1006
|
+
def __delitem__(self, *args):
|
1007
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector___delitem__(self, *args)
|
1008
|
+
|
1009
|
+
def __getitem__(self, *args):
|
1010
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector___getitem__(self, *args)
|
1011
|
+
|
1012
|
+
def __setitem__(self, *args):
|
1013
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector___setitem__(self, *args)
|
1014
|
+
|
1015
|
+
def pop(self):
|
1016
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector_pop(self)
|
1017
|
+
|
1018
|
+
def append(self, x):
|
1019
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector_append(self, x)
|
1020
|
+
|
1021
|
+
def empty(self):
|
1022
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector_empty(self)
|
1023
|
+
|
1024
|
+
def size(self):
|
1025
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector_size(self)
|
1026
|
+
|
1027
|
+
def swap(self, v):
|
1028
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector_swap(self, v)
|
1029
|
+
|
1030
|
+
def begin(self):
|
1031
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector_begin(self)
|
1032
|
+
|
1033
|
+
def end(self):
|
1034
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector_end(self)
|
1035
|
+
|
1036
|
+
def rbegin(self):
|
1037
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector_rbegin(self)
|
1038
|
+
|
1039
|
+
def rend(self):
|
1040
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector_rend(self)
|
1041
|
+
|
1042
|
+
def clear(self):
|
1043
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector_clear(self)
|
1044
|
+
|
1045
|
+
def get_allocator(self):
|
1046
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector_get_allocator(self)
|
1047
|
+
|
1048
|
+
def pop_back(self):
|
1049
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector_pop_back(self)
|
1050
|
+
|
1051
|
+
def erase(self, *args):
|
1052
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector_erase(self, *args)
|
1053
|
+
|
1054
|
+
def __init__(self, *args):
|
1055
|
+
_MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector_swiginit(self, _MotorStepCommandMsgPayload.new_MotorStepCommandMsgPayloadVector(*args))
|
1056
|
+
|
1057
|
+
def push_back(self, x):
|
1058
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector_push_back(self, x)
|
1059
|
+
|
1060
|
+
def front(self):
|
1061
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector_front(self)
|
1062
|
+
|
1063
|
+
def back(self):
|
1064
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector_back(self)
|
1065
|
+
|
1066
|
+
def assign(self, n, x):
|
1067
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector_assign(self, n, x)
|
1068
|
+
|
1069
|
+
def resize(self, *args):
|
1070
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector_resize(self, *args)
|
1071
|
+
|
1072
|
+
def insert(self, *args):
|
1073
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector_insert(self, *args)
|
1074
|
+
|
1075
|
+
def reserve(self, n):
|
1076
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector_reserve(self, n)
|
1077
|
+
|
1078
|
+
def capacity(self):
|
1079
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector_capacity(self)
|
1080
|
+
|
1081
|
+
def get_all(self):
|
1082
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector_get_all(self)
|
1083
|
+
|
1084
|
+
#This __getattr__ is written in message.i.
|
1085
|
+
#It lets us return message struct attribute record as lists for plotting, etc.
|
1086
|
+
def __getattr__(self, name):
|
1087
|
+
data_record = []
|
1088
|
+
for rec in self.get_all():
|
1089
|
+
data_record.append(rec.__getattribute__(name))
|
1090
|
+
return np.array(data_record)
|
1091
|
+
|
1092
|
+
__swig_destroy__ = _MotorStepCommandMsgPayload.delete_MotorStepCommandMsgPayloadVector
|
1093
|
+
|
1094
|
+
# Register MotorStepCommandMsgPayloadVector in _MotorStepCommandMsgPayload:
|
1095
|
+
_MotorStepCommandMsgPayload.MotorStepCommandMsgPayloadVector_swigregister(MotorStepCommandMsgPayloadVector)
|
1096
|
+
class MotorStepCommandMsgOutMsgsVector(object):
|
1097
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
1098
|
+
__repr__ = _swig_repr
|
1099
|
+
|
1100
|
+
def iterator(self):
|
1101
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector_iterator(self)
|
1102
|
+
def __iter__(self):
|
1103
|
+
return self.iterator()
|
1104
|
+
|
1105
|
+
def __nonzero__(self):
|
1106
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector___nonzero__(self)
|
1107
|
+
|
1108
|
+
def __bool__(self):
|
1109
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector___bool__(self)
|
1110
|
+
|
1111
|
+
def __len__(self):
|
1112
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector___len__(self)
|
1113
|
+
|
1114
|
+
def __getslice__(self, i, j):
|
1115
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector___getslice__(self, i, j)
|
1116
|
+
|
1117
|
+
def __setslice__(self, *args):
|
1118
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector___setslice__(self, *args)
|
1119
|
+
|
1120
|
+
def __delslice__(self, i, j):
|
1121
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector___delslice__(self, i, j)
|
1122
|
+
|
1123
|
+
def __delitem__(self, *args):
|
1124
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector___delitem__(self, *args)
|
1125
|
+
|
1126
|
+
def __getitem__(self, *args):
|
1127
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector___getitem__(self, *args)
|
1128
|
+
|
1129
|
+
def __setitem__(self, *args):
|
1130
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector___setitem__(self, *args)
|
1131
|
+
|
1132
|
+
def pop(self):
|
1133
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector_pop(self)
|
1134
|
+
|
1135
|
+
def append(self, x):
|
1136
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector_append(self, x)
|
1137
|
+
|
1138
|
+
def empty(self):
|
1139
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector_empty(self)
|
1140
|
+
|
1141
|
+
def size(self):
|
1142
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector_size(self)
|
1143
|
+
|
1144
|
+
def swap(self, v):
|
1145
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector_swap(self, v)
|
1146
|
+
|
1147
|
+
def begin(self):
|
1148
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector_begin(self)
|
1149
|
+
|
1150
|
+
def end(self):
|
1151
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector_end(self)
|
1152
|
+
|
1153
|
+
def rbegin(self):
|
1154
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector_rbegin(self)
|
1155
|
+
|
1156
|
+
def rend(self):
|
1157
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector_rend(self)
|
1158
|
+
|
1159
|
+
def clear(self):
|
1160
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector_clear(self)
|
1161
|
+
|
1162
|
+
def get_allocator(self):
|
1163
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector_get_allocator(self)
|
1164
|
+
|
1165
|
+
def pop_back(self):
|
1166
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector_pop_back(self)
|
1167
|
+
|
1168
|
+
def erase(self, *args):
|
1169
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector_erase(self, *args)
|
1170
|
+
|
1171
|
+
def __init__(self, *args):
|
1172
|
+
_MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector_swiginit(self, _MotorStepCommandMsgPayload.new_MotorStepCommandMsgOutMsgsVector(*args))
|
1173
|
+
|
1174
|
+
def push_back(self, x):
|
1175
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector_push_back(self, x)
|
1176
|
+
|
1177
|
+
def front(self):
|
1178
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector_front(self)
|
1179
|
+
|
1180
|
+
def back(self):
|
1181
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector_back(self)
|
1182
|
+
|
1183
|
+
def assign(self, n, x):
|
1184
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector_assign(self, n, x)
|
1185
|
+
|
1186
|
+
def resize(self, *args):
|
1187
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector_resize(self, *args)
|
1188
|
+
|
1189
|
+
def insert(self, *args):
|
1190
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector_insert(self, *args)
|
1191
|
+
|
1192
|
+
def reserve(self, n):
|
1193
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector_reserve(self, n)
|
1194
|
+
|
1195
|
+
def capacity(self):
|
1196
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector_capacity(self)
|
1197
|
+
__swig_destroy__ = _MotorStepCommandMsgPayload.delete_MotorStepCommandMsgOutMsgsVector
|
1198
|
+
|
1199
|
+
# Register MotorStepCommandMsgOutMsgsVector in _MotorStepCommandMsgPayload:
|
1200
|
+
_MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsVector_swigregister(MotorStepCommandMsgOutMsgsVector)
|
1201
|
+
class MotorStepCommandMsgOutMsgsPtrVector(object):
|
1202
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
1203
|
+
__repr__ = _swig_repr
|
1204
|
+
|
1205
|
+
def iterator(self):
|
1206
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector_iterator(self)
|
1207
|
+
def __iter__(self):
|
1208
|
+
return self.iterator()
|
1209
|
+
|
1210
|
+
def __nonzero__(self):
|
1211
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector___nonzero__(self)
|
1212
|
+
|
1213
|
+
def __bool__(self):
|
1214
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector___bool__(self)
|
1215
|
+
|
1216
|
+
def __len__(self):
|
1217
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector___len__(self)
|
1218
|
+
|
1219
|
+
def __getslice__(self, i, j):
|
1220
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector___getslice__(self, i, j)
|
1221
|
+
|
1222
|
+
def __setslice__(self, *args):
|
1223
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector___setslice__(self, *args)
|
1224
|
+
|
1225
|
+
def __delslice__(self, i, j):
|
1226
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector___delslice__(self, i, j)
|
1227
|
+
|
1228
|
+
def __delitem__(self, *args):
|
1229
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector___delitem__(self, *args)
|
1230
|
+
|
1231
|
+
def __getitem__(self, *args):
|
1232
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector___getitem__(self, *args)
|
1233
|
+
|
1234
|
+
def __setitem__(self, *args):
|
1235
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector___setitem__(self, *args)
|
1236
|
+
|
1237
|
+
def pop(self):
|
1238
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector_pop(self)
|
1239
|
+
|
1240
|
+
def append(self, x):
|
1241
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector_append(self, x)
|
1242
|
+
|
1243
|
+
def empty(self):
|
1244
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector_empty(self)
|
1245
|
+
|
1246
|
+
def size(self):
|
1247
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector_size(self)
|
1248
|
+
|
1249
|
+
def swap(self, v):
|
1250
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector_swap(self, v)
|
1251
|
+
|
1252
|
+
def begin(self):
|
1253
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector_begin(self)
|
1254
|
+
|
1255
|
+
def end(self):
|
1256
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector_end(self)
|
1257
|
+
|
1258
|
+
def rbegin(self):
|
1259
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector_rbegin(self)
|
1260
|
+
|
1261
|
+
def rend(self):
|
1262
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector_rend(self)
|
1263
|
+
|
1264
|
+
def clear(self):
|
1265
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector_clear(self)
|
1266
|
+
|
1267
|
+
def get_allocator(self):
|
1268
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector_get_allocator(self)
|
1269
|
+
|
1270
|
+
def pop_back(self):
|
1271
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector_pop_back(self)
|
1272
|
+
|
1273
|
+
def erase(self, *args):
|
1274
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector_erase(self, *args)
|
1275
|
+
|
1276
|
+
def __init__(self, *args):
|
1277
|
+
_MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector_swiginit(self, _MotorStepCommandMsgPayload.new_MotorStepCommandMsgOutMsgsPtrVector(*args))
|
1278
|
+
|
1279
|
+
def push_back(self, x):
|
1280
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector_push_back(self, x)
|
1281
|
+
|
1282
|
+
def front(self):
|
1283
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector_front(self)
|
1284
|
+
|
1285
|
+
def back(self):
|
1286
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector_back(self)
|
1287
|
+
|
1288
|
+
def assign(self, n, x):
|
1289
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector_assign(self, n, x)
|
1290
|
+
|
1291
|
+
def resize(self, *args):
|
1292
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector_resize(self, *args)
|
1293
|
+
|
1294
|
+
def insert(self, *args):
|
1295
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector_insert(self, *args)
|
1296
|
+
|
1297
|
+
def reserve(self, n):
|
1298
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector_reserve(self, n)
|
1299
|
+
|
1300
|
+
def capacity(self):
|
1301
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector_capacity(self)
|
1302
|
+
__swig_destroy__ = _MotorStepCommandMsgPayload.delete_MotorStepCommandMsgOutMsgsPtrVector
|
1303
|
+
|
1304
|
+
# Register MotorStepCommandMsgOutMsgsPtrVector in _MotorStepCommandMsgPayload:
|
1305
|
+
_MotorStepCommandMsgPayload.MotorStepCommandMsgOutMsgsPtrVector_swigregister(MotorStepCommandMsgOutMsgsPtrVector)
|
1306
|
+
class MotorStepCommandMsgInMsgsVector(object):
|
1307
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
1308
|
+
__repr__ = _swig_repr
|
1309
|
+
|
1310
|
+
def iterator(self):
|
1311
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector_iterator(self)
|
1312
|
+
def __iter__(self):
|
1313
|
+
return self.iterator()
|
1314
|
+
|
1315
|
+
def __nonzero__(self):
|
1316
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector___nonzero__(self)
|
1317
|
+
|
1318
|
+
def __bool__(self):
|
1319
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector___bool__(self)
|
1320
|
+
|
1321
|
+
def __len__(self):
|
1322
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector___len__(self)
|
1323
|
+
|
1324
|
+
def __getslice__(self, i, j):
|
1325
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector___getslice__(self, i, j)
|
1326
|
+
|
1327
|
+
def __setslice__(self, *args):
|
1328
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector___setslice__(self, *args)
|
1329
|
+
|
1330
|
+
def __delslice__(self, i, j):
|
1331
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector___delslice__(self, i, j)
|
1332
|
+
|
1333
|
+
def __delitem__(self, *args):
|
1334
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector___delitem__(self, *args)
|
1335
|
+
|
1336
|
+
def __getitem__(self, *args):
|
1337
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector___getitem__(self, *args)
|
1338
|
+
|
1339
|
+
def __setitem__(self, *args):
|
1340
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector___setitem__(self, *args)
|
1341
|
+
|
1342
|
+
def pop(self):
|
1343
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector_pop(self)
|
1344
|
+
|
1345
|
+
def append(self, x):
|
1346
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector_append(self, x)
|
1347
|
+
|
1348
|
+
def empty(self):
|
1349
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector_empty(self)
|
1350
|
+
|
1351
|
+
def size(self):
|
1352
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector_size(self)
|
1353
|
+
|
1354
|
+
def swap(self, v):
|
1355
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector_swap(self, v)
|
1356
|
+
|
1357
|
+
def begin(self):
|
1358
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector_begin(self)
|
1359
|
+
|
1360
|
+
def end(self):
|
1361
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector_end(self)
|
1362
|
+
|
1363
|
+
def rbegin(self):
|
1364
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector_rbegin(self)
|
1365
|
+
|
1366
|
+
def rend(self):
|
1367
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector_rend(self)
|
1368
|
+
|
1369
|
+
def clear(self):
|
1370
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector_clear(self)
|
1371
|
+
|
1372
|
+
def get_allocator(self):
|
1373
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector_get_allocator(self)
|
1374
|
+
|
1375
|
+
def pop_back(self):
|
1376
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector_pop_back(self)
|
1377
|
+
|
1378
|
+
def erase(self, *args):
|
1379
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector_erase(self, *args)
|
1380
|
+
|
1381
|
+
def __init__(self, *args):
|
1382
|
+
_MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector_swiginit(self, _MotorStepCommandMsgPayload.new_MotorStepCommandMsgInMsgsVector(*args))
|
1383
|
+
|
1384
|
+
def push_back(self, x):
|
1385
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector_push_back(self, x)
|
1386
|
+
|
1387
|
+
def front(self):
|
1388
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector_front(self)
|
1389
|
+
|
1390
|
+
def back(self):
|
1391
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector_back(self)
|
1392
|
+
|
1393
|
+
def assign(self, n, x):
|
1394
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector_assign(self, n, x)
|
1395
|
+
|
1396
|
+
def resize(self, *args):
|
1397
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector_resize(self, *args)
|
1398
|
+
|
1399
|
+
def insert(self, *args):
|
1400
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector_insert(self, *args)
|
1401
|
+
|
1402
|
+
def reserve(self, n):
|
1403
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector_reserve(self, n)
|
1404
|
+
|
1405
|
+
def capacity(self):
|
1406
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector_capacity(self)
|
1407
|
+
__swig_destroy__ = _MotorStepCommandMsgPayload.delete_MotorStepCommandMsgInMsgsVector
|
1408
|
+
|
1409
|
+
# Register MotorStepCommandMsgInMsgsVector in _MotorStepCommandMsgPayload:
|
1410
|
+
_MotorStepCommandMsgPayload.MotorStepCommandMsgInMsgsVector_swigregister(MotorStepCommandMsgInMsgsVector)
|
1411
|
+
class MotorStepCommandMsg_C(object):
|
1412
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
1413
|
+
__repr__ = _swig_repr
|
1414
|
+
header = property(_MotorStepCommandMsgPayload.MotorStepCommandMsg_C_header_get, _MotorStepCommandMsgPayload.MotorStepCommandMsg_C_header_set)
|
1415
|
+
payload = property(_MotorStepCommandMsgPayload.MotorStepCommandMsg_C_payload_get, _MotorStepCommandMsgPayload.MotorStepCommandMsg_C_payload_set)
|
1416
|
+
payloadPointer = property(_MotorStepCommandMsgPayload.MotorStepCommandMsg_C_payloadPointer_get, _MotorStepCommandMsgPayload.MotorStepCommandMsg_C_payloadPointer_set)
|
1417
|
+
headerPointer = property(_MotorStepCommandMsgPayload.MotorStepCommandMsg_C_headerPointer_get, _MotorStepCommandMsgPayload.MotorStepCommandMsg_C_headerPointer_set)
|
1418
|
+
|
1419
|
+
def recorder(self, timeDiff=0):
|
1420
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsg_C_recorder(self, timeDiff)
|
1421
|
+
|
1422
|
+
|
1423
|
+
def subscribeTo(self, source):
|
1424
|
+
"""subscribe to another message source"""
|
1425
|
+
from Basilisk.architecture.messaging import MotorStepCommandMsg
|
1426
|
+
if type(source) == type(self):
|
1427
|
+
MotorStepCommandMsg_C_subscribe(self, source)
|
1428
|
+
elif type(source) == MotorStepCommandMsg:
|
1429
|
+
MotorStepCommandMsg_cpp_subscribe(self, source)
|
1430
|
+
elif type(source) == int: #Note that is assumes it is a uint64_t address in memory
|
1431
|
+
MotorStepCommandMsg_addr_subscribe(self, source)
|
1432
|
+
else:
|
1433
|
+
raise Exception('tried to subscribe MotorStepCommandMsg to another message type')
|
1434
|
+
|
1435
|
+
def unsubscribe(self):
|
1436
|
+
"""Unsubscribe to the connected message, noop if no message was connected"""
|
1437
|
+
MotorStepCommandMsg_unsubscribe(self)
|
1438
|
+
|
1439
|
+
def isSubscribedTo(self, source):
|
1440
|
+
"""check if self is subscribed to another message source"""
|
1441
|
+
from Basilisk.architecture.messaging import MotorStepCommandMsg
|
1442
|
+
if type(source) == type(self):
|
1443
|
+
return (MotorStepCommandMsg_C_isSubscribedTo(self, source))
|
1444
|
+
elif type(source) == MotorStepCommandMsg:
|
1445
|
+
return (MotorStepCommandMsg_cpp_isSubscribedTo(self, source))
|
1446
|
+
elif type(source) == int: #Note that this assumes it is a uint64_t address location in memory
|
1447
|
+
return (MotorStepCommandMsg_cpp_isSubscribedToAddr(self, source))
|
1448
|
+
else:
|
1449
|
+
return 0
|
1450
|
+
|
1451
|
+
|
1452
|
+
def init(self, data=None):
|
1453
|
+
"""returns a Msg copy connected to itself"""
|
1454
|
+
MotorStepCommandMsg_C_addAuthor(self, self)
|
1455
|
+
if data:
|
1456
|
+
MotorStepCommandMsg_C_write(data, self, -1, 0)
|
1457
|
+
return self
|
1458
|
+
|
1459
|
+
def write(self, payload, time=0, moduleID=0):
|
1460
|
+
"""write the message payload.
|
1461
|
+
The 2nd argument is time in nanoseconds. It is optional and defaults to 0.
|
1462
|
+
The 3rd argument is the module ID which defaults to 0.
|
1463
|
+
"""
|
1464
|
+
MotorStepCommandMsg_C_addAuthor(self, self)
|
1465
|
+
MotorStepCommandMsg_C_write(payload, self, moduleID, time) # msgs written in Python have 0 module ID
|
1466
|
+
return self
|
1467
|
+
|
1468
|
+
def read(self):
|
1469
|
+
"""read the message payload."""
|
1470
|
+
return MotorStepCommandMsg_C_read(self)
|
1471
|
+
|
1472
|
+
|
1473
|
+
def __init__(self):
|
1474
|
+
_MotorStepCommandMsgPayload.MotorStepCommandMsg_C_swiginit(self, _MotorStepCommandMsgPayload.new_MotorStepCommandMsg_C())
|
1475
|
+
__swig_destroy__ = _MotorStepCommandMsgPayload.delete_MotorStepCommandMsg_C
|
1476
|
+
|
1477
|
+
# Register MotorStepCommandMsg_C in _MotorStepCommandMsgPayload:
|
1478
|
+
_MotorStepCommandMsgPayload.MotorStepCommandMsg_C_swigregister(MotorStepCommandMsg_C)
|
1479
|
+
|
1480
|
+
def MotorStepCommandMsg_cpp_subscribe(subscriber, source):
|
1481
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsg_cpp_subscribe(subscriber, source)
|
1482
|
+
|
1483
|
+
def MotorStepCommandMsg_C_subscribe(subscriber, source):
|
1484
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsg_C_subscribe(subscriber, source)
|
1485
|
+
|
1486
|
+
def MotorStepCommandMsg_addr_subscribe(subscriber, sourceAddr):
|
1487
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsg_addr_subscribe(subscriber, sourceAddr)
|
1488
|
+
|
1489
|
+
def MotorStepCommandMsg_unsubscribe(subscriber):
|
1490
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsg_unsubscribe(subscriber)
|
1491
|
+
|
1492
|
+
def MotorStepCommandMsg_C_isSubscribedTo(subscriber, source):
|
1493
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsg_C_isSubscribedTo(subscriber, source)
|
1494
|
+
|
1495
|
+
def MotorStepCommandMsg_cpp_isSubscribedTo(subscriber, source):
|
1496
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsg_cpp_isSubscribedTo(subscriber, source)
|
1497
|
+
|
1498
|
+
def MotorStepCommandMsg_cpp_isSubscribedToAddr(subscriber, sourceAddr):
|
1499
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsg_cpp_isSubscribedToAddr(subscriber, sourceAddr)
|
1500
|
+
|
1501
|
+
def MotorStepCommandMsg_C_addAuthor(coowner, data):
|
1502
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsg_C_addAuthor(coowner, data)
|
1503
|
+
|
1504
|
+
def MotorStepCommandMsg_C_init(owner):
|
1505
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsg_C_init(owner)
|
1506
|
+
|
1507
|
+
def MotorStepCommandMsg_C_isLinked(data):
|
1508
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsg_C_isLinked(data)
|
1509
|
+
|
1510
|
+
def MotorStepCommandMsg_C_isWritten(data):
|
1511
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsg_C_isWritten(data)
|
1512
|
+
|
1513
|
+
def MotorStepCommandMsg_C_timeWritten(data):
|
1514
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsg_C_timeWritten(data)
|
1515
|
+
|
1516
|
+
def MotorStepCommandMsg_C_moduleID(data):
|
1517
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsg_C_moduleID(data)
|
1518
|
+
|
1519
|
+
def MotorStepCommandMsg_C_write(data, destination, moduleID, callTime):
|
1520
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsg_C_write(data, destination, moduleID, callTime)
|
1521
|
+
|
1522
|
+
def MotorStepCommandMsg_C_read(source):
|
1523
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsg_C_read(source)
|
1524
|
+
|
1525
|
+
def MotorStepCommandMsg_C_zeroMsgPayload():
|
1526
|
+
return _MotorStepCommandMsgPayload.MotorStepCommandMsg_C_zeroMsgPayload()
|
1527
|
+
class MsgHeader(object):
|
1528
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
1529
|
+
__repr__ = _swig_repr
|
1530
|
+
isLinked = property(_MotorStepCommandMsgPayload.MsgHeader_isLinked_get, _MotorStepCommandMsgPayload.MsgHeader_isLinked_set)
|
1531
|
+
isWritten = property(_MotorStepCommandMsgPayload.MsgHeader_isWritten_get, _MotorStepCommandMsgPayload.MsgHeader_isWritten_set)
|
1532
|
+
timeWritten = property(_MotorStepCommandMsgPayload.MsgHeader_timeWritten_get, _MotorStepCommandMsgPayload.MsgHeader_timeWritten_set)
|
1533
|
+
moduleID = property(_MotorStepCommandMsgPayload.MsgHeader_moduleID_get, _MotorStepCommandMsgPayload.MsgHeader_moduleID_set)
|
1534
|
+
|
1535
|
+
def __init__(self):
|
1536
|
+
_MotorStepCommandMsgPayload.MsgHeader_swiginit(self, _MotorStepCommandMsgPayload.new_MsgHeader())
|
1537
|
+
__swig_destroy__ = _MotorStepCommandMsgPayload.delete_MsgHeader
|
1538
|
+
|
1539
|
+
# Register MsgHeader in _MotorStepCommandMsgPayload:
|
1540
|
+
_MotorStepCommandMsgPayload.MsgHeader_swigregister(MsgHeader)
|
1541
|
+
|