bsk 2.8.21__cp38-abi3-macosx_11_0_arm64.whl → 2.8.23__cp38-abi3-macosx_11_0_arm64.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.
Files changed (399) hide show
  1. Basilisk/.dylibs/libModuleIdGenerator.dylib +0 -0
  2. Basilisk/.dylibs/libarchitectureLib.dylib +0 -0
  3. Basilisk/.dylibs/libdynamicsLib.dylib +0 -0
  4. Basilisk/.dylibs/libeffectorInterfacesLib.dylib +0 -0
  5. Basilisk/.dylibs/libenvironmentLib.dylib +0 -0
  6. Basilisk/.dylibs/libmujocoDynamicsLib.dylib +0 -0
  7. Basilisk/.dylibs/libonboardDataHandlingLib.dylib +0 -0
  8. Basilisk/.dylibs/libpowerLib.dylib +0 -0
  9. Basilisk/.dylibs/libtransDeterminationLib.dylib +0 -0
  10. Basilisk/architecture/_BSpline.so +0 -0
  11. Basilisk/architecture/_alg_contain.so +0 -0
  12. Basilisk/architecture/_astroConstants.so +0 -0
  13. Basilisk/architecture/_avsLibrarySelfCheck.so +0 -0
  14. Basilisk/architecture/_bskLogging.so +0 -0
  15. Basilisk/architecture/_bskUtilities.so +0 -0
  16. Basilisk/architecture/_keplerianOrbit.so +0 -0
  17. Basilisk/architecture/_moduleIdGenerator.so +0 -0
  18. Basilisk/architecture/_py_sys_model.so +0 -0
  19. Basilisk/architecture/_sim_model.so +0 -0
  20. Basilisk/architecture/_swigDeprecatedCheck.so +0 -0
  21. Basilisk/architecture/_swigEigenCheck.so +0 -0
  22. Basilisk/architecture/_swig_c_wrap.so +0 -0
  23. Basilisk/architecture/_swig_common_model.so +0 -0
  24. Basilisk/architecture/_swig_conly_data.so +0 -0
  25. Basilisk/architecture/_swig_deprecated.so +0 -0
  26. Basilisk/architecture/_swig_eigen.so +0 -0
  27. Basilisk/architecture/_swig_std_array.so +0 -0
  28. Basilisk/architecture/_sys_model.so +0 -0
  29. Basilisk/architecture/_sys_model_task.so +0 -0
  30. Basilisk/architecture/messaging/AccDataMsgPayload.py +8 -0
  31. Basilisk/architecture/messaging/CSSConfigMsgPayload.py +8 -0
  32. Basilisk/architecture/messaging/CameraConfigMsgPayload.py +16 -0
  33. Basilisk/architecture/messaging/CameraImageMsgPayload.py +8 -0
  34. Basilisk/architecture/messaging/ChargeMsmMsgPayload.py +8 -0
  35. Basilisk/architecture/messaging/DataNodeUsageMsgPayload.py +8 -0
  36. Basilisk/architecture/messaging/DataStorageStatusMsgPayload.py +16 -0
  37. Basilisk/architecture/messaging/DeviceStatusMsgPayload.py +8 -0
  38. Basilisk/architecture/messaging/LambertProblemMsgPayload.py +8 -0
  39. Basilisk/architecture/messaging/MJSceneStateMsgPayload.py +24 -0
  40. Basilisk/architecture/messaging/MotorStepCommandMsgPayload.py +1541 -0
  41. Basilisk/architecture/messaging/RWAvailabilityMsgPayload.py +8 -0
  42. Basilisk/architecture/messaging/RWConfigLogMsgPayload.py +8 -0
  43. Basilisk/architecture/messaging/RWConstellationMsgPayload.py +8 -0
  44. Basilisk/architecture/messaging/ReconfigBurnArrayInfoMsgPayload.py +8 -0
  45. Basilisk/architecture/messaging/SpicePlanetStateMsgPayload.py +8 -0
  46. Basilisk/architecture/messaging/StepperMotorMsgPayload.py +1577 -0
  47. Basilisk/architecture/messaging/THRArrayConfigMsgPayload.py +8 -0
  48. Basilisk/architecture/messaging/TypesTestMsgPayload.py +72 -0
  49. Basilisk/architecture/messaging/VSCMGConfigMsgPayload.py +256 -0
  50. Basilisk/architecture/messaging/VizUserInputMsgPayload.py +16 -0
  51. Basilisk/architecture/messaging/_AccDataMsgPayload.so +0 -0
  52. Basilisk/architecture/messaging/_AccPktDataMsgPayload.so +0 -0
  53. Basilisk/architecture/messaging/_AccessMsgPayload.so +0 -0
  54. Basilisk/architecture/messaging/_AlbedoMsgPayload.so +0 -0
  55. Basilisk/architecture/messaging/_ArrayEffectorLockMsgPayload.so +0 -0
  56. Basilisk/architecture/messaging/_ArrayMotorForceMsgPayload.so +0 -0
  57. Basilisk/architecture/messaging/_ArrayMotorTorqueMsgPayload.so +0 -0
  58. Basilisk/architecture/messaging/_ArrayMotorVoltageMsgPayload.so +0 -0
  59. Basilisk/architecture/messaging/_AtmoPropsMsgPayload.so +0 -0
  60. Basilisk/architecture/messaging/_AttGuidMsgPayload.so +0 -0
  61. Basilisk/architecture/messaging/_AttRefMsgPayload.so +0 -0
  62. Basilisk/architecture/messaging/_AttStateMsgPayload.so +0 -0
  63. Basilisk/architecture/messaging/_BodyHeadingMsgPayload.so +0 -0
  64. Basilisk/architecture/messaging/_BoreAngleMsgPayload.so +0 -0
  65. Basilisk/architecture/messaging/_CMEstDataMsgPayload.so +0 -0
  66. Basilisk/architecture/messaging/_CModuleTemplateMsgPayload.so +0 -0
  67. Basilisk/architecture/messaging/_CSSArraySensorMsgPayload.so +0 -0
  68. Basilisk/architecture/messaging/_CSSConfigLogMsgPayload.so +0 -0
  69. Basilisk/architecture/messaging/_CSSConfigMsgPayload.so +0 -0
  70. Basilisk/architecture/messaging/_CSSRawDataMsgPayload.so +0 -0
  71. Basilisk/architecture/messaging/_CSSUnitConfigMsgPayload.so +0 -0
  72. Basilisk/architecture/messaging/_CameraConfigMsgPayload.so +0 -0
  73. Basilisk/architecture/messaging/_CameraImageMsgPayload.so +0 -0
  74. Basilisk/architecture/messaging/_ChargeMsmMsgPayload.so +0 -0
  75. Basilisk/architecture/messaging/_ClassicElementsMsgPayload.so +0 -0
  76. Basilisk/architecture/messaging/_CmdForceBodyMsgPayload.so +0 -0
  77. Basilisk/architecture/messaging/_CmdForceInertialMsgPayload.so +0 -0
  78. Basilisk/architecture/messaging/_CmdTorqueBodyMsgPayload.so +0 -0
  79. Basilisk/architecture/messaging/_ColorMsgPayload.so +0 -0
  80. Basilisk/architecture/messaging/_ConstDynEffectorMsgPayload.so +0 -0
  81. Basilisk/architecture/messaging/_DataNodeUsageMsgPayload.so +0 -0
  82. Basilisk/architecture/messaging/_DataStorageStatusMsgPayload.so +0 -0
  83. Basilisk/architecture/messaging/_DesiredVelocityMsgPayload.so +0 -0
  84. Basilisk/architecture/messaging/_DeviceCmdMsgPayload.so +0 -0
  85. Basilisk/architecture/messaging/_DeviceStatusMsgPayload.so +0 -0
  86. Basilisk/architecture/messaging/_DipoleRequestBodyMsgPayload.so +0 -0
  87. Basilisk/architecture/messaging/_DvBurnCmdMsgPayload.so +0 -0
  88. Basilisk/architecture/messaging/_DvExecutionDataMsgPayload.so +0 -0
  89. Basilisk/architecture/messaging/_EclipseMsgPayload.so +0 -0
  90. Basilisk/architecture/messaging/_EphemerisMsgPayload.so +0 -0
  91. Basilisk/architecture/messaging/_EpochMsgPayload.so +0 -0
  92. Basilisk/architecture/messaging/_ForceAtSiteMsgPayload.so +0 -0
  93. Basilisk/architecture/messaging/_FuelTankMsgPayload.so +0 -0
  94. Basilisk/architecture/messaging/_GravityGradientMsgPayload.so +0 -0
  95. Basilisk/architecture/messaging/_GroundStateMsgPayload.so +0 -0
  96. Basilisk/architecture/messaging/_HeadingFilterMsgPayload.so +0 -0
  97. Basilisk/architecture/messaging/_HillRelStateMsgPayload.so +0 -0
  98. Basilisk/architecture/messaging/_HingedRigidBodyMsgPayload.so +0 -0
  99. Basilisk/architecture/messaging/_IMUSensorBodyMsgPayload.so +0 -0
  100. Basilisk/architecture/messaging/_IMUSensorMsgPayload.so +0 -0
  101. Basilisk/architecture/messaging/_InertialFilterMsgPayload.so +0 -0
  102. Basilisk/architecture/messaging/_InertialHeadingMsgPayload.so +0 -0
  103. Basilisk/architecture/messaging/_LambertPerformanceMsgPayload.so +0 -0
  104. Basilisk/architecture/messaging/_LambertProblemMsgPayload.so +0 -0
  105. Basilisk/architecture/messaging/_LambertSolutionMsgPayload.so +0 -0
  106. Basilisk/architecture/messaging/_LambertValidatorMsgPayload.so +0 -0
  107. Basilisk/architecture/messaging/_LandmarkMsgPayload.so +0 -0
  108. Basilisk/architecture/messaging/_LinearTranslationRigidBodyMsgPayload.so +0 -0
  109. Basilisk/architecture/messaging/_MJSceneStateMsgPayload.so +0 -0
  110. Basilisk/architecture/messaging/_MTBArrayConfigMsgPayload.so +0 -0
  111. Basilisk/architecture/messaging/_MTBCmdMsgPayload.so +0 -0
  112. Basilisk/architecture/messaging/_MTBMsgPayload.so +0 -0
  113. Basilisk/architecture/messaging/_MagneticFieldMsgPayload.so +0 -0
  114. Basilisk/architecture/messaging/_MotorStepCommandMsgPayload.so +0 -0
  115. Basilisk/architecture/messaging/_NavAttMsgPayload.so +0 -0
  116. Basilisk/architecture/messaging/_NavTransMsgPayload.so +0 -0
  117. Basilisk/architecture/messaging/_OpNavCirclesMsgPayload.so +0 -0
  118. Basilisk/architecture/messaging/_OpNavFilterMsgPayload.so +0 -0
  119. Basilisk/architecture/messaging/_OpNavLimbMsgPayload.so +0 -0
  120. Basilisk/architecture/messaging/_OpNavMsgPayload.so +0 -0
  121. Basilisk/architecture/messaging/_PixelLineFilterMsgPayload.so +0 -0
  122. Basilisk/architecture/messaging/_PlasmaFluxMsgPayload.so +0 -0
  123. Basilisk/architecture/messaging/_PowerNodeStatusMsgPayload.so +0 -0
  124. Basilisk/architecture/messaging/_PowerNodeUsageMsgPayload.so +0 -0
  125. Basilisk/architecture/messaging/_PowerStorageFaultMsgPayload.so +0 -0
  126. Basilisk/architecture/messaging/_PowerStorageStatusMsgPayload.so +0 -0
  127. Basilisk/architecture/messaging/_PrescribedMotionMsgPayload.so +0 -0
  128. Basilisk/architecture/messaging/_PrescribedRotationMsgPayload.so +0 -0
  129. Basilisk/architecture/messaging/_PrescribedTranslationMsgPayload.so +0 -0
  130. Basilisk/architecture/messaging/_PyBatteryMsgPayload.so +0 -0
  131. Basilisk/architecture/messaging/_RWArrayConfigMsgPayload.so +0 -0
  132. Basilisk/architecture/messaging/_RWAvailabilityMsgPayload.so +0 -0
  133. Basilisk/architecture/messaging/_RWCmdMsgPayload.so +0 -0
  134. Basilisk/architecture/messaging/_RWConfigElementMsgPayload.so +0 -0
  135. Basilisk/architecture/messaging/_RWConfigLogMsgPayload.so +0 -0
  136. Basilisk/architecture/messaging/_RWConstellationMsgPayload.so +0 -0
  137. Basilisk/architecture/messaging/_RWSpeedMsgPayload.so +0 -0
  138. Basilisk/architecture/messaging/_RateCmdMsgPayload.so +0 -0
  139. Basilisk/architecture/messaging/_RealTimeFactorMsgPayload.so +0 -0
  140. Basilisk/architecture/messaging/_ReconfigBurnArrayInfoMsgPayload.so +0 -0
  141. Basilisk/architecture/messaging/_ReconfigBurnInfoMsgPayload.so +0 -0
  142. Basilisk/architecture/messaging/_SCEnergyMomentumMsgPayload.so +0 -0
  143. Basilisk/architecture/messaging/_SCMassPropsMsgPayload.so +0 -0
  144. Basilisk/architecture/messaging/_SCStatesMsgPayload.so +0 -0
  145. Basilisk/architecture/messaging/_STAttMsgPayload.so +0 -0
  146. Basilisk/architecture/messaging/_STSensorMsgPayload.so +0 -0
  147. Basilisk/architecture/messaging/_ScalarJointStateMsgPayload.so +0 -0
  148. Basilisk/architecture/messaging/_SingleActuatorMsgPayload.so +0 -0
  149. Basilisk/architecture/messaging/_SmallBodyNavMsgPayload.so +0 -0
  150. Basilisk/architecture/messaging/_SmallBodyNavUKFMsgPayload.so +0 -0
  151. Basilisk/architecture/messaging/_SolarFluxMsgPayload.so +0 -0
  152. Basilisk/architecture/messaging/_SpicePlanetStateMsgPayload.so +0 -0
  153. Basilisk/architecture/messaging/_SpiceTimeMsgPayload.so +0 -0
  154. Basilisk/architecture/messaging/_StepperMotorMsgPayload.so +0 -0
  155. Basilisk/architecture/messaging/_SunlineFilterMsgPayload.so +0 -0
  156. Basilisk/architecture/messaging/_SwDataMsgPayload.so +0 -0
  157. Basilisk/architecture/messaging/_SynchClockMsgPayload.so +0 -0
  158. Basilisk/architecture/messaging/_TAMSensorBodyMsgPayload.so +0 -0
  159. Basilisk/architecture/messaging/_TAMSensorMsgPayload.so +0 -0
  160. Basilisk/architecture/messaging/_TDBVehicleClockCorrelationMsgPayload.so +0 -0
  161. Basilisk/architecture/messaging/_THRArrayCmdForceMsgPayload.so +0 -0
  162. Basilisk/architecture/messaging/_THRArrayConfigMsgPayload.so +0 -0
  163. Basilisk/architecture/messaging/_THRArrayOnTimeCmdMsgPayload.so +0 -0
  164. Basilisk/architecture/messaging/_THRConfigMsgPayload.so +0 -0
  165. Basilisk/architecture/messaging/_THROutputMsgPayload.so +0 -0
  166. Basilisk/architecture/messaging/_TemperatureMsgPayload.so +0 -0
  167. Basilisk/architecture/messaging/_TorqueAtSiteMsgPayload.so +0 -0
  168. Basilisk/architecture/messaging/_TransRefMsgPayload.so +0 -0
  169. Basilisk/architecture/messaging/_TypesTestMsgPayload.so +0 -0
  170. Basilisk/architecture/messaging/_VSCMGArrayConfigMsgPayload.so +0 -0
  171. Basilisk/architecture/messaging/_VSCMGArrayTorqueMsgPayload.so +0 -0
  172. Basilisk/architecture/messaging/_VSCMGCmdMsgPayload.so +0 -0
  173. Basilisk/architecture/messaging/_VSCMGConfigElementMsgPayload.so +0 -0
  174. Basilisk/architecture/messaging/_VSCMGConfigMsgPayload.so +0 -0
  175. Basilisk/architecture/messaging/_VSCMGRefStatesMsgPayload.so +0 -0
  176. Basilisk/architecture/messaging/_VSCMGSpeedMsgPayload.so +0 -0
  177. Basilisk/architecture/messaging/_VehicleConfigMsgPayload.so +0 -0
  178. Basilisk/architecture/messaging/_VizUserInputMsgPayload.so +0 -0
  179. Basilisk/architecture/messaging/_VoltMsgPayload.so +0 -0
  180. Basilisk/architecture/messaging/__init__.py +2 -0
  181. Basilisk/fswAlgorithms/_attRefCorrection.so +0 -0
  182. Basilisk/fswAlgorithms/_attTrackingError.so +0 -0
  183. Basilisk/fswAlgorithms/_celestialTwoBodyPoint.so +0 -0
  184. Basilisk/fswAlgorithms/_centerRadiusCNN.so +0 -0
  185. Basilisk/fswAlgorithms/_chebyPosEphem.so +0 -0
  186. Basilisk/fswAlgorithms/_constrainedAttitudeManeuver.so +0 -0
  187. Basilisk/fswAlgorithms/_cssComm.so +0 -0
  188. Basilisk/fswAlgorithms/_cssWlsEst.so +0 -0
  189. Basilisk/fswAlgorithms/_dipoleMapping.so +0 -0
  190. Basilisk/fswAlgorithms/_dvAccumulation.so +0 -0
  191. Basilisk/fswAlgorithms/_dvAttEffect.so +0 -0
  192. Basilisk/fswAlgorithms/_dvExecuteGuidance.so +0 -0
  193. Basilisk/fswAlgorithms/_dvGuidance.so +0 -0
  194. Basilisk/fswAlgorithms/_ephemDifference.so +0 -0
  195. Basilisk/fswAlgorithms/_ephemNavConverter.so +0 -0
  196. Basilisk/fswAlgorithms/_etSphericalControl.so +0 -0
  197. Basilisk/fswAlgorithms/_eulerRotation.so +0 -0
  198. Basilisk/fswAlgorithms/_faultDetection.so +0 -0
  199. Basilisk/fswAlgorithms/_forceTorqueThrForceMapping.so +0 -0
  200. Basilisk/fswAlgorithms/_formationBarycenter.so +0 -0
  201. Basilisk/fswAlgorithms/_headingSuKF.so +0 -0
  202. Basilisk/fswAlgorithms/_hillPoint.so +0 -0
  203. Basilisk/fswAlgorithms/_hillStateConverter.so +0 -0
  204. Basilisk/fswAlgorithms/_hillToAttRef.so +0 -0
  205. Basilisk/fswAlgorithms/_hingedRigidBodyPIDMotor.so +0 -0
  206. Basilisk/fswAlgorithms/_horizonOpNav.so +0 -0
  207. Basilisk/fswAlgorithms/_houghCircles.so +0 -0
  208. Basilisk/fswAlgorithms/_imuComm.so +0 -0
  209. Basilisk/fswAlgorithms/_inertial3D.so +0 -0
  210. Basilisk/fswAlgorithms/_inertial3DSpin.so +0 -0
  211. Basilisk/fswAlgorithms/_inertialUKF.so +0 -0
  212. Basilisk/fswAlgorithms/_lambertPlanner.so +0 -0
  213. Basilisk/fswAlgorithms/_lambertSecondDV.so +0 -0
  214. Basilisk/fswAlgorithms/_lambertSolver.so +0 -0
  215. Basilisk/fswAlgorithms/_lambertSurfaceRelativeVelocity.so +0 -0
  216. Basilisk/fswAlgorithms/_lambertValidator.so +0 -0
  217. Basilisk/fswAlgorithms/_limbFinding.so +0 -0
  218. Basilisk/fswAlgorithms/_locationPointing.so +0 -0
  219. Basilisk/fswAlgorithms/_lowPassFilterTorqueCommand.so +0 -0
  220. Basilisk/fswAlgorithms/_meanOEFeedback.so +0 -0
  221. Basilisk/fswAlgorithms/_mrpFeedback.so +0 -0
  222. Basilisk/fswAlgorithms/_mrpPD.so +0 -0
  223. Basilisk/fswAlgorithms/_mrpRotation.so +0 -0
  224. Basilisk/fswAlgorithms/_mrpSteering.so +0 -0
  225. Basilisk/fswAlgorithms/_mtbFeedforward.so +0 -0
  226. Basilisk/fswAlgorithms/_mtbMomentumManagement.so +0 -0
  227. Basilisk/fswAlgorithms/_mtbMomentumManagementSimple.so +0 -0
  228. Basilisk/fswAlgorithms/_navAggregate.so +0 -0
  229. Basilisk/fswAlgorithms/_oeStateEphem.so +0 -0
  230. Basilisk/fswAlgorithms/_okeefeEKF.so +0 -0
  231. Basilisk/fswAlgorithms/_oneAxisSolarArrayPoint.so +0 -0
  232. Basilisk/fswAlgorithms/_opNavPoint.so +0 -0
  233. Basilisk/fswAlgorithms/_pixelLineBiasUKF.so +0 -0
  234. Basilisk/fswAlgorithms/_pixelLineConverter.so +0 -0
  235. Basilisk/fswAlgorithms/_prescribedRot2DOF.so +0 -0
  236. Basilisk/fswAlgorithms/_prvSteering.so +0 -0
  237. Basilisk/fswAlgorithms/_rasterManager.so +0 -0
  238. Basilisk/fswAlgorithms/_rateMsgConverter.so +0 -0
  239. Basilisk/fswAlgorithms/_rateServoFullNonlinear.so +0 -0
  240. Basilisk/fswAlgorithms/_relativeODuKF.so +0 -0
  241. Basilisk/fswAlgorithms/_rwConfigData.so +0 -0
  242. Basilisk/fswAlgorithms/_rwMotorTorque.so +0 -0
  243. Basilisk/fswAlgorithms/_rwMotorVoltage.so +0 -0
  244. Basilisk/fswAlgorithms/_rwNullSpace.so +0 -0
  245. Basilisk/fswAlgorithms/_scanningInstrumentController.so +0 -0
  246. Basilisk/fswAlgorithms/_simpleDeadband.so +0 -0
  247. Basilisk/fswAlgorithms/_simpleInstrumentController.so +0 -0
  248. Basilisk/fswAlgorithms/_smallBodyNavEKF.so +0 -0
  249. Basilisk/fswAlgorithms/_smallBodyNavUKF.so +0 -0
  250. Basilisk/fswAlgorithms/_smallBodyWaypointFeedback.so +0 -0
  251. Basilisk/fswAlgorithms/_solarArrayReference.so +0 -0
  252. Basilisk/fswAlgorithms/_spacecraftPointing.so +0 -0
  253. Basilisk/fswAlgorithms/_spacecraftReconfig.so +0 -0
  254. Basilisk/fswAlgorithms/_stComm.so +0 -0
  255. Basilisk/fswAlgorithms/_sunSafeACS.so +0 -0
  256. Basilisk/fswAlgorithms/_sunSafePoint.so +0 -0
  257. Basilisk/fswAlgorithms/_sunlineEKF.so +0 -0
  258. Basilisk/fswAlgorithms/_sunlineEphem.so +0 -0
  259. Basilisk/fswAlgorithms/_sunlineSEKF.so +0 -0
  260. Basilisk/fswAlgorithms/_sunlineSuKF.so +0 -0
  261. Basilisk/fswAlgorithms/_sunlineUKF.so +0 -0
  262. Basilisk/fswAlgorithms/_tamComm.so +0 -0
  263. Basilisk/fswAlgorithms/_thrFiringRemainder.so +0 -0
  264. Basilisk/fswAlgorithms/_thrFiringSchmitt.so +0 -0
  265. Basilisk/fswAlgorithms/_thrForceMapping.so +0 -0
  266. Basilisk/fswAlgorithms/_thrMomentumDumping.so +0 -0
  267. Basilisk/fswAlgorithms/_thrMomentumManagement.so +0 -0
  268. Basilisk/fswAlgorithms/_thrustCMEstimation.so +0 -0
  269. Basilisk/fswAlgorithms/_thrustRWDesat.so +0 -0
  270. Basilisk/fswAlgorithms/_thrusterPlatformReference.so +0 -0
  271. Basilisk/fswAlgorithms/_thrusterPlatformState.so +0 -0
  272. Basilisk/fswAlgorithms/_torque2Dipole.so +0 -0
  273. Basilisk/fswAlgorithms/_torqueScheduler.so +0 -0
  274. Basilisk/fswAlgorithms/_vehicleConfigData.so +0 -0
  275. Basilisk/fswAlgorithms/_velocityPoint.so +0 -0
  276. Basilisk/fswAlgorithms/_vscmgGimbalRateServo.so +0 -0
  277. Basilisk/fswAlgorithms/_vscmgVelocitySteering.so +0 -0
  278. Basilisk/fswAlgorithms/_waypointReference.so +0 -0
  279. Basilisk/libArchitectureUtilities.a +0 -0
  280. Basilisk/libModuleIdGenerator.dylib +0 -0
  281. Basilisk/libarchitectureLib.dylib +0 -0
  282. Basilisk/libcMsgCInterface.a +0 -0
  283. Basilisk/libdynamicsLib.dylib +0 -0
  284. Basilisk/libeffectorInterfacesLib.dylib +0 -0
  285. Basilisk/libenvironmentLib.dylib +0 -0
  286. Basilisk/libmujocoDynamicsLib.dylib +0 -0
  287. Basilisk/libonboardDataHandlingLib.dylib +0 -0
  288. Basilisk/libpowerLib.dylib +0 -0
  289. Basilisk/libtransDeterminationLib.dylib +0 -0
  290. Basilisk/libvizMessage.a +0 -0
  291. Basilisk/libvizardLib.dylib +0 -0
  292. Basilisk/moduleTemplates/_autoCModule.so +0 -0
  293. Basilisk/moduleTemplates/_autoCppModule.so +0 -0
  294. Basilisk/moduleTemplates/_cModuleTemplate.so +0 -0
  295. Basilisk/moduleTemplates/_cppModuleTemplate.so +0 -0
  296. Basilisk/simulation/_ExtPulsedTorque.so +0 -0
  297. Basilisk/simulation/_GravityGradientEffector.so +0 -0
  298. Basilisk/simulation/_MJSystemCoM.so +0 -0
  299. Basilisk/simulation/_MtbEffector.so +0 -0
  300. Basilisk/simulation/_NBodyGravity.so +0 -0
  301. Basilisk/simulation/_PIDControllers.so +0 -0
  302. Basilisk/simulation/_RWConfigPayload.so +0 -0
  303. Basilisk/simulation/_ReactionWheelPower.so +0 -0
  304. Basilisk/simulation/_THRSimConfig.so +0 -0
  305. Basilisk/simulation/_albedo.so +0 -0
  306. Basilisk/simulation/_boreAngCalc.so +0 -0
  307. Basilisk/simulation/_camera.so +0 -0
  308. Basilisk/simulation/_coarseSunSensor.so +0 -0
  309. Basilisk/simulation/_constraintDynamicEffector.so +0 -0
  310. Basilisk/simulation/_dataFileToViz.so +0 -0
  311. Basilisk/simulation/_dentonFluxModel.so +0 -0
  312. Basilisk/simulation/_dragDynamicEffector.so +0 -0
  313. Basilisk/simulation/_dualHingedRigidBodyStateEffector.so +0 -0
  314. Basilisk/simulation/_dynParamManager.so +0 -0
  315. Basilisk/simulation/_eclipse.so +0 -0
  316. Basilisk/simulation/_encoder.so +0 -0
  317. Basilisk/simulation/_ephemerisConverter.so +0 -0
  318. Basilisk/simulation/_exponentialAtmosphere.so +0 -0
  319. Basilisk/simulation/_extForceTorque.so +0 -0
  320. Basilisk/simulation/_facetDragDynamicEffector.so +0 -0
  321. Basilisk/simulation/_facetSRPDynamicEffector.so +0 -0
  322. Basilisk/simulation/_fuelTank.so +0 -0
  323. Basilisk/simulation/_gravityEffector.so +0 -0
  324. Basilisk/simulation/_gravityModel.so +0 -0
  325. Basilisk/simulation/_groundLocation.so +0 -0
  326. Basilisk/simulation/_groundMapping.so +0 -0
  327. Basilisk/simulation/_hingedBodyLinearProfiler.so +0 -0
  328. Basilisk/simulation/_hingedRigidBodyMotor.so +0 -0
  329. Basilisk/simulation/_hingedRigidBodyMotorSensor.so +0 -0
  330. Basilisk/simulation/_hingedRigidBodyStateEffector.so +0 -0
  331. Basilisk/simulation/_imuSensor.so +0 -0
  332. Basilisk/simulation/_linearSpringMassDamper.so +0 -0
  333. Basilisk/simulation/_linearTranslationNDOFStateEffector.so +0 -0
  334. Basilisk/simulation/_linearTranslationOneDOFStateEffector.so +0 -0
  335. Basilisk/simulation/_magneticFieldCenteredDipole.so +0 -0
  336. Basilisk/simulation/_magneticFieldWMM.so +0 -0
  337. Basilisk/simulation/_magnetometer.so +0 -0
  338. Basilisk/simulation/_mappingInstrument.so +0 -0
  339. Basilisk/simulation/_motorThermal.so +0 -0
  340. Basilisk/simulation/_motorVoltageInterface.so +0 -0
  341. Basilisk/simulation/_msisAtmosphere.so +0 -0
  342. Basilisk/simulation/_msmForceTorque.so +0 -0
  343. Basilisk/simulation/_mujoco.so +0 -0
  344. Basilisk/simulation/_nHingedRigidBodyStateEffector.so +0 -0
  345. Basilisk/simulation/_orbElemConvert.so +0 -0
  346. Basilisk/simulation/_partitionedStorageUnit.so +0 -0
  347. Basilisk/simulation/_pinholeCamera.so +0 -0
  348. Basilisk/simulation/_planetEphemeris.so +0 -0
  349. Basilisk/simulation/_planetHeading.so +0 -0
  350. Basilisk/simulation/_planetNav.so +0 -0
  351. Basilisk/simulation/_pointMassGravityModel.so +0 -0
  352. Basilisk/simulation/_polyhedralGravityModel.so +0 -0
  353. Basilisk/simulation/_prescribedLinearTranslation.so +0 -0
  354. Basilisk/simulation/_prescribedMotionStateEffector.so +0 -0
  355. Basilisk/simulation/_prescribedRotation1DOF.so +0 -0
  356. Basilisk/simulation/_pyStatefulSysModel.so +0 -0
  357. Basilisk/simulation/_radiationPressure.so +0 -0
  358. Basilisk/simulation/_reactionWheelStateEffector.so +0 -0
  359. Basilisk/simulation/_sensorThermal.so +0 -0
  360. Basilisk/simulation/_simSynch.so +0 -0
  361. Basilisk/simulation/_simpleBattery.so +0 -0
  362. Basilisk/simulation/_simpleInstrument.so +0 -0
  363. Basilisk/simulation/_simpleMassProps.so +0 -0
  364. Basilisk/simulation/_simpleNav.so +0 -0
  365. Basilisk/simulation/_simplePowerMonitor.so +0 -0
  366. Basilisk/simulation/_simplePowerSink.so +0 -0
  367. Basilisk/simulation/_simpleSolarPanel.so +0 -0
  368. Basilisk/simulation/_simpleStorageUnit.so +0 -0
  369. Basilisk/simulation/_simpleTransmitter.so +0 -0
  370. Basilisk/simulation/_simpleVoltEstimator.so +0 -0
  371. Basilisk/simulation/_solarFlux.so +0 -0
  372. Basilisk/simulation/_spaceToGroundTransmitter.so +0 -0
  373. Basilisk/simulation/_spacecraft.so +0 -0
  374. Basilisk/simulation/_spacecraftLocation.so +0 -0
  375. Basilisk/simulation/_spacecraftSystem.so +0 -0
  376. Basilisk/simulation/_sphericalHarmonicsGravityModel.so +0 -0
  377. Basilisk/simulation/_sphericalPendulum.so +0 -0
  378. Basilisk/simulation/_spiceInterface.so +0 -0
  379. Basilisk/simulation/_spinningBodyNDOFStateEffector.so +0 -0
  380. Basilisk/simulation/_spinningBodyOneDOFStateEffector.so +0 -0
  381. Basilisk/simulation/_spinningBodyTwoDOFStateEffector.so +0 -0
  382. Basilisk/simulation/_starTracker.so +0 -0
  383. Basilisk/simulation/_stateArchitecture.so +0 -0
  384. Basilisk/simulation/_stepperMotor.so +0 -0
  385. Basilisk/simulation/_svIntegrators.so +0 -0
  386. Basilisk/simulation/_tabularAtmosphere.so +0 -0
  387. Basilisk/simulation/_tempMeasurement.so +0 -0
  388. Basilisk/simulation/_thrusterDynamicEffector.so +0 -0
  389. Basilisk/simulation/_thrusterStateEffector.so +0 -0
  390. Basilisk/simulation/_vizInterface.so +0 -0
  391. Basilisk/simulation/_vscmgStateEffector.so +0 -0
  392. Basilisk/simulation/stepperMotor.py +413 -0
  393. Basilisk/topLevelModules/_pyswice.so +0 -0
  394. {bsk-2.8.21.dist-info → bsk-2.8.23.dist-info}/METADATA +1 -1
  395. {bsk-2.8.21.dist-info → bsk-2.8.23.dist-info}/RECORD +399 -393
  396. {bsk-2.8.21.dist-info → bsk-2.8.23.dist-info}/WHEEL +0 -0
  397. {bsk-2.8.21.dist-info → bsk-2.8.23.dist-info}/entry_points.txt +0 -0
  398. {bsk-2.8.21.dist-info → bsk-2.8.23.dist-info}/licenses/LICENSE +0 -0
  399. {bsk-2.8.21.dist-info → bsk-2.8.23.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1577 @@
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 _StepperMotorMsgPayload
11
+ else:
12
+ import _StepperMotorMsgPayload
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__ = _StepperMotorMsgPayload.delete_SwigPyIterator
74
+
75
+ def value(self):
76
+ return _StepperMotorMsgPayload.SwigPyIterator_value(self)
77
+
78
+ def incr(self, n=1):
79
+ return _StepperMotorMsgPayload.SwigPyIterator_incr(self, n)
80
+
81
+ def decr(self, n=1):
82
+ return _StepperMotorMsgPayload.SwigPyIterator_decr(self, n)
83
+
84
+ def distance(self, x):
85
+ return _StepperMotorMsgPayload.SwigPyIterator_distance(self, x)
86
+
87
+ def equal(self, x):
88
+ return _StepperMotorMsgPayload.SwigPyIterator_equal(self, x)
89
+
90
+ def copy(self):
91
+ return _StepperMotorMsgPayload.SwigPyIterator_copy(self)
92
+
93
+ def next(self):
94
+ return _StepperMotorMsgPayload.SwigPyIterator_next(self)
95
+
96
+ def __next__(self):
97
+ return _StepperMotorMsgPayload.SwigPyIterator___next__(self)
98
+
99
+ def previous(self):
100
+ return _StepperMotorMsgPayload.SwigPyIterator_previous(self)
101
+
102
+ def advance(self, n):
103
+ return _StepperMotorMsgPayload.SwigPyIterator_advance(self, n)
104
+
105
+ def __eq__(self, x):
106
+ return _StepperMotorMsgPayload.SwigPyIterator___eq__(self, x)
107
+
108
+ def __ne__(self, x):
109
+ return _StepperMotorMsgPayload.SwigPyIterator___ne__(self, x)
110
+
111
+ def __iadd__(self, n):
112
+ return _StepperMotorMsgPayload.SwigPyIterator___iadd__(self, n)
113
+
114
+ def __isub__(self, n):
115
+ return _StepperMotorMsgPayload.SwigPyIterator___isub__(self, n)
116
+
117
+ def __add__(self, n):
118
+ return _StepperMotorMsgPayload.SwigPyIterator___add__(self, n)
119
+
120
+ def __sub__(self, *args):
121
+ return _StepperMotorMsgPayload.SwigPyIterator___sub__(self, *args)
122
+ def __iter__(self):
123
+ return self
124
+
125
+ # Register SwigPyIterator in _StepperMotorMsgPayload:
126
+ _StepperMotorMsgPayload.SwigPyIterator_swigregister(SwigPyIterator)
127
+
128
+ def new_doubleArray(nelements):
129
+ return _StepperMotorMsgPayload.new_doubleArray(nelements)
130
+
131
+ def delete_doubleArray(ary):
132
+ return _StepperMotorMsgPayload.delete_doubleArray(ary)
133
+
134
+ def doubleArray_getitem(ary, index):
135
+ return _StepperMotorMsgPayload.doubleArray_getitem(ary, index)
136
+
137
+ def doubleArray_setitem(ary, index, value):
138
+ return _StepperMotorMsgPayload.doubleArray_setitem(ary, index, value)
139
+
140
+ def new_longArray(nelements):
141
+ return _StepperMotorMsgPayload.new_longArray(nelements)
142
+
143
+ def delete_longArray(ary):
144
+ return _StepperMotorMsgPayload.delete_longArray(ary)
145
+
146
+ def longArray_getitem(ary, index):
147
+ return _StepperMotorMsgPayload.longArray_getitem(ary, index)
148
+
149
+ def longArray_setitem(ary, index, value):
150
+ return _StepperMotorMsgPayload.longArray_setitem(ary, index, value)
151
+
152
+ def new_intArray(nelements):
153
+ return _StepperMotorMsgPayload.new_intArray(nelements)
154
+
155
+ def delete_intArray(ary):
156
+ return _StepperMotorMsgPayload.delete_intArray(ary)
157
+
158
+ def intArray_getitem(ary, index):
159
+ return _StepperMotorMsgPayload.intArray_getitem(ary, index)
160
+
161
+ def intArray_setitem(ary, index, value):
162
+ return _StepperMotorMsgPayload.intArray_setitem(ary, index, value)
163
+
164
+ def new_shortArray(nelements):
165
+ return _StepperMotorMsgPayload.new_shortArray(nelements)
166
+
167
+ def delete_shortArray(ary):
168
+ return _StepperMotorMsgPayload.delete_shortArray(ary)
169
+
170
+ def shortArray_getitem(ary, index):
171
+ return _StepperMotorMsgPayload.shortArray_getitem(ary, index)
172
+
173
+ def shortArray_setitem(ary, index, value):
174
+ return _StepperMotorMsgPayload.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 _StepperMotorMsgPayload.TimeVector_iterator(self)
218
+ def __iter__(self):
219
+ return self.iterator()
220
+
221
+ def __nonzero__(self):
222
+ return _StepperMotorMsgPayload.TimeVector___nonzero__(self)
223
+
224
+ def __bool__(self):
225
+ return _StepperMotorMsgPayload.TimeVector___bool__(self)
226
+
227
+ def __len__(self):
228
+ return _StepperMotorMsgPayload.TimeVector___len__(self)
229
+
230
+ def __getslice__(self, i, j):
231
+ return _StepperMotorMsgPayload.TimeVector___getslice__(self, i, j)
232
+
233
+ def __setslice__(self, *args):
234
+ return _StepperMotorMsgPayload.TimeVector___setslice__(self, *args)
235
+
236
+ def __delslice__(self, i, j):
237
+ return _StepperMotorMsgPayload.TimeVector___delslice__(self, i, j)
238
+
239
+ def __delitem__(self, *args):
240
+ return _StepperMotorMsgPayload.TimeVector___delitem__(self, *args)
241
+
242
+ def __getitem__(self, *args):
243
+ return _StepperMotorMsgPayload.TimeVector___getitem__(self, *args)
244
+
245
+ def __setitem__(self, *args):
246
+ return _StepperMotorMsgPayload.TimeVector___setitem__(self, *args)
247
+
248
+ def pop(self):
249
+ return _StepperMotorMsgPayload.TimeVector_pop(self)
250
+
251
+ def append(self, x):
252
+ return _StepperMotorMsgPayload.TimeVector_append(self, x)
253
+
254
+ def empty(self):
255
+ return _StepperMotorMsgPayload.TimeVector_empty(self)
256
+
257
+ def size(self):
258
+ return _StepperMotorMsgPayload.TimeVector_size(self)
259
+
260
+ def swap(self, v):
261
+ return _StepperMotorMsgPayload.TimeVector_swap(self, v)
262
+
263
+ def begin(self):
264
+ return _StepperMotorMsgPayload.TimeVector_begin(self)
265
+
266
+ def end(self):
267
+ return _StepperMotorMsgPayload.TimeVector_end(self)
268
+
269
+ def rbegin(self):
270
+ return _StepperMotorMsgPayload.TimeVector_rbegin(self)
271
+
272
+ def rend(self):
273
+ return _StepperMotorMsgPayload.TimeVector_rend(self)
274
+
275
+ def clear(self):
276
+ return _StepperMotorMsgPayload.TimeVector_clear(self)
277
+
278
+ def get_allocator(self):
279
+ return _StepperMotorMsgPayload.TimeVector_get_allocator(self)
280
+
281
+ def pop_back(self):
282
+ return _StepperMotorMsgPayload.TimeVector_pop_back(self)
283
+
284
+ def erase(self, *args):
285
+ return _StepperMotorMsgPayload.TimeVector_erase(self, *args)
286
+
287
+ def __init__(self, *args):
288
+ _StepperMotorMsgPayload.TimeVector_swiginit(self, _StepperMotorMsgPayload.new_TimeVector(*args))
289
+
290
+ def push_back(self, x):
291
+ return _StepperMotorMsgPayload.TimeVector_push_back(self, x)
292
+
293
+ def front(self):
294
+ return _StepperMotorMsgPayload.TimeVector_front(self)
295
+
296
+ def back(self):
297
+ return _StepperMotorMsgPayload.TimeVector_back(self)
298
+
299
+ def assign(self, n, x):
300
+ return _StepperMotorMsgPayload.TimeVector_assign(self, n, x)
301
+
302
+ def resize(self, *args):
303
+ return _StepperMotorMsgPayload.TimeVector_resize(self, *args)
304
+
305
+ def insert(self, *args):
306
+ return _StepperMotorMsgPayload.TimeVector_insert(self, *args)
307
+
308
+ def reserve(self, n):
309
+ return _StepperMotorMsgPayload.TimeVector_reserve(self, n)
310
+
311
+ def capacity(self):
312
+ return _StepperMotorMsgPayload.TimeVector_capacity(self)
313
+ __swig_destroy__ = _StepperMotorMsgPayload.delete_TimeVector
314
+
315
+ # Register TimeVector in _StepperMotorMsgPayload:
316
+ _StepperMotorMsgPayload.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 _StepperMotorMsgPayload.DoubleVector_iterator(self)
323
+ def __iter__(self):
324
+ return self.iterator()
325
+
326
+ def __nonzero__(self):
327
+ return _StepperMotorMsgPayload.DoubleVector___nonzero__(self)
328
+
329
+ def __bool__(self):
330
+ return _StepperMotorMsgPayload.DoubleVector___bool__(self)
331
+
332
+ def __len__(self):
333
+ return _StepperMotorMsgPayload.DoubleVector___len__(self)
334
+
335
+ def __getslice__(self, i, j):
336
+ return _StepperMotorMsgPayload.DoubleVector___getslice__(self, i, j)
337
+
338
+ def __setslice__(self, *args):
339
+ return _StepperMotorMsgPayload.DoubleVector___setslice__(self, *args)
340
+
341
+ def __delslice__(self, i, j):
342
+ return _StepperMotorMsgPayload.DoubleVector___delslice__(self, i, j)
343
+
344
+ def __delitem__(self, *args):
345
+ return _StepperMotorMsgPayload.DoubleVector___delitem__(self, *args)
346
+
347
+ def __getitem__(self, *args):
348
+ return _StepperMotorMsgPayload.DoubleVector___getitem__(self, *args)
349
+
350
+ def __setitem__(self, *args):
351
+ return _StepperMotorMsgPayload.DoubleVector___setitem__(self, *args)
352
+
353
+ def pop(self):
354
+ return _StepperMotorMsgPayload.DoubleVector_pop(self)
355
+
356
+ def append(self, x):
357
+ return _StepperMotorMsgPayload.DoubleVector_append(self, x)
358
+
359
+ def empty(self):
360
+ return _StepperMotorMsgPayload.DoubleVector_empty(self)
361
+
362
+ def size(self):
363
+ return _StepperMotorMsgPayload.DoubleVector_size(self)
364
+
365
+ def swap(self, v):
366
+ return _StepperMotorMsgPayload.DoubleVector_swap(self, v)
367
+
368
+ def begin(self):
369
+ return _StepperMotorMsgPayload.DoubleVector_begin(self)
370
+
371
+ def end(self):
372
+ return _StepperMotorMsgPayload.DoubleVector_end(self)
373
+
374
+ def rbegin(self):
375
+ return _StepperMotorMsgPayload.DoubleVector_rbegin(self)
376
+
377
+ def rend(self):
378
+ return _StepperMotorMsgPayload.DoubleVector_rend(self)
379
+
380
+ def clear(self):
381
+ return _StepperMotorMsgPayload.DoubleVector_clear(self)
382
+
383
+ def get_allocator(self):
384
+ return _StepperMotorMsgPayload.DoubleVector_get_allocator(self)
385
+
386
+ def pop_back(self):
387
+ return _StepperMotorMsgPayload.DoubleVector_pop_back(self)
388
+
389
+ def erase(self, *args):
390
+ return _StepperMotorMsgPayload.DoubleVector_erase(self, *args)
391
+
392
+ def __init__(self, *args):
393
+ _StepperMotorMsgPayload.DoubleVector_swiginit(self, _StepperMotorMsgPayload.new_DoubleVector(*args))
394
+
395
+ def push_back(self, x):
396
+ return _StepperMotorMsgPayload.DoubleVector_push_back(self, x)
397
+
398
+ def front(self):
399
+ return _StepperMotorMsgPayload.DoubleVector_front(self)
400
+
401
+ def back(self):
402
+ return _StepperMotorMsgPayload.DoubleVector_back(self)
403
+
404
+ def assign(self, n, x):
405
+ return _StepperMotorMsgPayload.DoubleVector_assign(self, n, x)
406
+
407
+ def resize(self, *args):
408
+ return _StepperMotorMsgPayload.DoubleVector_resize(self, *args)
409
+
410
+ def insert(self, *args):
411
+ return _StepperMotorMsgPayload.DoubleVector_insert(self, *args)
412
+
413
+ def reserve(self, n):
414
+ return _StepperMotorMsgPayload.DoubleVector_reserve(self, n)
415
+
416
+ def capacity(self):
417
+ return _StepperMotorMsgPayload.DoubleVector_capacity(self)
418
+ __swig_destroy__ = _StepperMotorMsgPayload.delete_DoubleVector
419
+
420
+ # Register DoubleVector in _StepperMotorMsgPayload:
421
+ _StepperMotorMsgPayload.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 _StepperMotorMsgPayload.StringVector_iterator(self)
428
+ def __iter__(self):
429
+ return self.iterator()
430
+
431
+ def __nonzero__(self):
432
+ return _StepperMotorMsgPayload.StringVector___nonzero__(self)
433
+
434
+ def __bool__(self):
435
+ return _StepperMotorMsgPayload.StringVector___bool__(self)
436
+
437
+ def __len__(self):
438
+ return _StepperMotorMsgPayload.StringVector___len__(self)
439
+
440
+ def __getslice__(self, i, j):
441
+ return _StepperMotorMsgPayload.StringVector___getslice__(self, i, j)
442
+
443
+ def __setslice__(self, *args):
444
+ return _StepperMotorMsgPayload.StringVector___setslice__(self, *args)
445
+
446
+ def __delslice__(self, i, j):
447
+ return _StepperMotorMsgPayload.StringVector___delslice__(self, i, j)
448
+
449
+ def __delitem__(self, *args):
450
+ return _StepperMotorMsgPayload.StringVector___delitem__(self, *args)
451
+
452
+ def __getitem__(self, *args):
453
+ return _StepperMotorMsgPayload.StringVector___getitem__(self, *args)
454
+
455
+ def __setitem__(self, *args):
456
+ return _StepperMotorMsgPayload.StringVector___setitem__(self, *args)
457
+
458
+ def pop(self):
459
+ return _StepperMotorMsgPayload.StringVector_pop(self)
460
+
461
+ def append(self, x):
462
+ return _StepperMotorMsgPayload.StringVector_append(self, x)
463
+
464
+ def empty(self):
465
+ return _StepperMotorMsgPayload.StringVector_empty(self)
466
+
467
+ def size(self):
468
+ return _StepperMotorMsgPayload.StringVector_size(self)
469
+
470
+ def swap(self, v):
471
+ return _StepperMotorMsgPayload.StringVector_swap(self, v)
472
+
473
+ def begin(self):
474
+ return _StepperMotorMsgPayload.StringVector_begin(self)
475
+
476
+ def end(self):
477
+ return _StepperMotorMsgPayload.StringVector_end(self)
478
+
479
+ def rbegin(self):
480
+ return _StepperMotorMsgPayload.StringVector_rbegin(self)
481
+
482
+ def rend(self):
483
+ return _StepperMotorMsgPayload.StringVector_rend(self)
484
+
485
+ def clear(self):
486
+ return _StepperMotorMsgPayload.StringVector_clear(self)
487
+
488
+ def get_allocator(self):
489
+ return _StepperMotorMsgPayload.StringVector_get_allocator(self)
490
+
491
+ def pop_back(self):
492
+ return _StepperMotorMsgPayload.StringVector_pop_back(self)
493
+
494
+ def erase(self, *args):
495
+ return _StepperMotorMsgPayload.StringVector_erase(self, *args)
496
+
497
+ def __init__(self, *args):
498
+ _StepperMotorMsgPayload.StringVector_swiginit(self, _StepperMotorMsgPayload.new_StringVector(*args))
499
+
500
+ def push_back(self, x):
501
+ return _StepperMotorMsgPayload.StringVector_push_back(self, x)
502
+
503
+ def front(self):
504
+ return _StepperMotorMsgPayload.StringVector_front(self)
505
+
506
+ def back(self):
507
+ return _StepperMotorMsgPayload.StringVector_back(self)
508
+
509
+ def assign(self, n, x):
510
+ return _StepperMotorMsgPayload.StringVector_assign(self, n, x)
511
+
512
+ def resize(self, *args):
513
+ return _StepperMotorMsgPayload.StringVector_resize(self, *args)
514
+
515
+ def insert(self, *args):
516
+ return _StepperMotorMsgPayload.StringVector_insert(self, *args)
517
+
518
+ def reserve(self, n):
519
+ return _StepperMotorMsgPayload.StringVector_reserve(self, n)
520
+
521
+ def capacity(self):
522
+ return _StepperMotorMsgPayload.StringVector_capacity(self)
523
+ __swig_destroy__ = _StepperMotorMsgPayload.delete_StringVector
524
+
525
+ # Register StringVector in _StepperMotorMsgPayload:
526
+ _StepperMotorMsgPayload.StringVector_swigregister(StringVector)
527
+ MAX_CIRCLE_NUM = _StepperMotorMsgPayload.MAX_CIRCLE_NUM
528
+ MAX_LIMB_PNTS = _StepperMotorMsgPayload.MAX_LIMB_PNTS
529
+ MAX_EFF_CNT = _StepperMotorMsgPayload.MAX_EFF_CNT
530
+ MAX_NUM_CSS_SENSORS = _StepperMotorMsgPayload.MAX_NUM_CSS_SENSORS
531
+ MAX_ST_VEH_COUNT = _StepperMotorMsgPayload.MAX_ST_VEH_COUNT
532
+ NANO2SEC = _StepperMotorMsgPayload.NANO2SEC
533
+ SEC2NANO = _StepperMotorMsgPayload.SEC2NANO
534
+ SEC2HOUR = _StepperMotorMsgPayload.SEC2HOUR
535
+
536
+ def nanoToSec(nanos):
537
+ return _StepperMotorMsgPayload.nanoToSec(nanos)
538
+
539
+ def diffNanoToSec(time1Nano, time2Nano):
540
+ return _StepperMotorMsgPayload.diffNanoToSec(time1Nano, time2Nano)
541
+
542
+ def secToNano(seconds):
543
+ return _StepperMotorMsgPayload.secToNano(seconds)
544
+ BOOL_FALSE = _StepperMotorMsgPayload.BOOL_FALSE
545
+ BOOL_TRUE = _StepperMotorMsgPayload.BOOL_TRUE
546
+ AVAILABLE = _StepperMotorMsgPayload.AVAILABLE
547
+ UNAVAILABLE = _StepperMotorMsgPayload.UNAVAILABLE
548
+ BalancedWheels = _StepperMotorMsgPayload.BalancedWheels
549
+ JitterSimple = _StepperMotorMsgPayload.JitterSimple
550
+ JitterFullyCoupled = _StepperMotorMsgPayload.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
+ _StepperMotorMsgPayload.SysModel_swiginit(self, _StepperMotorMsgPayload.new_SysModel(*args))
557
+ __swig_destroy__ = _StepperMotorMsgPayload.delete_SysModel
558
+
559
+ def SelfInit(self):
560
+ return _StepperMotorMsgPayload.SysModel_SelfInit(self)
561
+
562
+ def IntegratedInit(self):
563
+ return _StepperMotorMsgPayload.SysModel_IntegratedInit(self)
564
+
565
+ def UpdateState(self, CurrentSimNanos):
566
+ return _StepperMotorMsgPayload.SysModel_UpdateState(self, CurrentSimNanos)
567
+
568
+ def Reset(self, CurrentSimNanos):
569
+ return _StepperMotorMsgPayload.SysModel_Reset(self, CurrentSimNanos)
570
+ ModelTag = property(_StepperMotorMsgPayload.SysModel_ModelTag_get, _StepperMotorMsgPayload.SysModel_ModelTag_set)
571
+ CallCounts = property(_StepperMotorMsgPayload.SysModel_CallCounts_get, _StepperMotorMsgPayload.SysModel_CallCounts_set)
572
+ RNGSeed = property(_StepperMotorMsgPayload.SysModel_RNGSeed_get, _StepperMotorMsgPayload.SysModel_RNGSeed_set)
573
+ moduleID = property(_StepperMotorMsgPayload.SysModel_moduleID_get, _StepperMotorMsgPayload.SysModel_moduleID_set)
574
+
575
+ # Register SysModel in _StepperMotorMsgPayload:
576
+ _StepperMotorMsgPayload.SysModel_swigregister(SysModel)
577
+
578
+ def new_ThrustConfigArray(nelements):
579
+ return _StepperMotorMsgPayload.new_ThrustConfigArray(nelements)
580
+
581
+ def delete_ThrustConfigArray(ary):
582
+ return _StepperMotorMsgPayload.delete_ThrustConfigArray(ary)
583
+
584
+ def ThrustConfigArray_getitem(ary, index):
585
+ return _StepperMotorMsgPayload.ThrustConfigArray_getitem(ary, index)
586
+
587
+ def ThrustConfigArray_setitem(ary, index, value):
588
+ return _StepperMotorMsgPayload.ThrustConfigArray_setitem(ary, index, value)
589
+
590
+ def new_RWConfigArray(nelements):
591
+ return _StepperMotorMsgPayload.new_RWConfigArray(nelements)
592
+
593
+ def delete_RWConfigArray(ary):
594
+ return _StepperMotorMsgPayload.delete_RWConfigArray(ary)
595
+
596
+ def RWConfigArray_getitem(ary, index):
597
+ return _StepperMotorMsgPayload.RWConfigArray_getitem(ary, index)
598
+
599
+ def RWConfigArray_setitem(ary, index, value):
600
+ return _StepperMotorMsgPayload.RWConfigArray_setitem(ary, index, value)
601
+
602
+ def new_ReconfigBurnArray(nelements):
603
+ return _StepperMotorMsgPayload.new_ReconfigBurnArray(nelements)
604
+
605
+ def delete_ReconfigBurnArray(ary):
606
+ return _StepperMotorMsgPayload.delete_ReconfigBurnArray(ary)
607
+
608
+ def ReconfigBurnArray_getitem(ary, index):
609
+ return _StepperMotorMsgPayload.ReconfigBurnArray_getitem(ary, index)
610
+
611
+ def ReconfigBurnArray_setitem(ary, index, value):
612
+ return _StepperMotorMsgPayload.ReconfigBurnArray_setitem(ary, index, value)
613
+
614
+ import numpy as np
615
+
616
+ class StepperMotorMsgPayload(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
+ theta = property(_StepperMotorMsgPayload.StepperMotorMsgPayload_theta_get, _StepperMotorMsgPayload.StepperMotorMsgPayload_theta_set)
620
+ thetaDot = property(_StepperMotorMsgPayload.StepperMotorMsgPayload_thetaDot_get, _StepperMotorMsgPayload.StepperMotorMsgPayload_thetaDot_set)
621
+ thetaDDot = property(_StepperMotorMsgPayload.StepperMotorMsgPayload_thetaDDot_get, _StepperMotorMsgPayload.StepperMotorMsgPayload_thetaDDot_set)
622
+ stepsCommanded = property(_StepperMotorMsgPayload.StepperMotorMsgPayload_stepsCommanded_get, _StepperMotorMsgPayload.StepperMotorMsgPayload_stepsCommanded_set)
623
+ stepCount = property(_StepperMotorMsgPayload.StepperMotorMsgPayload_stepCount_get, _StepperMotorMsgPayload.StepperMotorMsgPayload_stepCount_set)
624
+
625
+ @classmethod
626
+ def __fields__(cls):
627
+ """Returns a list with all the payload's fields."""
628
+ return tuple(
629
+ name
630
+ for name, _ in inspect.getmembers(
631
+ cls,
632
+ lambda v: isinstance(v, property) and v is not cls.thisown
633
+ )
634
+ )
635
+
636
+ def __repr__(self):
637
+ """Formats the content of the payload"""
638
+ selfType = type(self)
639
+ fields = [
640
+ f"{name}={getattr(self, name)!r}"
641
+ for name in selfType.__fields__()
642
+ ]
643
+ return selfType.__qualname__ + "(" + ', '.join(fields) + ")"
644
+
645
+
646
+ def __init__(self, **fields):
647
+ """Constructs a new payload, zero'd by default.
648
+
649
+ Keyword arguments can be passed to initialize the fields of
650
+ this payload.
651
+ """
652
+ _StepperMotorMsgPayload.StepperMotorMsgPayload_swiginit(self, _StepperMotorMsgPayload.new_StepperMotorMsgPayload())
653
+ for field, value in fields.items():
654
+ setattr(self, field, value)
655
+
656
+
657
+ __swig_destroy__ = _StepperMotorMsgPayload.delete_StepperMotorMsgPayload
658
+
659
+ # Register StepperMotorMsgPayload in _StepperMotorMsgPayload:
660
+ _StepperMotorMsgPayload.StepperMotorMsgPayload_swigregister(StepperMotorMsgPayload)
661
+
662
+ def _pprint_StepperMotorMsgPayload(pprinter, object, stream, indent, allowance, context, level):
663
+ """Formatter function to support pretty-printing (with ``pprint``)."""
664
+ selfType = type(object)
665
+ cls_name = selfType.__qualname__
666
+ indent += len(cls_name) + 1
667
+ fields = [
668
+ (name, getattr(object, name))
669
+ for name in selfType.__fields__()
670
+ ]
671
+ stream.write(cls_name + '(')
672
+ if fields:
673
+ delimnl = ',\n' + ' ' * indent
674
+ last_index = len(fields) - 1
675
+ for i, (key, ent) in enumerate(fields):
676
+ last = i == last_index
677
+ stream.write(key)
678
+ stream.write('=')
679
+ pprinter._format(ent, stream, indent + len(key) + 1,
680
+ allowance if last else 1,
681
+ context, level)
682
+ if not last:
683
+ stream.write(delimnl)
684
+
685
+ stream.write(')')
686
+
687
+ pprint.PrettyPrinter._dispatch[StepperMotorMsgPayload.__repr__] = _pprint_StepperMotorMsgPayload
688
+
689
+ class StepperMotorMsgReader(object):
690
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
691
+ __repr__ = _swig_repr
692
+ bskLogger = property(_StepperMotorMsgPayload.StepperMotorMsgReader_bskLogger_get, _StepperMotorMsgPayload.StepperMotorMsgReader_bskLogger_set)
693
+ zeroMsgPayload = property(_StepperMotorMsgPayload.StepperMotorMsgReader_zeroMsgPayload_get, _StepperMotorMsgPayload.StepperMotorMsgReader_zeroMsgPayload_set)
694
+
695
+ def __init__(self, *args):
696
+ _StepperMotorMsgPayload.StepperMotorMsgReader_swiginit(self, _StepperMotorMsgPayload.new_StepperMotorMsgReader(*args))
697
+
698
+ def __call__(self):
699
+ return _StepperMotorMsgPayload.StepperMotorMsgReader___call__(self)
700
+
701
+ def isLinked(self):
702
+ return _StepperMotorMsgPayload.StepperMotorMsgReader_isLinked(self)
703
+
704
+ def isWritten(self):
705
+ return _StepperMotorMsgPayload.StepperMotorMsgReader_isWritten(self)
706
+
707
+ def timeWritten(self):
708
+ return _StepperMotorMsgPayload.StepperMotorMsgReader_timeWritten(self)
709
+
710
+ def moduleID(self):
711
+ return _StepperMotorMsgPayload.StepperMotorMsgReader_moduleID(self)
712
+
713
+ def __subscribe_to_C(self, source):
714
+ return _StepperMotorMsgPayload.StepperMotorMsgReader___subscribe_to_C(self, source)
715
+
716
+ def subscribeToAddr(self, sourceAddr):
717
+ return _StepperMotorMsgPayload.StepperMotorMsgReader_subscribeToAddr(self, sourceAddr)
718
+
719
+ def subscribeToCAddr(self, sourceAddr):
720
+ return _StepperMotorMsgPayload.StepperMotorMsgReader_subscribeToCAddr(self, sourceAddr)
721
+
722
+ def __subscribe_to(self, source):
723
+ return _StepperMotorMsgPayload.StepperMotorMsgReader___subscribe_to(self, source)
724
+
725
+ def unsubscribe(self):
726
+ return _StepperMotorMsgPayload.StepperMotorMsgReader_unsubscribe(self)
727
+
728
+ def __is_subscribed_to_C(self, source):
729
+ return _StepperMotorMsgPayload.StepperMotorMsgReader___is_subscribed_to_C(self, source)
730
+
731
+ def __is_subscribed_to(self, source):
732
+ return _StepperMotorMsgPayload.StepperMotorMsgReader___is_subscribed_to(self, source)
733
+
734
+ def isSubscribedToAddr(self, sourceAddr):
735
+ return _StepperMotorMsgPayload.StepperMotorMsgReader_isSubscribedToAddr(self, sourceAddr)
736
+
737
+ def isSubscribedToCAddr(self, sourceAddr):
738
+ return _StepperMotorMsgPayload.StepperMotorMsgReader_isSubscribedToCAddr(self, sourceAddr)
739
+
740
+ def recorder(self, timeDiff=0):
741
+ return _StepperMotorMsgPayload.StepperMotorMsgReader_recorder(self, timeDiff)
742
+
743
+ def subscribeTo(self, source):
744
+ if type(source) == StepperMotorMsg:
745
+ self.__subscribe_to(source)
746
+ return
747
+
748
+ try:
749
+ from Basilisk.architecture.messaging.StepperMotorMsgPayload import StepperMotorMsg_C
750
+ if type(source) == StepperMotorMsg_C:
751
+ self.__subscribe_to_C(source)
752
+ return
753
+ except ImportError:
754
+ pass
755
+
756
+ raise Exception('tried to subscribe ReadFunctor<StepperMotorMsgPayload> to output message type'
757
+ + str(type(source)))
758
+
759
+
760
+ def isSubscribedTo(self, source):
761
+ if type(source) == StepperMotorMsg:
762
+ return self.__is_subscribed_to(source)
763
+
764
+ try:
765
+ from Basilisk.architecture.messaging.StepperMotorMsgPayload import StepperMotorMsg_C
766
+ except ImportError:
767
+ return 0
768
+
769
+ if type(source) == StepperMotorMsg_C:
770
+ return self.__is_subscribed_to_C(source)
771
+ else:
772
+ return 0
773
+
774
+ __swig_destroy__ = _StepperMotorMsgPayload.delete_StepperMotorMsgReader
775
+
776
+ # Register StepperMotorMsgReader in _StepperMotorMsgPayload:
777
+ _StepperMotorMsgPayload.StepperMotorMsgReader_swigregister(StepperMotorMsgReader)
778
+ class StepperMotorMsgWriter(object):
779
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
780
+ __repr__ = _swig_repr
781
+
782
+ def __init__(self, *args):
783
+ _StepperMotorMsgPayload.StepperMotorMsgWriter_swiginit(self, _StepperMotorMsgPayload.new_StepperMotorMsgWriter(*args))
784
+
785
+ def __call__(self, payload, moduleID, callTime):
786
+ return _StepperMotorMsgPayload.StepperMotorMsgWriter___call__(self, payload, moduleID, callTime)
787
+ __swig_destroy__ = _StepperMotorMsgPayload.delete_StepperMotorMsgWriter
788
+
789
+ # Register StepperMotorMsgWriter in _StepperMotorMsgPayload:
790
+ _StepperMotorMsgPayload.StepperMotorMsgWriter_swigregister(StepperMotorMsgWriter)
791
+ class StepperMotorMsg(object):
792
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
793
+ __repr__ = _swig_repr
794
+ write = property(_StepperMotorMsgPayload.StepperMotorMsg_write_get, _StepperMotorMsgPayload.StepperMotorMsg_write_set)
795
+
796
+ def addSubscriber(self):
797
+ return _StepperMotorMsgPayload.StepperMotorMsg_addSubscriber(self)
798
+
799
+ def addAuthor(self):
800
+ return _StepperMotorMsgPayload.StepperMotorMsg_addAuthor(self)
801
+
802
+ def subscribeRaw(self, msgPtr):
803
+ return _StepperMotorMsgPayload.StepperMotorMsg_subscribeRaw(self, msgPtr)
804
+
805
+ def getMsgPointers(self, msgPtr):
806
+ return _StepperMotorMsgPayload.StepperMotorMsg_getMsgPointers(self, msgPtr)
807
+
808
+ def recorder(self, timeDiff=0):
809
+ return _StepperMotorMsgPayload.StepperMotorMsg_recorder(self, timeDiff)
810
+ zeroMsgPayload = property(_StepperMotorMsgPayload.StepperMotorMsg_zeroMsgPayload_get, _StepperMotorMsgPayload.StepperMotorMsg_zeroMsgPayload_set)
811
+
812
+ def isLinked(self):
813
+ return _StepperMotorMsgPayload.StepperMotorMsg_isLinked(self)
814
+
815
+ def getPayloadSize(self):
816
+ return _StepperMotorMsgPayload.StepperMotorMsg_getPayloadSize(self)
817
+
818
+ def write(self, payload, time=0, moduleID=0):
819
+ """Write the message payload.
820
+ The 2nd argument is time in nanoseconds. It is optional and defaults to 0.
821
+ The 3rd argument is the module ID which defaults to 0.
822
+ """
823
+ writeMsg = self.addAuthor()
824
+ writeMsg(payload, moduleID, time)#msgs written in python have 0 module ID
825
+ return self
826
+
827
+ def read(self):
828
+ """Read the message payload."""
829
+ readMsg = self.addSubscriber()
830
+ return readMsg()
831
+
832
+
833
+ def __init__(self):
834
+ _StepperMotorMsgPayload.StepperMotorMsg_swiginit(self, _StepperMotorMsgPayload.new_StepperMotorMsg())
835
+ __swig_destroy__ = _StepperMotorMsgPayload.delete_StepperMotorMsg
836
+
837
+ # Register StepperMotorMsg in _StepperMotorMsgPayload:
838
+ _StepperMotorMsgPayload.StepperMotorMsg_swigregister(StepperMotorMsg)
839
+ class StepperMotorMsgRecorder(SysModel):
840
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
841
+ __repr__ = _swig_repr
842
+
843
+ def __init__(self, *args):
844
+ _StepperMotorMsgPayload.StepperMotorMsgRecorder_swiginit(self, _StepperMotorMsgPayload.new_StepperMotorMsgRecorder(*args))
845
+ __swig_destroy__ = _StepperMotorMsgPayload.delete_StepperMotorMsgRecorder
846
+
847
+ def SelfInit(self):
848
+ return _StepperMotorMsgPayload.StepperMotorMsgRecorder_SelfInit(self)
849
+
850
+ def IntegratedInit(self):
851
+ return _StepperMotorMsgPayload.StepperMotorMsgRecorder_IntegratedInit(self)
852
+
853
+ def UpdateState(self, CurrentSimNanos):
854
+ return _StepperMotorMsgPayload.StepperMotorMsgRecorder_UpdateState(self, CurrentSimNanos)
855
+
856
+ def Reset(self, CurrentSimNanos):
857
+ return _StepperMotorMsgPayload.StepperMotorMsgRecorder_Reset(self, CurrentSimNanos)
858
+
859
+ def __time_vector(self):
860
+ return _StepperMotorMsgPayload.StepperMotorMsgRecorder___time_vector(self)
861
+
862
+ def __timeWritten_vector(self):
863
+ return _StepperMotorMsgPayload.StepperMotorMsgRecorder___timeWritten_vector(self)
864
+
865
+ def __record_vector(self):
866
+ return _StepperMotorMsgPayload.StepperMotorMsgRecorder___record_vector(self)
867
+
868
+ def size(self):
869
+ return _StepperMotorMsgPayload.StepperMotorMsgRecorder_size(self)
870
+
871
+ def findMsgName(self, msgName):
872
+ return _StepperMotorMsgPayload.StepperMotorMsgRecorder_findMsgName(self, msgName)
873
+
874
+ def clear(self):
875
+ return _StepperMotorMsgPayload.StepperMotorMsgRecorder_clear(self)
876
+ bskLogger = property(_StepperMotorMsgPayload.StepperMotorMsgRecorder_bskLogger_get, _StepperMotorMsgPayload.StepperMotorMsgRecorder_bskLogger_set)
877
+
878
+ def updateTimeInterval(self, timeDiff):
879
+ return _StepperMotorMsgPayload.StepperMotorMsgRecorder_updateTimeInterval(self, timeDiff)
880
+
881
+ def _theta_array(self):
882
+ return _StepperMotorMsgPayload.StepperMotorMsgRecorder__theta_array(self)
883
+
884
+ @property
885
+ def theta(self):
886
+ return self._theta_array()
887
+
888
+
889
+ def _thetaDot_array(self):
890
+ return _StepperMotorMsgPayload.StepperMotorMsgRecorder__thetaDot_array(self)
891
+
892
+ @property
893
+ def thetaDot(self):
894
+ return self._thetaDot_array()
895
+
896
+
897
+ def _thetaDDot_array(self):
898
+ return _StepperMotorMsgPayload.StepperMotorMsgRecorder__thetaDDot_array(self)
899
+
900
+ @property
901
+ def thetaDDot(self):
902
+ return self._thetaDDot_array()
903
+
904
+
905
+ def _stepsCommanded_array(self):
906
+ return _StepperMotorMsgPayload.StepperMotorMsgRecorder__stepsCommanded_array(self)
907
+
908
+ @property
909
+ def stepsCommanded(self):
910
+ return self._stepsCommanded_array()
911
+
912
+
913
+ def _stepCount_array(self):
914
+ return _StepperMotorMsgPayload.StepperMotorMsgRecorder__stepCount_array(self)
915
+
916
+ @property
917
+ def stepCount(self):
918
+ return self._stepCount_array()
919
+
920
+
921
+ def times(self):
922
+ return np.array(self.__time_vector())
923
+
924
+ def timesWritten(self):
925
+ return np.array(self.__timeWritten_vector())
926
+
927
+ def explore_and_find_subattr(self, attr, attr_name, outer_content=None):
928
+ if isinstance(attr, (int, float, str, bool)):
929
+ #Short circuit the most common attribute types
930
+ content = attr
931
+ elif "method" in str(type(attr)):
932
+ #The attribute is a method, nothing to do here
933
+ content = None
934
+ elif isinstance(attr, list):
935
+ #The attribute is a list of yet to be determined types
936
+ if len(attr) > 0:
937
+ if "Basilisk" in str(type(attr[0])):
938
+ content = outer_content if outer_content else dict()
939
+ #The attribute is a list of swigged BSK objects
940
+ for el, k in zip(attr, range(len(attr))):
941
+ self.explore_and_find_subattr(el, attr_name + "[" + str(k) + "]", content)
942
+ else:
943
+ #The attribute is a list of common types
944
+ content = attr
945
+ elif "Basilisk" in str(type(attr)):
946
+ #The attribute is a swigged BSK object
947
+ #Check to see if the object is a vector and pull out the data
948
+ if "Vector" in str(type(attr)) or "vector" in str(type(attr)):
949
+ content = []
950
+ for data in attr:
951
+ content.append(data)
952
+ else:
953
+ content = outer_content if outer_content else dict()
954
+ for subattr_name in dir(attr):
955
+ if not subattr_name.startswith("__") and subattr_name != "this":
956
+ self.explore_and_find_subattr(getattr(attr, subattr_name),
957
+ attr_name + "." + subattr_name,
958
+ content)
959
+ else:
960
+ #The attribute has a common type
961
+ content = attr
962
+
963
+ if outer_content is None:
964
+ return content
965
+ else:
966
+ #Dont report methods
967
+ if content is not None:
968
+ outer_content[attr_name] = content
969
+
970
+ #Cache if we can use the fast attr lookup, assuming that attr types are static
971
+ simple_attribute_map = {}
972
+
973
+ #This __getattr__ is written in message.i.
974
+ #It lets us return message struct attribute record as lists for plotting, etc.
975
+ def __getattr__(self, name):
976
+ data = self.__record_vector()
977
+ data_record = []
978
+ for rec in data.get_all():
979
+ #Allow us to skip explore_and_find_subattr when we dont have a complex attr
980
+ if name not in self.simple_attribute_map:
981
+ simple_content = rec.__getattribute__(name)
982
+ content = self.explore_and_find_subattr(simple_content, name)
983
+ if content == simple_content:
984
+ self.simple_attribute_map[name] = True
985
+ else:
986
+ deprecated.deprecationWarn(
987
+ self.__getattr__.__module__ + "." + self.__getattr__.__qualname__,
988
+ "2026/07/27",
989
+ "Compiled Basilisk with '--recorderPropertyRollback True' and using "
990
+ "deprecated output format for non-numeric payload recorder attribute. Don't use "
991
+ "'--recorderPropertyRollback' and update the code to handle the new output format.")
992
+ self.simple_attribute_map[name] = False
993
+ else:
994
+ if self.simple_attribute_map[name]:
995
+ content = rec.__getattribute__(name)
996
+ else:
997
+ content = self.explore_and_find_subattr(
998
+ rec.__getattribute__(name), name
999
+ )
1000
+
1001
+ #One-element list of BSK objects or raw dicts
1002
+ if isinstance(content, dict) and len(content) == 1 and "." not in str(list(content.keys())[0]):
1003
+ data_record.append(next(iter(content.values())))
1004
+ else:
1005
+ data_record.append(content)
1006
+
1007
+ return np.array(data_record)
1008
+
1009
+ def record(self):
1010
+ return self.__record_vector
1011
+
1012
+
1013
+ # Register StepperMotorMsgRecorder in _StepperMotorMsgPayload:
1014
+ _StepperMotorMsgPayload.StepperMotorMsgRecorder_swigregister(StepperMotorMsgRecorder)
1015
+ class StepperMotorMsgPayloadVector(object):
1016
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1017
+ __repr__ = _swig_repr
1018
+
1019
+ def iterator(self):
1020
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector_iterator(self)
1021
+ def __iter__(self):
1022
+ return self.iterator()
1023
+
1024
+ def __nonzero__(self):
1025
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector___nonzero__(self)
1026
+
1027
+ def __bool__(self):
1028
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector___bool__(self)
1029
+
1030
+ def __len__(self):
1031
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector___len__(self)
1032
+
1033
+ def __getslice__(self, i, j):
1034
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector___getslice__(self, i, j)
1035
+
1036
+ def __setslice__(self, *args):
1037
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector___setslice__(self, *args)
1038
+
1039
+ def __delslice__(self, i, j):
1040
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector___delslice__(self, i, j)
1041
+
1042
+ def __delitem__(self, *args):
1043
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector___delitem__(self, *args)
1044
+
1045
+ def __getitem__(self, *args):
1046
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector___getitem__(self, *args)
1047
+
1048
+ def __setitem__(self, *args):
1049
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector___setitem__(self, *args)
1050
+
1051
+ def pop(self):
1052
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector_pop(self)
1053
+
1054
+ def append(self, x):
1055
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector_append(self, x)
1056
+
1057
+ def empty(self):
1058
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector_empty(self)
1059
+
1060
+ def size(self):
1061
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector_size(self)
1062
+
1063
+ def swap(self, v):
1064
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector_swap(self, v)
1065
+
1066
+ def begin(self):
1067
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector_begin(self)
1068
+
1069
+ def end(self):
1070
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector_end(self)
1071
+
1072
+ def rbegin(self):
1073
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector_rbegin(self)
1074
+
1075
+ def rend(self):
1076
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector_rend(self)
1077
+
1078
+ def clear(self):
1079
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector_clear(self)
1080
+
1081
+ def get_allocator(self):
1082
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector_get_allocator(self)
1083
+
1084
+ def pop_back(self):
1085
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector_pop_back(self)
1086
+
1087
+ def erase(self, *args):
1088
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector_erase(self, *args)
1089
+
1090
+ def __init__(self, *args):
1091
+ _StepperMotorMsgPayload.StepperMotorMsgPayloadVector_swiginit(self, _StepperMotorMsgPayload.new_StepperMotorMsgPayloadVector(*args))
1092
+
1093
+ def push_back(self, x):
1094
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector_push_back(self, x)
1095
+
1096
+ def front(self):
1097
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector_front(self)
1098
+
1099
+ def back(self):
1100
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector_back(self)
1101
+
1102
+ def assign(self, n, x):
1103
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector_assign(self, n, x)
1104
+
1105
+ def resize(self, *args):
1106
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector_resize(self, *args)
1107
+
1108
+ def insert(self, *args):
1109
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector_insert(self, *args)
1110
+
1111
+ def reserve(self, n):
1112
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector_reserve(self, n)
1113
+
1114
+ def capacity(self):
1115
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector_capacity(self)
1116
+
1117
+ def get_all(self):
1118
+ return _StepperMotorMsgPayload.StepperMotorMsgPayloadVector_get_all(self)
1119
+
1120
+ #This __getattr__ is written in message.i.
1121
+ #It lets us return message struct attribute record as lists for plotting, etc.
1122
+ def __getattr__(self, name):
1123
+ data_record = []
1124
+ for rec in self.get_all():
1125
+ data_record.append(rec.__getattribute__(name))
1126
+ return np.array(data_record)
1127
+
1128
+ __swig_destroy__ = _StepperMotorMsgPayload.delete_StepperMotorMsgPayloadVector
1129
+
1130
+ # Register StepperMotorMsgPayloadVector in _StepperMotorMsgPayload:
1131
+ _StepperMotorMsgPayload.StepperMotorMsgPayloadVector_swigregister(StepperMotorMsgPayloadVector)
1132
+ class StepperMotorMsgOutMsgsVector(object):
1133
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1134
+ __repr__ = _swig_repr
1135
+
1136
+ def iterator(self):
1137
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector_iterator(self)
1138
+ def __iter__(self):
1139
+ return self.iterator()
1140
+
1141
+ def __nonzero__(self):
1142
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector___nonzero__(self)
1143
+
1144
+ def __bool__(self):
1145
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector___bool__(self)
1146
+
1147
+ def __len__(self):
1148
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector___len__(self)
1149
+
1150
+ def __getslice__(self, i, j):
1151
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector___getslice__(self, i, j)
1152
+
1153
+ def __setslice__(self, *args):
1154
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector___setslice__(self, *args)
1155
+
1156
+ def __delslice__(self, i, j):
1157
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector___delslice__(self, i, j)
1158
+
1159
+ def __delitem__(self, *args):
1160
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector___delitem__(self, *args)
1161
+
1162
+ def __getitem__(self, *args):
1163
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector___getitem__(self, *args)
1164
+
1165
+ def __setitem__(self, *args):
1166
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector___setitem__(self, *args)
1167
+
1168
+ def pop(self):
1169
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector_pop(self)
1170
+
1171
+ def append(self, x):
1172
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector_append(self, x)
1173
+
1174
+ def empty(self):
1175
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector_empty(self)
1176
+
1177
+ def size(self):
1178
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector_size(self)
1179
+
1180
+ def swap(self, v):
1181
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector_swap(self, v)
1182
+
1183
+ def begin(self):
1184
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector_begin(self)
1185
+
1186
+ def end(self):
1187
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector_end(self)
1188
+
1189
+ def rbegin(self):
1190
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector_rbegin(self)
1191
+
1192
+ def rend(self):
1193
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector_rend(self)
1194
+
1195
+ def clear(self):
1196
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector_clear(self)
1197
+
1198
+ def get_allocator(self):
1199
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector_get_allocator(self)
1200
+
1201
+ def pop_back(self):
1202
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector_pop_back(self)
1203
+
1204
+ def erase(self, *args):
1205
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector_erase(self, *args)
1206
+
1207
+ def __init__(self, *args):
1208
+ _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector_swiginit(self, _StepperMotorMsgPayload.new_StepperMotorMsgOutMsgsVector(*args))
1209
+
1210
+ def push_back(self, x):
1211
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector_push_back(self, x)
1212
+
1213
+ def front(self):
1214
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector_front(self)
1215
+
1216
+ def back(self):
1217
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector_back(self)
1218
+
1219
+ def assign(self, n, x):
1220
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector_assign(self, n, x)
1221
+
1222
+ def resize(self, *args):
1223
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector_resize(self, *args)
1224
+
1225
+ def insert(self, *args):
1226
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector_insert(self, *args)
1227
+
1228
+ def reserve(self, n):
1229
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector_reserve(self, n)
1230
+
1231
+ def capacity(self):
1232
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector_capacity(self)
1233
+ __swig_destroy__ = _StepperMotorMsgPayload.delete_StepperMotorMsgOutMsgsVector
1234
+
1235
+ # Register StepperMotorMsgOutMsgsVector in _StepperMotorMsgPayload:
1236
+ _StepperMotorMsgPayload.StepperMotorMsgOutMsgsVector_swigregister(StepperMotorMsgOutMsgsVector)
1237
+ class StepperMotorMsgOutMsgsPtrVector(object):
1238
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1239
+ __repr__ = _swig_repr
1240
+
1241
+ def iterator(self):
1242
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector_iterator(self)
1243
+ def __iter__(self):
1244
+ return self.iterator()
1245
+
1246
+ def __nonzero__(self):
1247
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector___nonzero__(self)
1248
+
1249
+ def __bool__(self):
1250
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector___bool__(self)
1251
+
1252
+ def __len__(self):
1253
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector___len__(self)
1254
+
1255
+ def __getslice__(self, i, j):
1256
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector___getslice__(self, i, j)
1257
+
1258
+ def __setslice__(self, *args):
1259
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector___setslice__(self, *args)
1260
+
1261
+ def __delslice__(self, i, j):
1262
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector___delslice__(self, i, j)
1263
+
1264
+ def __delitem__(self, *args):
1265
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector___delitem__(self, *args)
1266
+
1267
+ def __getitem__(self, *args):
1268
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector___getitem__(self, *args)
1269
+
1270
+ def __setitem__(self, *args):
1271
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector___setitem__(self, *args)
1272
+
1273
+ def pop(self):
1274
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector_pop(self)
1275
+
1276
+ def append(self, x):
1277
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector_append(self, x)
1278
+
1279
+ def empty(self):
1280
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector_empty(self)
1281
+
1282
+ def size(self):
1283
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector_size(self)
1284
+
1285
+ def swap(self, v):
1286
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector_swap(self, v)
1287
+
1288
+ def begin(self):
1289
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector_begin(self)
1290
+
1291
+ def end(self):
1292
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector_end(self)
1293
+
1294
+ def rbegin(self):
1295
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector_rbegin(self)
1296
+
1297
+ def rend(self):
1298
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector_rend(self)
1299
+
1300
+ def clear(self):
1301
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector_clear(self)
1302
+
1303
+ def get_allocator(self):
1304
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector_get_allocator(self)
1305
+
1306
+ def pop_back(self):
1307
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector_pop_back(self)
1308
+
1309
+ def erase(self, *args):
1310
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector_erase(self, *args)
1311
+
1312
+ def __init__(self, *args):
1313
+ _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector_swiginit(self, _StepperMotorMsgPayload.new_StepperMotorMsgOutMsgsPtrVector(*args))
1314
+
1315
+ def push_back(self, x):
1316
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector_push_back(self, x)
1317
+
1318
+ def front(self):
1319
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector_front(self)
1320
+
1321
+ def back(self):
1322
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector_back(self)
1323
+
1324
+ def assign(self, n, x):
1325
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector_assign(self, n, x)
1326
+
1327
+ def resize(self, *args):
1328
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector_resize(self, *args)
1329
+
1330
+ def insert(self, *args):
1331
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector_insert(self, *args)
1332
+
1333
+ def reserve(self, n):
1334
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector_reserve(self, n)
1335
+
1336
+ def capacity(self):
1337
+ return _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector_capacity(self)
1338
+ __swig_destroy__ = _StepperMotorMsgPayload.delete_StepperMotorMsgOutMsgsPtrVector
1339
+
1340
+ # Register StepperMotorMsgOutMsgsPtrVector in _StepperMotorMsgPayload:
1341
+ _StepperMotorMsgPayload.StepperMotorMsgOutMsgsPtrVector_swigregister(StepperMotorMsgOutMsgsPtrVector)
1342
+ class StepperMotorMsgInMsgsVector(object):
1343
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1344
+ __repr__ = _swig_repr
1345
+
1346
+ def iterator(self):
1347
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector_iterator(self)
1348
+ def __iter__(self):
1349
+ return self.iterator()
1350
+
1351
+ def __nonzero__(self):
1352
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector___nonzero__(self)
1353
+
1354
+ def __bool__(self):
1355
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector___bool__(self)
1356
+
1357
+ def __len__(self):
1358
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector___len__(self)
1359
+
1360
+ def __getslice__(self, i, j):
1361
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector___getslice__(self, i, j)
1362
+
1363
+ def __setslice__(self, *args):
1364
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector___setslice__(self, *args)
1365
+
1366
+ def __delslice__(self, i, j):
1367
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector___delslice__(self, i, j)
1368
+
1369
+ def __delitem__(self, *args):
1370
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector___delitem__(self, *args)
1371
+
1372
+ def __getitem__(self, *args):
1373
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector___getitem__(self, *args)
1374
+
1375
+ def __setitem__(self, *args):
1376
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector___setitem__(self, *args)
1377
+
1378
+ def pop(self):
1379
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector_pop(self)
1380
+
1381
+ def append(self, x):
1382
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector_append(self, x)
1383
+
1384
+ def empty(self):
1385
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector_empty(self)
1386
+
1387
+ def size(self):
1388
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector_size(self)
1389
+
1390
+ def swap(self, v):
1391
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector_swap(self, v)
1392
+
1393
+ def begin(self):
1394
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector_begin(self)
1395
+
1396
+ def end(self):
1397
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector_end(self)
1398
+
1399
+ def rbegin(self):
1400
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector_rbegin(self)
1401
+
1402
+ def rend(self):
1403
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector_rend(self)
1404
+
1405
+ def clear(self):
1406
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector_clear(self)
1407
+
1408
+ def get_allocator(self):
1409
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector_get_allocator(self)
1410
+
1411
+ def pop_back(self):
1412
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector_pop_back(self)
1413
+
1414
+ def erase(self, *args):
1415
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector_erase(self, *args)
1416
+
1417
+ def __init__(self, *args):
1418
+ _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector_swiginit(self, _StepperMotorMsgPayload.new_StepperMotorMsgInMsgsVector(*args))
1419
+
1420
+ def push_back(self, x):
1421
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector_push_back(self, x)
1422
+
1423
+ def front(self):
1424
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector_front(self)
1425
+
1426
+ def back(self):
1427
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector_back(self)
1428
+
1429
+ def assign(self, n, x):
1430
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector_assign(self, n, x)
1431
+
1432
+ def resize(self, *args):
1433
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector_resize(self, *args)
1434
+
1435
+ def insert(self, *args):
1436
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector_insert(self, *args)
1437
+
1438
+ def reserve(self, n):
1439
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector_reserve(self, n)
1440
+
1441
+ def capacity(self):
1442
+ return _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector_capacity(self)
1443
+ __swig_destroy__ = _StepperMotorMsgPayload.delete_StepperMotorMsgInMsgsVector
1444
+
1445
+ # Register StepperMotorMsgInMsgsVector in _StepperMotorMsgPayload:
1446
+ _StepperMotorMsgPayload.StepperMotorMsgInMsgsVector_swigregister(StepperMotorMsgInMsgsVector)
1447
+ class StepperMotorMsg_C(object):
1448
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1449
+ __repr__ = _swig_repr
1450
+ header = property(_StepperMotorMsgPayload.StepperMotorMsg_C_header_get, _StepperMotorMsgPayload.StepperMotorMsg_C_header_set)
1451
+ payload = property(_StepperMotorMsgPayload.StepperMotorMsg_C_payload_get, _StepperMotorMsgPayload.StepperMotorMsg_C_payload_set)
1452
+ payloadPointer = property(_StepperMotorMsgPayload.StepperMotorMsg_C_payloadPointer_get, _StepperMotorMsgPayload.StepperMotorMsg_C_payloadPointer_set)
1453
+ headerPointer = property(_StepperMotorMsgPayload.StepperMotorMsg_C_headerPointer_get, _StepperMotorMsgPayload.StepperMotorMsg_C_headerPointer_set)
1454
+
1455
+ def recorder(self, timeDiff=0):
1456
+ return _StepperMotorMsgPayload.StepperMotorMsg_C_recorder(self, timeDiff)
1457
+
1458
+
1459
+ def subscribeTo(self, source):
1460
+ """subscribe to another message source"""
1461
+ from Basilisk.architecture.messaging import StepperMotorMsg
1462
+ if type(source) == type(self):
1463
+ StepperMotorMsg_C_subscribe(self, source)
1464
+ elif type(source) == StepperMotorMsg:
1465
+ StepperMotorMsg_cpp_subscribe(self, source)
1466
+ elif type(source) == int: #Note that is assumes it is a uint64_t address in memory
1467
+ StepperMotorMsg_addr_subscribe(self, source)
1468
+ else:
1469
+ raise Exception('tried to subscribe StepperMotorMsg to another message type')
1470
+
1471
+ def unsubscribe(self):
1472
+ """Unsubscribe to the connected message, noop if no message was connected"""
1473
+ StepperMotorMsg_unsubscribe(self)
1474
+
1475
+ def isSubscribedTo(self, source):
1476
+ """check if self is subscribed to another message source"""
1477
+ from Basilisk.architecture.messaging import StepperMotorMsg
1478
+ if type(source) == type(self):
1479
+ return (StepperMotorMsg_C_isSubscribedTo(self, source))
1480
+ elif type(source) == StepperMotorMsg:
1481
+ return (StepperMotorMsg_cpp_isSubscribedTo(self, source))
1482
+ elif type(source) == int: #Note that this assumes it is a uint64_t address location in memory
1483
+ return (StepperMotorMsg_cpp_isSubscribedToAddr(self, source))
1484
+ else:
1485
+ return 0
1486
+
1487
+
1488
+ def init(self, data=None):
1489
+ """returns a Msg copy connected to itself"""
1490
+ StepperMotorMsg_C_addAuthor(self, self)
1491
+ if data:
1492
+ StepperMotorMsg_C_write(data, self, -1, 0)
1493
+ return self
1494
+
1495
+ def write(self, payload, time=0, moduleID=0):
1496
+ """write the message payload.
1497
+ The 2nd argument is time in nanoseconds. It is optional and defaults to 0.
1498
+ The 3rd argument is the module ID which defaults to 0.
1499
+ """
1500
+ StepperMotorMsg_C_addAuthor(self, self)
1501
+ StepperMotorMsg_C_write(payload, self, moduleID, time) # msgs written in Python have 0 module ID
1502
+ return self
1503
+
1504
+ def read(self):
1505
+ """read the message payload."""
1506
+ return StepperMotorMsg_C_read(self)
1507
+
1508
+
1509
+ def __init__(self):
1510
+ _StepperMotorMsgPayload.StepperMotorMsg_C_swiginit(self, _StepperMotorMsgPayload.new_StepperMotorMsg_C())
1511
+ __swig_destroy__ = _StepperMotorMsgPayload.delete_StepperMotorMsg_C
1512
+
1513
+ # Register StepperMotorMsg_C in _StepperMotorMsgPayload:
1514
+ _StepperMotorMsgPayload.StepperMotorMsg_C_swigregister(StepperMotorMsg_C)
1515
+
1516
+ def StepperMotorMsg_cpp_subscribe(subscriber, source):
1517
+ return _StepperMotorMsgPayload.StepperMotorMsg_cpp_subscribe(subscriber, source)
1518
+
1519
+ def StepperMotorMsg_C_subscribe(subscriber, source):
1520
+ return _StepperMotorMsgPayload.StepperMotorMsg_C_subscribe(subscriber, source)
1521
+
1522
+ def StepperMotorMsg_addr_subscribe(subscriber, sourceAddr):
1523
+ return _StepperMotorMsgPayload.StepperMotorMsg_addr_subscribe(subscriber, sourceAddr)
1524
+
1525
+ def StepperMotorMsg_unsubscribe(subscriber):
1526
+ return _StepperMotorMsgPayload.StepperMotorMsg_unsubscribe(subscriber)
1527
+
1528
+ def StepperMotorMsg_C_isSubscribedTo(subscriber, source):
1529
+ return _StepperMotorMsgPayload.StepperMotorMsg_C_isSubscribedTo(subscriber, source)
1530
+
1531
+ def StepperMotorMsg_cpp_isSubscribedTo(subscriber, source):
1532
+ return _StepperMotorMsgPayload.StepperMotorMsg_cpp_isSubscribedTo(subscriber, source)
1533
+
1534
+ def StepperMotorMsg_cpp_isSubscribedToAddr(subscriber, sourceAddr):
1535
+ return _StepperMotorMsgPayload.StepperMotorMsg_cpp_isSubscribedToAddr(subscriber, sourceAddr)
1536
+
1537
+ def StepperMotorMsg_C_addAuthor(coowner, data):
1538
+ return _StepperMotorMsgPayload.StepperMotorMsg_C_addAuthor(coowner, data)
1539
+
1540
+ def StepperMotorMsg_C_init(owner):
1541
+ return _StepperMotorMsgPayload.StepperMotorMsg_C_init(owner)
1542
+
1543
+ def StepperMotorMsg_C_isLinked(data):
1544
+ return _StepperMotorMsgPayload.StepperMotorMsg_C_isLinked(data)
1545
+
1546
+ def StepperMotorMsg_C_isWritten(data):
1547
+ return _StepperMotorMsgPayload.StepperMotorMsg_C_isWritten(data)
1548
+
1549
+ def StepperMotorMsg_C_timeWritten(data):
1550
+ return _StepperMotorMsgPayload.StepperMotorMsg_C_timeWritten(data)
1551
+
1552
+ def StepperMotorMsg_C_moduleID(data):
1553
+ return _StepperMotorMsgPayload.StepperMotorMsg_C_moduleID(data)
1554
+
1555
+ def StepperMotorMsg_C_write(data, destination, moduleID, callTime):
1556
+ return _StepperMotorMsgPayload.StepperMotorMsg_C_write(data, destination, moduleID, callTime)
1557
+
1558
+ def StepperMotorMsg_C_read(source):
1559
+ return _StepperMotorMsgPayload.StepperMotorMsg_C_read(source)
1560
+
1561
+ def StepperMotorMsg_C_zeroMsgPayload():
1562
+ return _StepperMotorMsgPayload.StepperMotorMsg_C_zeroMsgPayload()
1563
+ class MsgHeader(object):
1564
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1565
+ __repr__ = _swig_repr
1566
+ isLinked = property(_StepperMotorMsgPayload.MsgHeader_isLinked_get, _StepperMotorMsgPayload.MsgHeader_isLinked_set)
1567
+ isWritten = property(_StepperMotorMsgPayload.MsgHeader_isWritten_get, _StepperMotorMsgPayload.MsgHeader_isWritten_set)
1568
+ timeWritten = property(_StepperMotorMsgPayload.MsgHeader_timeWritten_get, _StepperMotorMsgPayload.MsgHeader_timeWritten_set)
1569
+ moduleID = property(_StepperMotorMsgPayload.MsgHeader_moduleID_get, _StepperMotorMsgPayload.MsgHeader_moduleID_set)
1570
+
1571
+ def __init__(self):
1572
+ _StepperMotorMsgPayload.MsgHeader_swiginit(self, _StepperMotorMsgPayload.new_MsgHeader())
1573
+ __swig_destroy__ = _StepperMotorMsgPayload.delete_MsgHeader
1574
+
1575
+ # Register MsgHeader in _StepperMotorMsgPayload:
1576
+ _StepperMotorMsgPayload.MsgHeader_swigregister(MsgHeader)
1577
+