donkeydrifter 0.1.0__tar.gz

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 (315) hide show
  1. donkeydrifter-0.1.0/LICENSE +201 -0
  2. donkeydrifter-0.1.0/LICENSES/MIT-donkeycar.txt +21 -0
  3. donkeydrifter-0.1.0/MANIFEST.in +12 -0
  4. donkeydrifter-0.1.0/NOTICE +21 -0
  5. donkeydrifter-0.1.0/PKG-INFO +214 -0
  6. donkeydrifter-0.1.0/README.md +112 -0
  7. donkeydrifter-0.1.0/donkeycar/__init__.py +21 -0
  8. donkeydrifter-0.1.0/donkeycar/_version.py +1 -0
  9. donkeydrifter-0.1.0/donkeycar/benchmarks/tub.py +44 -0
  10. donkeydrifter-0.1.0/donkeycar/benchmarks/tub_v2.py +40 -0
  11. donkeydrifter-0.1.0/donkeycar/config.py +90 -0
  12. donkeydrifter-0.1.0/donkeycar/contrib/__init__.py +0 -0
  13. donkeydrifter-0.1.0/donkeycar/contrib/robohat/code-robocarstore.py +186 -0
  14. donkeydrifter-0.1.0/donkeycar/contrib/robohat/code.py +188 -0
  15. donkeydrifter-0.1.0/donkeycar/contrib/robohat/rear_light.py +44 -0
  16. donkeydrifter-0.1.0/donkeycar/geom.py +37 -0
  17. donkeydrifter-0.1.0/donkeycar/gym/__init__.py +0 -0
  18. donkeydrifter-0.1.0/donkeycar/gym/gym_real.py +89 -0
  19. donkeydrifter-0.1.0/donkeycar/gym/remote_controller.py +42 -0
  20. donkeydrifter-0.1.0/donkeycar/la.py +623 -0
  21. donkeydrifter-0.1.0/donkeycar/management/__init__.py +3 -0
  22. donkeydrifter-0.1.0/donkeycar/management/base.py +1046 -0
  23. donkeydrifter-0.1.0/donkeycar/management/data_migrator.py +160 -0
  24. donkeydrifter-0.1.0/donkeycar/management/graph.py +189 -0
  25. donkeydrifter-0.1.0/donkeycar/management/joystick_creator.py +584 -0
  26. donkeydrifter-0.1.0/donkeycar/management/makemovie.py +321 -0
  27. donkeydrifter-0.1.0/donkeycar/management/train_local.py +50 -0
  28. donkeydrifter-0.1.0/donkeycar/management/train_online.py +887 -0
  29. donkeydrifter-0.1.0/donkeycar/management/tub_web/base.html +44 -0
  30. donkeydrifter-0.1.0/donkeycar/management/tub_web/tub.html +66 -0
  31. donkeydrifter-0.1.0/donkeycar/management/tub_web/tubs.html +17 -0
  32. donkeydrifter-0.1.0/donkeycar/management/tui.py +1422 -0
  33. donkeydrifter-0.1.0/donkeycar/management/ui/__init__.py +0 -0
  34. donkeydrifter-0.1.0/donkeycar/management/ui/car_screen.kv +154 -0
  35. donkeydrifter-0.1.0/donkeycar/management/ui/car_screen.py +219 -0
  36. donkeydrifter-0.1.0/donkeycar/management/ui/common.kv +303 -0
  37. donkeydrifter-0.1.0/donkeycar/management/ui/common.py +376 -0
  38. donkeydrifter-0.1.0/donkeycar/management/ui/pilot_screen.kv +240 -0
  39. donkeydrifter-0.1.0/donkeycar/management/ui/pilot_screen.py +386 -0
  40. donkeydrifter-0.1.0/donkeycar/management/ui/rc_file_handler.py +92 -0
  41. donkeydrifter-0.1.0/donkeycar/management/ui/train_screen.kv +295 -0
  42. donkeydrifter-0.1.0/donkeycar/management/ui/train_screen.py +325 -0
  43. donkeydrifter-0.1.0/donkeycar/management/ui/tub_screen.kv +174 -0
  44. donkeydrifter-0.1.0/donkeycar/management/ui/tub_screen.py +327 -0
  45. donkeydrifter-0.1.0/donkeycar/management/ui/ui.kv +78 -0
  46. donkeydrifter-0.1.0/donkeycar/management/ui/ui.py +68 -0
  47. donkeydrifter-0.1.0/donkeycar/memory.py +61 -0
  48. donkeydrifter-0.1.0/donkeycar/parts/__init__.py +0 -0
  49. donkeydrifter-0.1.0/donkeycar/parts/actuator.py +1430 -0
  50. donkeydrifter-0.1.0/donkeycar/parts/behavior.py +45 -0
  51. donkeydrifter-0.1.0/donkeycar/parts/camera.py +387 -0
  52. donkeydrifter-0.1.0/donkeycar/parts/controller.py +1750 -0
  53. donkeydrifter-0.1.0/donkeycar/parts/coral.py +93 -0
  54. donkeydrifter-0.1.0/donkeycar/parts/cv.py +891 -0
  55. donkeydrifter-0.1.0/donkeycar/parts/datastore.py +572 -0
  56. donkeydrifter-0.1.0/donkeycar/parts/datastore_v2.py +496 -0
  57. donkeydrifter-0.1.0/donkeycar/parts/dgym.py +101 -0
  58. donkeydrifter-0.1.0/donkeycar/parts/encoder.py +201 -0
  59. donkeydrifter-0.1.0/donkeycar/parts/explode.py +26 -0
  60. donkeydrifter-0.1.0/donkeycar/parts/fast_stretch.py +97 -0
  61. donkeydrifter-0.1.0/donkeycar/parts/fastai.py +278 -0
  62. donkeydrifter-0.1.0/donkeycar/parts/file_watcher.py +28 -0
  63. donkeydrifter-0.1.0/donkeycar/parts/fps.py +46 -0
  64. donkeydrifter-0.1.0/donkeycar/parts/gps.py +685 -0
  65. donkeydrifter-0.1.0/donkeycar/parts/graph.py +43 -0
  66. donkeydrifter-0.1.0/donkeycar/parts/image.py +110 -0
  67. donkeydrifter-0.1.0/donkeycar/parts/image_transformations.py +574 -0
  68. donkeydrifter-0.1.0/donkeycar/parts/imu.py +111 -0
  69. donkeydrifter-0.1.0/donkeycar/parts/interpreter.py +365 -0
  70. donkeydrifter-0.1.0/donkeycar/parts/keras.py +1133 -0
  71. donkeydrifter-0.1.0/donkeycar/parts/kinematics.py +677 -0
  72. donkeydrifter-0.1.0/donkeycar/parts/launch.py +48 -0
  73. donkeydrifter-0.1.0/donkeycar/parts/led_status.py +145 -0
  74. donkeydrifter-0.1.0/donkeycar/parts/leopard_imaging.py +57 -0
  75. donkeydrifter-0.1.0/donkeycar/parts/lidar.py +922 -0
  76. donkeydrifter-0.1.0/donkeycar/parts/line_follower.py +138 -0
  77. donkeydrifter-0.1.0/donkeycar/parts/logger.py +34 -0
  78. donkeydrifter-0.1.0/donkeycar/parts/network.py +492 -0
  79. donkeydrifter-0.1.0/donkeycar/parts/oak_d.py +381 -0
  80. donkeydrifter-0.1.0/donkeycar/parts/object_detector/stop_sign_detector.py +131 -0
  81. donkeydrifter-0.1.0/donkeycar/parts/odometer.py +63 -0
  82. donkeydrifter-0.1.0/donkeycar/parts/oled.py +161 -0
  83. donkeydrifter-0.1.0/donkeycar/parts/path.py +458 -0
  84. donkeydrifter-0.1.0/donkeycar/parts/perfmon.py +54 -0
  85. donkeydrifter-0.1.0/donkeycar/parts/pigpio_enc.py +92 -0
  86. donkeydrifter-0.1.0/donkeycar/parts/pins.py +1065 -0
  87. donkeydrifter-0.1.0/donkeycar/parts/pipe.py +8 -0
  88. donkeydrifter-0.1.0/donkeycar/parts/pose.py +262 -0
  89. donkeydrifter-0.1.0/donkeycar/parts/pytorch/ResNet18.py +105 -0
  90. donkeydrifter-0.1.0/donkeycar/parts/pytorch/torch_data.py +161 -0
  91. donkeydrifter-0.1.0/donkeycar/parts/pytorch/torch_train.py +60 -0
  92. donkeydrifter-0.1.0/donkeycar/parts/pytorch/torch_utils.py +31 -0
  93. donkeydrifter-0.1.0/donkeycar/parts/realsense2.py +131 -0
  94. donkeydrifter-0.1.0/donkeycar/parts/realsense435i.py +317 -0
  95. donkeydrifter-0.1.0/donkeycar/parts/robohat.py +259 -0
  96. donkeydrifter-0.1.0/donkeycar/parts/ros.py +44 -0
  97. donkeydrifter-0.1.0/donkeycar/parts/salient.py +106 -0
  98. donkeydrifter-0.1.0/donkeycar/parts/serial_controller.py +46 -0
  99. donkeydrifter-0.1.0/donkeycar/parts/serial_port.py +330 -0
  100. donkeydrifter-0.1.0/donkeycar/parts/simulation.py +73 -0
  101. donkeydrifter-0.1.0/donkeycar/parts/sombrero.py +27 -0
  102. donkeydrifter-0.1.0/donkeycar/parts/tachometer.py +732 -0
  103. donkeydrifter-0.1.0/donkeycar/parts/teensy.py +85 -0
  104. donkeydrifter-0.1.0/donkeycar/parts/telemetry.py +185 -0
  105. donkeydrifter-0.1.0/donkeycar/parts/text_writer.py +125 -0
  106. donkeydrifter-0.1.0/donkeycar/parts/tfmini.py +82 -0
  107. donkeydrifter-0.1.0/donkeycar/parts/throttle_filter.py +28 -0
  108. donkeydrifter-0.1.0/donkeycar/parts/transform.py +182 -0
  109. donkeydrifter-0.1.0/donkeycar/parts/tub_v2.py +176 -0
  110. donkeydrifter-0.1.0/donkeycar/parts/velocity.py +127 -0
  111. donkeydrifter-0.1.0/donkeycar/parts/voice_control/alexa.py +77 -0
  112. donkeydrifter-0.1.0/donkeycar/parts/web_controller/templates/base.html +78 -0
  113. donkeydrifter-0.1.0/donkeycar/parts/web_controller/templates/base_fpv.html +76 -0
  114. donkeydrifter-0.1.0/donkeycar/parts/web_controller/templates/calibrate.html +246 -0
  115. donkeydrifter-0.1.0/donkeycar/parts/web_controller/templates/home.html +26 -0
  116. donkeydrifter-0.1.0/donkeycar/parts/web_controller/templates/pilots_list.html +23 -0
  117. donkeydrifter-0.1.0/donkeycar/parts/web_controller/templates/session.html +156 -0
  118. donkeydrifter-0.1.0/donkeycar/parts/web_controller/templates/session_list.html +23 -0
  119. donkeydrifter-0.1.0/donkeycar/parts/web_controller/templates/static/bootstrap/3.3.7/css/bootstrap.min.css +6 -0
  120. donkeydrifter-0.1.0/donkeycar/parts/web_controller/templates/static/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.ttf +0 -0
  121. donkeydrifter-0.1.0/donkeycar/parts/web_controller/templates/static/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.woff +0 -0
  122. donkeydrifter-0.1.0/donkeycar/parts/web_controller/templates/static/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.woff2 +0 -0
  123. donkeydrifter-0.1.0/donkeycar/parts/web_controller/templates/static/bootstrap/3.3.7/js/bootstrap.min.js +7 -0
  124. donkeydrifter-0.1.0/donkeycar/parts/web_controller/templates/static/donkeycar-logo-sideways.png +0 -0
  125. donkeydrifter-0.1.0/donkeycar/parts/web_controller/templates/static/img_placeholder.jpg +0 -0
  126. donkeydrifter-0.1.0/donkeycar/parts/web_controller/templates/static/jquery-3.1.1.min.js +4 -0
  127. donkeydrifter-0.1.0/donkeycar/parts/web_controller/templates/static/main.js +1254 -0
  128. donkeydrifter-0.1.0/donkeycar/parts/web_controller/templates/static/nipple.js +1412 -0
  129. donkeydrifter-0.1.0/donkeycar/parts/web_controller/templates/static/style.css +143 -0
  130. donkeydrifter-0.1.0/donkeycar/parts/web_controller/templates/static/ui/1.12.1/jquery-ui.min.js +13 -0
  131. donkeydrifter-0.1.0/donkeycar/parts/web_controller/templates/vehicle.html +284 -0
  132. donkeydrifter-0.1.0/donkeycar/parts/web_controller/templates/vehicle_list.html +23 -0
  133. donkeydrifter-0.1.0/donkeycar/parts/web_controller/templates/wsTest.html +65 -0
  134. donkeydrifter-0.1.0/donkeycar/parts/web_controller/web.py +627 -0
  135. donkeydrifter-0.1.0/donkeycar/pipeline/__init__.py +1 -0
  136. donkeydrifter-0.1.0/donkeycar/pipeline/augmentations.py +48 -0
  137. donkeydrifter-0.1.0/donkeycar/pipeline/database.py +149 -0
  138. donkeydrifter-0.1.0/donkeycar/pipeline/sequence.py +174 -0
  139. donkeydrifter-0.1.0/donkeycar/pipeline/training.py +229 -0
  140. donkeydrifter-0.1.0/donkeycar/pipeline/types.py +229 -0
  141. donkeydrifter-0.1.0/donkeycar/templates/arduino_drive.py +67 -0
  142. donkeydrifter-0.1.0/donkeycar/templates/basic.py +247 -0
  143. donkeydrifter-0.1.0/donkeycar/templates/calibrate.py +133 -0
  144. donkeydrifter-0.1.0/donkeycar/templates/calibration_odometry.json +40 -0
  145. donkeydrifter-0.1.0/donkeycar/templates/cfg_arduino_drive.py +48 -0
  146. donkeydrifter-0.1.0/donkeycar/templates/cfg_basic.py +221 -0
  147. donkeydrifter-0.1.0/donkeycar/templates/cfg_complete.py +815 -0
  148. donkeydrifter-0.1.0/donkeycar/templates/cfg_cv_control.py +660 -0
  149. donkeydrifter-0.1.0/donkeycar/templates/cfg_path_follow.py +719 -0
  150. donkeydrifter-0.1.0/donkeycar/templates/cfg_simulator.py +329 -0
  151. donkeydrifter-0.1.0/donkeycar/templates/cfg_square.py +83 -0
  152. donkeydrifter-0.1.0/donkeycar/templates/complete.py +1358 -0
  153. donkeydrifter-0.1.0/donkeycar/templates/cv_control.py +260 -0
  154. donkeydrifter-0.1.0/donkeycar/templates/just_drive.py +71 -0
  155. donkeydrifter-0.1.0/donkeycar/templates/myconfig.py +128 -0
  156. donkeydrifter-0.1.0/donkeycar/templates/path_follow.py +494 -0
  157. donkeydrifter-0.1.0/donkeycar/templates/simulator.py +438 -0
  158. donkeydrifter-0.1.0/donkeycar/templates/square.py +168 -0
  159. donkeydrifter-0.1.0/donkeycar/templates/train.py +77 -0
  160. donkeydrifter-0.1.0/donkeycar/tests/__init__.py +1 -0
  161. donkeydrifter-0.1.0/donkeycar/tests/pytest.ini +8 -0
  162. donkeydrifter-0.1.0/donkeycar/tests/setup.py +84 -0
  163. donkeydrifter-0.1.0/donkeycar/tests/test_actuator.py +53 -0
  164. donkeydrifter-0.1.0/donkeycar/tests/test_catalog_v2.py +44 -0
  165. donkeydrifter-0.1.0/donkeycar/tests/test_circular_buffer.py +124 -0
  166. donkeydrifter-0.1.0/donkeycar/tests/test_cli_branding.py +31 -0
  167. donkeydrifter-0.1.0/donkeycar/tests/test_controller.py +33 -0
  168. donkeydrifter-0.1.0/donkeycar/tests/test_data_migrator.py +154 -0
  169. donkeydrifter-0.1.0/donkeycar/tests/test_datastore_v2.py +94 -0
  170. donkeydrifter-0.1.0/donkeycar/tests/test_import_side_effects.py +106 -0
  171. donkeydrifter-0.1.0/donkeycar/tests/test_keras.py +86 -0
  172. donkeydrifter-0.1.0/donkeycar/tests/test_kinematics.py +743 -0
  173. donkeydrifter-0.1.0/donkeycar/tests/test_launch.py +91 -0
  174. donkeydrifter-0.1.0/donkeycar/tests/test_lidar.py +97 -0
  175. donkeydrifter-0.1.0/donkeycar/tests/test_memory.py +68 -0
  176. donkeydrifter-0.1.0/donkeycar/tests/test_odometer.py +29 -0
  177. donkeydrifter-0.1.0/donkeycar/tests/test_parts.py +1 -0
  178. donkeydrifter-0.1.0/donkeycar/tests/test_path.py +290 -0
  179. donkeydrifter-0.1.0/donkeycar/tests/test_pipeline.py +168 -0
  180. donkeydrifter-0.1.0/donkeycar/tests/test_project_metadata.py +145 -0
  181. donkeydrifter-0.1.0/donkeycar/tests/test_robohat.py +247 -0
  182. donkeydrifter-0.1.0/donkeycar/tests/test_scripts.py +83 -0
  183. donkeydrifter-0.1.0/donkeycar/tests/test_seekable_v2.py +79 -0
  184. donkeydrifter-0.1.0/donkeycar/tests/test_tachometer.py +152 -0
  185. donkeydrifter-0.1.0/donkeycar/tests/test_telemetry.py +99 -0
  186. donkeydrifter-0.1.0/donkeycar/tests/test_template.py +80 -0
  187. donkeydrifter-0.1.0/donkeycar/tests/test_torch.py +130 -0
  188. donkeydrifter-0.1.0/donkeycar/tests/test_train.py +236 -0
  189. donkeydrifter-0.1.0/donkeycar/tests/test_tub_v2.py +76 -0
  190. donkeydrifter-0.1.0/donkeycar/tests/test_tubwriter.py +43 -0
  191. donkeydrifter-0.1.0/donkeycar/tests/test_tui_backup_restore.py +54 -0
  192. donkeydrifter-0.1.0/donkeycar/tests/test_tui_clear_data.py +63 -0
  193. donkeydrifter-0.1.0/donkeycar/tests/test_tui_restore.py +76 -0
  194. donkeydrifter-0.1.0/donkeycar/tests/test_util_data.py +160 -0
  195. donkeydrifter-0.1.0/donkeycar/tests/test_vehicle.py +57 -0
  196. donkeydrifter-0.1.0/donkeycar/tests/test_web_controller.py +32 -0
  197. donkeydrifter-0.1.0/donkeycar/tests/test_web_socket.py +184 -0
  198. donkeydrifter-0.1.0/donkeycar/tests/test_web_ui_branding.py +29 -0
  199. donkeydrifter-0.1.0/donkeycar/utilities/TrackSpeedPlanner/static/index.html +734 -0
  200. donkeydrifter-0.1.0/donkeycar/utilities/TrackSpeedPlanner/trackeditor.py +404 -0
  201. donkeydrifter-0.1.0/donkeycar/utilities/__init__.py +0 -0
  202. donkeydrifter-0.1.0/donkeycar/utilities/circular_buffer.py +143 -0
  203. donkeydrifter-0.1.0/donkeycar/utilities/deprecated.py +80 -0
  204. donkeydrifter-0.1.0/donkeycar/utilities/dk_platform.py +34 -0
  205. donkeydrifter-0.1.0/donkeycar/utils.py +622 -0
  206. donkeydrifter-0.1.0/donkeycar/vehicle.py +228 -0
  207. donkeydrifter-0.1.0/donkeydrifter/__init__.py +57 -0
  208. donkeydrifter-0.1.0/donkeydrifter.egg-info/PKG-INFO +214 -0
  209. donkeydrifter-0.1.0/donkeydrifter.egg-info/SOURCES.txt +314 -0
  210. donkeydrifter-0.1.0/donkeydrifter.egg-info/dependency_links.txt +1 -0
  211. donkeydrifter-0.1.0/donkeydrifter.egg-info/entry_points.txt +2 -0
  212. donkeydrifter-0.1.0/donkeydrifter.egg-info/requires.txt +89 -0
  213. donkeydrifter-0.1.0/donkeydrifter.egg-info/top_level.txt +12 -0
  214. donkeydrifter-0.1.0/donkeydrifter.egg-info/zip-safe +1 -0
  215. donkeydrifter-0.1.0/parts/drive_api_bridge.py +176 -0
  216. donkeydrifter-0.1.0/pyproject.toml +3 -0
  217. donkeydrifter-0.1.0/scripts/convert_to_tflite.py +40 -0
  218. donkeydrifter-0.1.0/scripts/convert_to_tub_v2.py +87 -0
  219. donkeydrifter-0.1.0/scripts/freeze_model.py +52 -0
  220. donkeydrifter-0.1.0/scripts/graph_listener.py +56 -0
  221. donkeydrifter-0.1.0/scripts/hsv_picker.py +283 -0
  222. donkeydrifter-0.1.0/scripts/migrate_model_names.py +94 -0
  223. donkeydrifter-0.1.0/scripts/multi_train.py +59 -0
  224. donkeydrifter-0.1.0/scripts/pigpio_donkey.py +74 -0
  225. donkeydrifter-0.1.0/scripts/preview_augumentations.py +55 -0
  226. donkeydrifter-0.1.0/scripts/profile.py +45 -0
  227. donkeydrifter-0.1.0/scripts/profile_coral.py +27 -0
  228. donkeydrifter-0.1.0/scripts/remote_cam_view.py +55 -0
  229. donkeydrifter-0.1.0/scripts/remote_cam_view_tcp.py +45 -0
  230. donkeydrifter-0.1.0/scripts/salient_vis_listener.py +45 -0
  231. donkeydrifter-0.1.0/scripts/tflite_convert.py +19 -0
  232. donkeydrifter-0.1.0/scripts/tflite_profile.py +48 -0
  233. donkeydrifter-0.1.0/setup.cfg +120 -0
  234. donkeydrifter-0.1.0/tests/test_migration_integration.py +64 -0
  235. donkeydrifter-0.1.0/tests/test_model_naming_refactor.py +148 -0
  236. donkeydrifter-0.1.0/tests/test_online_trainer_workspace.py +173 -0
  237. donkeydrifter-0.1.0/tests/test_restore_logic.py +97 -0
  238. donkeydrifter-0.1.0/web_ui/backend/connector_engine.py +230 -0
  239. donkeydrifter-0.1.0/web_ui/backend/main.py +35 -0
  240. donkeydrifter-0.1.0/web_ui/backend/remote_car_client.py +213 -0
  241. donkeydrifter-0.1.0/web_ui/backend/requirements.txt +6 -0
  242. donkeydrifter-0.1.0/web_ui/backend/routers/__init__.py +0 -0
  243. donkeydrifter-0.1.0/web_ui/backend/routers/arena.py +447 -0
  244. donkeydrifter-0.1.0/web_ui/backend/routers/config.py +198 -0
  245. donkeydrifter-0.1.0/web_ui/backend/routers/connector.py +249 -0
  246. donkeydrifter-0.1.0/web_ui/backend/routers/drive.py +361 -0
  247. donkeydrifter-0.1.0/web_ui/backend/routers/trainer.py +341 -0
  248. donkeydrifter-0.1.0/web_ui/backend/routers/tub.py +163 -0
  249. donkeydrifter-0.1.0/web_ui/backend/tests/test_arena.py +384 -0
  250. donkeydrifter-0.1.0/web_ui/backend/tests/test_branding.py +26 -0
  251. donkeydrifter-0.1.0/web_ui/backend/tests/test_config.py +28 -0
  252. donkeydrifter-0.1.0/web_ui/backend/tests/test_connector.py +371 -0
  253. donkeydrifter-0.1.0/web_ui/backend/trainer_engine.py +312 -0
  254. donkeydrifter-0.1.0/web_ui/backend/web_online_trainer.py +325 -0
  255. donkeydrifter-0.1.0/web_ui/frontend/dist/index.html +358 -0
  256. donkeydrifter-0.1.0/web_ui/frontend/eslint.config.js +28 -0
  257. donkeydrifter-0.1.0/web_ui/frontend/index.html +24 -0
  258. donkeydrifter-0.1.0/web_ui/frontend/node_modules/baseline-browser-mapping/LICENSE.txt +201 -0
  259. donkeydrifter-0.1.0/web_ui/frontend/node_modules/cssesc/LICENSE-MIT.txt +20 -0
  260. donkeydrifter-0.1.0/web_ui/frontend/node_modules/esquery/license.txt +24 -0
  261. donkeydrifter-0.1.0/web_ui/frontend/node_modules/flatted/python/flatted.py +149 -0
  262. donkeydrifter-0.1.0/web_ui/frontend/node_modules/jsesc/LICENSE-MIT.txt +20 -0
  263. donkeydrifter-0.1.0/web_ui/frontend/node_modules/playwright/ThirdPartyNotices.txt +5042 -0
  264. donkeydrifter-0.1.0/web_ui/frontend/node_modules/playwright-core/ThirdPartyNotices.txt +4076 -0
  265. donkeydrifter-0.1.0/web_ui/frontend/node_modules/playwright-core/lib/vite/htmlReport/index.html +84 -0
  266. donkeydrifter-0.1.0/web_ui/frontend/node_modules/playwright-core/lib/vite/recorder/index.html +29 -0
  267. donkeydrifter-0.1.0/web_ui/frontend/node_modules/playwright-core/lib/vite/traceViewer/index.html +43 -0
  268. donkeydrifter-0.1.0/web_ui/frontend/node_modules/playwright-core/lib/vite/traceViewer/snapshot.html +21 -0
  269. donkeydrifter-0.1.0/web_ui/frontend/node_modules/playwright-core/lib/vite/traceViewer/uiMode.html +17 -0
  270. donkeydrifter-0.1.0/web_ui/frontend/node_modules/punycode/LICENSE-MIT.txt +20 -0
  271. donkeydrifter-0.1.0/web_ui/frontend/node_modules/tslib/CopyrightNotice.txt +15 -0
  272. donkeydrifter-0.1.0/web_ui/frontend/node_modules/tslib/LICENSE.txt +12 -0
  273. donkeydrifter-0.1.0/web_ui/frontend/node_modules/tslib/tslib.es6.html +1 -0
  274. donkeydrifter-0.1.0/web_ui/frontend/node_modules/tslib/tslib.html +1 -0
  275. donkeydrifter-0.1.0/web_ui/frontend/node_modules/typescript/LICENSE.txt +55 -0
  276. donkeydrifter-0.1.0/web_ui/frontend/node_modules/typescript/ThirdPartyNoticeText.txt +193 -0
  277. donkeydrifter-0.1.0/web_ui/frontend/package-lock.json +4895 -0
  278. donkeydrifter-0.1.0/web_ui/frontend/package.json +46 -0
  279. donkeydrifter-0.1.0/web_ui/frontend/postcss.config.js +10 -0
  280. donkeydrifter-0.1.0/web_ui/frontend/tailwind.config.js +13 -0
  281. donkeydrifter-0.1.0/web_ui/frontend/testsprite_tests/TC001_Load_configuration_successfully_using_a_valid_path.py +52 -0
  282. donkeydrifter-0.1.0/web_ui/frontend/testsprite_tests/TC002_Show_error_when_configuration_load_fails_for_an_invalid_path.py +52 -0
  283. donkeydrifter-0.1.0/web_ui/frontend/testsprite_tests/TC003_Load_button_is_actionable_after_editing_the_config_path.py +63 -0
  284. donkeydrifter-0.1.0/web_ui/frontend/testsprite_tests/TC004_Whitespace_trimmed_path_input_still_loads_successfully.py +63 -0
  285. donkeydrifter-0.1.0/web_ui/frontend/testsprite_tests/TC005_Attempting_to_load_with_an_empty_config_path_shows_a_visible_failure_state.py +63 -0
  286. donkeydrifter-0.1.0/web_ui/frontend/testsprite_tests/TC006_Status_bar_updates_from_previous_state_after_a_successful_load.py +62 -0
  287. donkeydrifter-0.1.0/web_ui/frontend/testsprite_tests/TC007_Error_state_is_visible_after_switching_from_a_successful_load_to_an_invalid_path.py +52 -0
  288. donkeydrifter-0.1.0/web_ui/frontend/testsprite_tests/TC008_Load_a_valid_tub_from_a_relative_path_and_verify_metadata_is_shown.py +65 -0
  289. donkeydrifter-0.1.0/web_ui/frontend/testsprite_tests/TC009_Load_a_non_existent_tub_path_and_verify_error_state_and_status_bar.py +52 -0
  290. donkeydrifter-0.1.0/web_ui/frontend/testsprite_tests/TC010_Attempt_to_load_with_an_empty_tub_path_and_verify_an_error_is_shown.py +52 -0
  291. donkeydrifter-0.1.0/web_ui/frontend/testsprite_tests/TC011_Verify_loading_indicator_appears_when_starting_a_tub_load.py +68 -0
  292. donkeydrifter-0.1.0/web_ui/frontend/testsprite_tests/TC012_Load_a_valid_tub_after_a_failed_load_and_verify_success_replaces_the_error_state.py +52 -0
  293. donkeydrifter-0.1.0/web_ui/frontend/testsprite_tests/TC013_Load_a_second_tub_path_and_verify_the_status_bar_updates_to_the_new_record_count.py +53 -0
  294. donkeydrifter-0.1.0/web_ui/frontend/testsprite_tests/TC014_Enter_a_tub_path_with_leadingtrailing_spaces_and_verify_load_behavior_is_handled.py +52 -0
  295. donkeydrifter-0.1.0/web_ui/frontend/testsprite_tests/TC015_Load_main_page_and_display_current_tub_record_image_and_metadata.py +53 -0
  296. donkeydrifter-0.1.0/web_ui/frontend/testsprite_tests/TC016_Next_advances_one_record_and_updates_the_displayed_image.py +58 -0
  297. donkeydrifter-0.1.0/web_ui/frontend/testsprite_tests/TC017_Previous_navigates_back_one_record_and_updates_the_displayed_image.py +52 -0
  298. donkeydrifter-0.1.0/web_ui/frontend/testsprite_tests/TC018_First_jumps_to_start_of_tub_and_Last_jumps_to_end.py +53 -0
  299. donkeydrifter-0.1.0/web_ui/frontend/testsprite_tests/TC019_Render_steering_and_throttle_line_chart_when_tub_data_is_available.py +65 -0
  300. donkeydrifter-0.1.0/web_ui/frontend/testsprite_tests/TC020_Empty_chart_placeholder_appears_when_chart_data_is_not_loaded.py +52 -0
  301. donkeydrifter-0.1.0/web_ui/frontend/testsprite_tests/TC021_Error_message_is_shown_with_empty_chart_state_when_data_fails_to_load.py +52 -0
  302. donkeydrifter-0.1.0/web_ui/frontend/testsprite_tests/TC022_Apply_valid_temporary_filter_and_verify_filtered_record_count_updates.py +52 -0
  303. donkeydrifter-0.1.0/web_ui/frontend/testsprite_tests/TC023_Delete_records_by_index_range_with_confirmation_and_verify_success_feedback.py +51 -0
  304. donkeydrifter-0.1.0/web_ui/frontend/testsprite_tests/TC024_End_to_end_Apply_filter_then_delete_index_range_and_verify_record_count_and_chart_update.py +52 -0
  305. donkeydrifter-0.1.0/web_ui/frontend/testsprite_tests/TC025_Invalid_filter_expression_shows_validation_error_and_does_not_apply_filter.py +51 -0
  306. donkeydrifter-0.1.0/web_ui/frontend/testsprite_tests/TC026_Fix_invalid_filter_to_valid_and_successfully_apply_after_seeing_error.py +51 -0
  307. donkeydrifter-0.1.0/web_ui/frontend/testsprite_tests/TC027_Cancel_out_of_invalid_filter_state_without_applying_changes.py +51 -0
  308. donkeydrifter-0.1.0/web_ui/frontend/testsprite_tests/TC028_Deletion_confirmation_modal_can_be_dismissed_without_deleting.py +51 -0
  309. donkeydrifter-0.1.0/web_ui/frontend/testsprite_tests/TC029_Status_bar_remains_visible_while_navigating_within_the_main_console_sections.py +47 -0
  310. donkeydrifter-0.1.0/web_ui/frontend/tsconfig.json +36 -0
  311. donkeydrifter-0.1.0/web_ui/frontend/vite.config.ts +50 -0
  312. donkeydrifter-0.1.0/web_ui/test_delete.py +11 -0
  313. donkeydrifter-0.1.0/web_ui/test_records.py +16 -0
  314. donkeydrifter-0.1.0/web_ui/test_records2.py +18 -0
  315. donkeydrifter-0.1.0/web_ui/test_tub.py +18 -0
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ https://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ https://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2017 Will Roscoe
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,12 @@
1
+ include donkeycar/templates/*
2
+ include scripts
3
+ recursive-include donkeycar/parts/web_controller/templates/ *
4
+ include web_ui/backend/requirements.txt
5
+ include web_ui/frontend/package.json
6
+ include web_ui/frontend/package-lock.json
7
+ include web_ui/frontend/vite.config.ts
8
+ include web_ui/frontend/tsconfig.json
9
+ include web_ui/frontend/tailwind.config.js
10
+ include web_ui/frontend/postcss.config.js
11
+ include web_ui/frontend/eslint.config.js
12
+ include web_ui/frontend/index.html
@@ -0,0 +1,21 @@
1
+ DonkeyDrifter
2
+
3
+ DonkeyDrifter is an independent project derived from Donkeycar.
4
+ It is not affiliated with, sponsored by, or endorsed by the Donkeycar
5
+ maintainers.
6
+
7
+ Portions of this project originate from Donkeycar and remain licensed under
8
+ the MIT License. The original Donkeycar copyright notice is preserved below:
9
+
10
+ Copyright (c) 2017 Will Roscoe
11
+
12
+ New contributions and modifications made for DonkeyDrifter are licensed under
13
+ the Apache License 2.0 unless otherwise noted.
14
+
15
+ The upstream Donkeycar MIT License is preserved in:
16
+
17
+ LICENSES/MIT-donkeycar.txt
18
+
19
+ The original Donkeycar project is available at:
20
+
21
+ https://github.com/autorope/donkeycar
@@ -0,0 +1,214 @@
1
+ Metadata-Version: 2.4
2
+ Name: donkeydrifter
3
+ Version: 0.1.0
4
+ Summary: DonkeyDrifter autonomous driving and drifting robotics platform derived from Donkeycar.
5
+ Home-page: https://github.com/DonkeyDrift/DonkeyDrifter
6
+ Author: Haobot
7
+ Author-email: haobot2018@gmail.com
8
+ License: Apache-2.0
9
+ Keywords: autonomous driving robotics drifting donkeydrifter donkeycar diyrobocars
10
+ Classifier: Development Status :: 4 - Beta
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: License :: OSI Approved :: Apache Software License
15
+ Requires-Python: <3.12,>=3.11.0
16
+ Description-Content-Type: text/markdown
17
+ License-File: LICENSE
18
+ License-File: NOTICE
19
+ Requires-Dist: numpy
20
+ Requires-Dist: pillow
21
+ Requires-Dist: docopt
22
+ Requires-Dist: tornado
23
+ Requires-Dist: requests
24
+ Requires-Dist: PrettyTable
25
+ Requires-Dist: paho-mqtt
26
+ Requires-Dist: simple_pid
27
+ Requires-Dist: progress
28
+ Requires-Dist: pyfiglet
29
+ Requires-Dist: psutil
30
+ Requires-Dist: pynmea2
31
+ Requires-Dist: pyserial
32
+ Requires-Dist: utm
33
+ Requires-Dist: pandas
34
+ Requires-Dist: pyyaml
35
+ Requires-Dist: rich
36
+ Requires-Dist: paramiko
37
+ Provides-Extra: pc
38
+ Requires-Dist: tensorflow==2.15.*; extra == "pc"
39
+ Requires-Dist: matplotlib; extra == "pc"
40
+ Requires-Dist: kivy; extra == "pc"
41
+ Requires-Dist: kivy-garden.matplotlib; extra == "pc"
42
+ Requires-Dist: pandas; extra == "pc"
43
+ Requires-Dist: plotly; extra == "pc"
44
+ Requires-Dist: albumentations; extra == "pc"
45
+ Requires-Dist: fastapi; extra == "pc"
46
+ Requires-Dist: uvicorn; extra == "pc"
47
+ Requires-Dist: python-multipart; extra == "pc"
48
+ Provides-Extra: macos
49
+ Requires-Dist: tensorflow==2.15.*; extra == "macos"
50
+ Requires-Dist: tensorflow-metal; extra == "macos"
51
+ Requires-Dist: matplotlib; extra == "macos"
52
+ Requires-Dist: kivy; extra == "macos"
53
+ Requires-Dist: kivy-garden.matplotlib; extra == "macos"
54
+ Requires-Dist: pandas; extra == "macos"
55
+ Requires-Dist: plotly; extra == "macos"
56
+ Requires-Dist: albumentations; extra == "macos"
57
+ Requires-Dist: fastapi; extra == "macos"
58
+ Requires-Dist: uvicorn; extra == "macos"
59
+ Requires-Dist: python-multipart; extra == "macos"
60
+ Provides-Extra: pi
61
+ Requires-Dist: picamera2; extra == "pi"
62
+ Requires-Dist: Adafruit_PCA9685; extra == "pi"
63
+ Requires-Dist: adafruit-circuitpython-ssd1306; extra == "pi"
64
+ Requires-Dist: adafruit-circuitpython-rplidar; extra == "pi"
65
+ Requires-Dist: RPi.GPIO; extra == "pi"
66
+ Requires-Dist: flatbuffers==24.3.*; extra == "pi"
67
+ Requires-Dist: tensorflow-aarch64==2.15.*; extra == "pi"
68
+ Requires-Dist: opencv-contrib-python; extra == "pi"
69
+ Requires-Dist: matplotlib; extra == "pi"
70
+ Requires-Dist: kivy; extra == "pi"
71
+ Requires-Dist: kivy-garden.matplotlib; extra == "pi"
72
+ Requires-Dist: pandas; extra == "pi"
73
+ Requires-Dist: plotly; extra == "pi"
74
+ Requires-Dist: albumentations; extra == "pi"
75
+ Provides-Extra: nano
76
+ Requires-Dist: Adafruit_PCA9685; extra == "nano"
77
+ Requires-Dist: adafruit-circuitpython-ssd1306; extra == "nano"
78
+ Requires-Dist: adafruit-circuitpython-rplidar; extra == "nano"
79
+ Requires-Dist: Jetson.GPIO; extra == "nano"
80
+ Requires-Dist: numpy==1.23.*; extra == "nano"
81
+ Requires-Dist: matplotlib==3.7.*; extra == "nano"
82
+ Requires-Dist: kivy; extra == "nano"
83
+ Requires-Dist: kivy-garden.matplotlib; extra == "nano"
84
+ Requires-Dist: plotly; extra == "nano"
85
+ Requires-Dist: pandas==2.0.*; extra == "nano"
86
+ Provides-Extra: dev
87
+ Requires-Dist: pytest; extra == "dev"
88
+ Requires-Dist: pytest-cov; extra == "dev"
89
+ Requires-Dist: responses; extra == "dev"
90
+ Requires-Dist: mypy; extra == "dev"
91
+ Provides-Extra: torch
92
+ Requires-Dist: torch==2.1.*; extra == "torch"
93
+ Requires-Dist: pytorch-lightning; extra == "torch"
94
+ Requires-Dist: torchvision; extra == "torch"
95
+ Requires-Dist: torchaudio; extra == "torch"
96
+ Requires-Dist: fastai<2.8; extra == "torch"
97
+ Provides-Extra: fastapi-backend
98
+ Requires-Dist: fastapi; extra == "fastapi-backend"
99
+ Requires-Dist: uvicorn; extra == "fastapi-backend"
100
+ Requires-Dist: python-multipart; extra == "fastapi-backend"
101
+ Dynamic: license-file
102
+
103
+ # DonkeyDrifter
104
+
105
+ DonkeyDrifter is a Python autonomous driving and drifting robotics platform derived from Donkeycar. It keeps the modular Vehicle + Part architecture, Tub data workflow, training tools, simulator support, and Web UI workflows while establishing an independent DonkeyDrifter identity.
106
+
107
+ > Independent fork notice: DonkeyDrifter is derived from Donkeycar and is not affiliated with, sponsored by, or endorsed by the Donkeycar maintainers.
108
+
109
+ ## Quick Start
110
+
111
+ ```bash
112
+ pip install donkeydrifter
113
+ donkey createcar --path ~/mycar --template complete
114
+ cd ~/mycar
115
+ python manage.py drive
116
+ ```
117
+
118
+ The CLI command remains `donkey` for compatibility with the Donkeycar ecosystem and existing vehicle projects.
119
+
120
+ For local development:
121
+
122
+ ```bash
123
+ pip install -e ".[pc,dev]"
124
+ pytest
125
+ ```
126
+
127
+ ## Python Imports
128
+
129
+ Recommended for new DonkeyDrifter code:
130
+
131
+ ```python
132
+ import donkeydrifter as dk
133
+ ```
134
+
135
+ Legacy Donkeycar imports continue to work:
136
+
137
+ ```python
138
+ import donkeycar as dk
139
+ ```
140
+
141
+ Submodule imports are also compatible. New templates prefer `donkeydrifter`, while existing vehicle directories using `donkeycar` do not need to be changed immediately.
142
+
143
+ ## Compatibility with Donkeycar
144
+
145
+ DonkeyDrifter is intentionally compatible with existing Donkeycar-based projects during the migration period:
146
+
147
+ - `pip install donkeydrifter` is the new package target.
148
+ - `import donkeydrifter as dk` is the recommended import path for new code.
149
+ - `import donkeycar as dk` remains supported as a compatibility path.
150
+ - CLI command remains `donkey`.
151
+ - Existing vehicle projects can migrate gradually.
152
+ - Existing `/api/*` Web UI paths and drive WebSocket protocols are not renamed in the first migration stage.
153
+
154
+ See [Donkeycar compatibility guide](docs/guide/donkeycar-compatibility.md) for details.
155
+
156
+ ## Web UI
157
+
158
+ DonkeyDrifter includes a unified Web UI under `web_ui/`:
159
+
160
+ - Backend: FastAPI, default port `8000`.
161
+ - Frontend: React/Vite, default port `5188`.
162
+ - Integrated startup remains available through:
163
+
164
+ ```bash
165
+ donkey installweb --path ./web_ui
166
+ donkey web
167
+ ```
168
+
169
+ ## Development
170
+
171
+ Common commands:
172
+
173
+ ```bash
174
+ pytest
175
+ pytest donkeycar/tests/test_vehicle.py -q
176
+ python -m build --sdist --wheel
177
+ ```
178
+
179
+ Web UI backend:
180
+
181
+ ```bash
182
+ cd web_ui/backend
183
+ python -m pytest tests -q
184
+ ```
185
+
186
+ Web UI frontend:
187
+
188
+ ```bash
189
+ cd web_ui/frontend
190
+ npm run check
191
+ npm run lint
192
+ npm run build
193
+ ```
194
+
195
+ ## License
196
+
197
+ DonkeyDrifter uses the Apache License 2.0 as its primary project license.
198
+
199
+ DonkeyDrifter is derived from Donkeycar. Portions originating from Donkeycar remain licensed under the MIT License. See:
200
+
201
+ - [LICENSE](LICENSE)
202
+ - [LICENSES/MIT-donkeycar.txt](LICENSES/MIT-donkeycar.txt)
203
+ - [NOTICE](NOTICE)
204
+ - [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md)
205
+
206
+ ## Acknowledgements
207
+
208
+ DonkeyDrifter is derived from the Donkeycar project:
209
+
210
+ https://github.com/autorope/donkeycar
211
+
212
+ We thank the Donkeycar maintainers and contributors for their work.
213
+
214
+ Some historical documentation links may still point to upstream Donkeycar resources. Such links are retained as attribution or compatibility references and may differ from DonkeyDrifter behavior.
@@ -0,0 +1,112 @@
1
+ # DonkeyDrifter
2
+
3
+ DonkeyDrifter is a Python autonomous driving and drifting robotics platform derived from Donkeycar. It keeps the modular Vehicle + Part architecture, Tub data workflow, training tools, simulator support, and Web UI workflows while establishing an independent DonkeyDrifter identity.
4
+
5
+ > Independent fork notice: DonkeyDrifter is derived from Donkeycar and is not affiliated with, sponsored by, or endorsed by the Donkeycar maintainers.
6
+
7
+ ## Quick Start
8
+
9
+ ```bash
10
+ pip install donkeydrifter
11
+ donkey createcar --path ~/mycar --template complete
12
+ cd ~/mycar
13
+ python manage.py drive
14
+ ```
15
+
16
+ The CLI command remains `donkey` for compatibility with the Donkeycar ecosystem and existing vehicle projects.
17
+
18
+ For local development:
19
+
20
+ ```bash
21
+ pip install -e ".[pc,dev]"
22
+ pytest
23
+ ```
24
+
25
+ ## Python Imports
26
+
27
+ Recommended for new DonkeyDrifter code:
28
+
29
+ ```python
30
+ import donkeydrifter as dk
31
+ ```
32
+
33
+ Legacy Donkeycar imports continue to work:
34
+
35
+ ```python
36
+ import donkeycar as dk
37
+ ```
38
+
39
+ Submodule imports are also compatible. New templates prefer `donkeydrifter`, while existing vehicle directories using `donkeycar` do not need to be changed immediately.
40
+
41
+ ## Compatibility with Donkeycar
42
+
43
+ DonkeyDrifter is intentionally compatible with existing Donkeycar-based projects during the migration period:
44
+
45
+ - `pip install donkeydrifter` is the new package target.
46
+ - `import donkeydrifter as dk` is the recommended import path for new code.
47
+ - `import donkeycar as dk` remains supported as a compatibility path.
48
+ - CLI command remains `donkey`.
49
+ - Existing vehicle projects can migrate gradually.
50
+ - Existing `/api/*` Web UI paths and drive WebSocket protocols are not renamed in the first migration stage.
51
+
52
+ See [Donkeycar compatibility guide](docs/guide/donkeycar-compatibility.md) for details.
53
+
54
+ ## Web UI
55
+
56
+ DonkeyDrifter includes a unified Web UI under `web_ui/`:
57
+
58
+ - Backend: FastAPI, default port `8000`.
59
+ - Frontend: React/Vite, default port `5188`.
60
+ - Integrated startup remains available through:
61
+
62
+ ```bash
63
+ donkey installweb --path ./web_ui
64
+ donkey web
65
+ ```
66
+
67
+ ## Development
68
+
69
+ Common commands:
70
+
71
+ ```bash
72
+ pytest
73
+ pytest donkeycar/tests/test_vehicle.py -q
74
+ python -m build --sdist --wheel
75
+ ```
76
+
77
+ Web UI backend:
78
+
79
+ ```bash
80
+ cd web_ui/backend
81
+ python -m pytest tests -q
82
+ ```
83
+
84
+ Web UI frontend:
85
+
86
+ ```bash
87
+ cd web_ui/frontend
88
+ npm run check
89
+ npm run lint
90
+ npm run build
91
+ ```
92
+
93
+ ## License
94
+
95
+ DonkeyDrifter uses the Apache License 2.0 as its primary project license.
96
+
97
+ DonkeyDrifter is derived from Donkeycar. Portions originating from Donkeycar remain licensed under the MIT License. See:
98
+
99
+ - [LICENSE](LICENSE)
100
+ - [LICENSES/MIT-donkeycar.txt](LICENSES/MIT-donkeycar.txt)
101
+ - [NOTICE](NOTICE)
102
+ - [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md)
103
+
104
+ ## Acknowledgements
105
+
106
+ DonkeyDrifter is derived from the Donkeycar project:
107
+
108
+ https://github.com/autorope/donkeycar
109
+
110
+ We thank the Donkeycar maintainers and contributors for their work.
111
+
112
+ Some historical documentation links may still point to upstream Donkeycar resources. Such links are retained as attribution or compatibility references and may differ from DonkeyDrifter behavior.
@@ -0,0 +1,21 @@
1
+ import os
2
+ import sys
3
+ import logging
4
+
5
+ from ._version import __version__
6
+
7
+ logging.basicConfig(level=os.environ.get('LOGLEVEL', 'INFO').upper())
8
+
9
+ if sys.version_info.major < 3 or sys.version_info.minor < 11:
10
+ msg = f'Donkey Requires Python 3.11 or greater. You are using {sys.version}'
11
+ raise ValueError(msg)
12
+
13
+ # The default recursion limits in CPython are too small.
14
+ sys.setrecursionlimit(10**5)
15
+
16
+ from .vehicle import Vehicle
17
+ from .memory import Memory
18
+ from . import utils
19
+ from . import config
20
+ from . import contrib
21
+ from .config import load_config
@@ -0,0 +1 @@
1
+ __version__ = '0.1.0'
@@ -0,0 +1,44 @@
1
+ import json
2
+ import os
3
+ import shutil
4
+ import timeit
5
+ from pathlib import Path
6
+
7
+ import numpy as np
8
+
9
+ from donkeycar.parts.datastore import Tub
10
+
11
+
12
+ def benchmark():
13
+ # Change with a non SSD storage path
14
+ path = Path('/media/rahulrav/Cruzer/tub')
15
+ if os.path.exists(path.absolute().as_posix()):
16
+ shutil.rmtree(path)
17
+
18
+ inputs = ['input']
19
+ types = ['int']
20
+ tub = Tub(path.absolute().as_posix(), inputs, types)
21
+ write_count = 1000
22
+ for i in range(write_count):
23
+ record = {'input': i}
24
+ tub.put_record(record)
25
+
26
+ # old tub starts counting at 1
27
+ deletions = set(np.random.randint(1, write_count + 1, 100))
28
+ for index in deletions:
29
+ index = int(index)
30
+ tub.remove_record(index)
31
+
32
+ files = path.glob('*.json')
33
+ for record_file in files:
34
+ contents = record_file.read_text()
35
+ if contents:
36
+ contents = json.loads(contents)
37
+ print('Record %s' % contents)
38
+
39
+
40
+ if __name__ == "__main__":
41
+ timer = timeit.Timer(benchmark)
42
+ time_taken = timer.timeit(number=1)
43
+ print('Time taken %s seconds' % time_taken)
44
+ print('\nDone.')