Permalink
Browse files

CBC Firmware 1.0.0 OSS Release

  • Loading branch information...
thelazyfox committed Jun 16, 2009
0 parents commit d18e160990d7846389da086fb49a869308a0ab83
Showing with 35,046 additions and 0 deletions.
  1. +339 −0 LICENSE
  2. +102 −0 cbcui/cbcui.pro
  3. +11 −0 cbcui/config.pri
  4. BIN cbcui/simulated.png
  5. +326 −0 cbcui/src/Cbob.cpp
  6. +92 −0 cbcui/src/Cbob.h
  7. +81 −0 cbcui/src/CbobData.cpp
  8. +54 −0 cbcui/src/CbobData.h
  9. +35 −0 cbcui/src/ColorAdjust.cpp
  10. +37 −0 cbcui/src/ColorAdjust.h
  11. +77 −0 cbcui/src/Compiler.cpp
  12. +55 −0 cbcui/src/Compiler.h
  13. +160 −0 cbcui/src/Console.cpp
  14. +73 −0 cbcui/src/Console.h
  15. +35 −0 cbcui/src/FirmwareUpgrade.cpp
  16. +37 −0 cbcui/src/FirmwareUpgrade.h
  17. +176 −0 cbcui/src/MainWindow.cpp
  18. +76 −0 cbcui/src/MainWindow.h
  19. +123 −0 cbcui/src/MotorTune.cpp
  20. +66 −0 cbcui/src/MotorTune.h
  21. +123 −0 cbcui/src/ProgramSelect.cpp
  22. +56 −0 cbcui/src/ProgramSelect.h
  23. +121 −0 cbcui/src/QNamedPipe.cpp
  24. +53 −0 cbcui/src/QNamedPipe.h
  25. +79 −0 cbcui/src/Sensors.cpp
  26. +48 −0 cbcui/src/Sensors.h
  27. +187 −0 cbcui/src/SerialServer.cpp
  28. +75 −0 cbcui/src/SerialServer.h
  29. +42 −0 cbcui/src/Settings.cpp
  30. +50 −0 cbcui/src/Settings.h
  31. +83 −0 cbcui/src/SimpleUserCode.cpp
  32. +61 −0 cbcui/src/SimpleUserCode.h
  33. +81 −0 cbcui/src/Vision.cpp
  34. +35 −0 cbcui/src/Vision.h
  35. +74 −0 cbcui/src/cbob_struct.h
  36. +52 −0 cbcui/src/main.cpp
  37. +167 −0 cbcui/src/vision/AdjustColorWidget.cpp
  38. +92 −0 cbcui/src/vision/AdjustColorWidget.h
  39. +787 −0 cbcui/src/vision/AdjustColorWidget.ui
  40. +25 −0 cbcui/src/vision/Blob.cpp
  41. +122 −0 cbcui/src/vision/Blob.h
  42. +196 −0 cbcui/src/vision/BlobAssembler.h
  43. +39 −0 cbcui/src/vision/Camera.cpp
  44. +47 −0 cbcui/src/vision/Camera.h
  45. +45 −0 cbcui/src/vision/CircularRange.h
  46. +293 −0 cbcui/src/vision/ColorTracker.cpp
  47. +73 −0 cbcui/src/vision/ColorTracker.h
  48. +74 −0 cbcui/src/vision/DoublyLinkedList.h
  49. +298 −0 cbcui/src/vision/DrawBlobs.cpp
  50. +38 −0 cbcui/src/vision/DrawBlobs.h
  51. +33 −0 cbcui/src/vision/FrameHandler.h
  52. +89 −0 cbcui/src/vision/HSV.h
  53. +45 −0 cbcui/src/vision/HSVRange.h
  54. +101 −0 cbcui/src/vision/HSVRangeDisplay.cpp
  55. +52 −0 cbcui/src/vision/HSVRangeDisplay.h
  56. +89 −0 cbcui/src/vision/HSVRangeLUT.cpp
  57. +41 −0 cbcui/src/vision/HSVRangeLUT.h
  58. +134 −0 cbcui/src/vision/Image.cpp
  59. +107 −0 cbcui/src/vision/Image.h
  60. +60 −0 cbcui/src/vision/ImageDisplay.cpp
  61. +45 −0 cbcui/src/vision/ImageDisplay.h
  62. +183 −0 cbcui/src/vision/MicrodiaCamera.cpp
  63. +64 −0 cbcui/src/vision/MicrodiaCamera.h
  64. +132 −0 cbcui/src/vision/Moments.h
  65. +61 −0 cbcui/src/vision/Pixel565.h
  66. +55 −0 cbcui/src/vision/Pixel565toHSV.cpp
  67. +37 −0 cbcui/src/vision/Pixel565toHSV.h
  68. +34 −0 cbcui/src/vision/Range.h
  69. +91 −0 cbcui/src/vision/SimulatedCamera.cpp
  70. +68 −0 cbcui/src/vision/SimulatedCamera.h
  71. +58 −0 cbcui/src/vision/TrackingResults.h
  72. +29 −0 cbcui/src/vision/bbvision_types.h
  73. +80 −0 cbcui/src/vision/ctdebug.cpp
  74. +27 −0 cbcui/src/vision/ctdebug.h
  75. +67 −0 cbcui/src/vision/test.cpp
  76. +27 −0 cbcui/src/vision/test.h
  77. +5 −0 cbcui/test.sh
  78. +472 −0 cbcui/ui/ColorAdjust.ui
  79. +144 −0 cbcui/ui/Compiler.ui
  80. +355 −0 cbcui/ui/Console.ui
  81. +183 −0 cbcui/ui/FirmwareUpgrade.ui
  82. +421 −0 cbcui/ui/MainWindow.ui
  83. +678 −0 cbcui/ui/MotorTune.ui
  84. +248 −0 cbcui/ui/ProgramSelect.ui
  85. +1,165 −0 cbcui/ui/Sensors.ui
  86. +136 −0 cbcui/ui/Settings.ui
  87. +187 −0 cbcui/ui/SimpleUserCode.ui
  88. BIN cbcui/ui/icons/BROff.png
  89. BIN cbcui/ui/icons/BROn.png
  90. BIN cbcui/ui/icons/Crystal_Clear_action_button_cancel.png
  91. BIN cbcui/ui/icons/Crystal_Clear_action_exit.png
  92. BIN cbcui/ui/icons/MatOff.png
  93. BIN cbcui/ui/icons/MatOn.png
  94. BIN cbcui/ui/icons/OneOff.png
  95. BIN cbcui/ui/icons/OneOn.png
  96. BIN cbcui/ui/icons/RawOff.png
  97. BIN cbcui/ui/icons/RawOn.png
  98. BIN cbcui/ui/icons/TLOff.png
  99. BIN cbcui/ui/icons/TLOn.png
  100. BIN cbcui/ui/icons/ThreeOff.png
  101. BIN cbcui/ui/icons/ThreeOn.png
  102. BIN cbcui/ui/icons/TrkOff.png
  103. BIN cbcui/ui/icons/TrkOn.png
  104. BIN cbcui/ui/icons/TwoOff.png
  105. BIN cbcui/ui/icons/TwoOn.png
  106. BIN cbcui/ui/icons/ZeroOff.png
  107. BIN cbcui/ui/icons/ZeroOn.png
  108. +24 −0 cbcui/ui/icons/icons.qrc
  109. +35 −0 filesystem/Makefile
  110. +67 −0 filesystem/ext2/Makefile
  111. BIN filesystem/ext2/files/beep.wav
  112. +77 −0 filesystem/ext2/files/cbc.h
  113. +34 −0 filesystem/ext2/files/compat.h
  114. +16 −0 filesystem/ext2/files/compile
  115. +15 −0 filesystem/ext2/files/compile-usb
  116. +5 −0 filesystem/ext2/files/gcc-usercode
  117. BIN filesystem/ext2/files/gdb
  118. BIN filesystem/ext2/files/libcbc.a
  119. +40 −0 filesystem/ext2/files/process.h
  120. +13 −0 filesystem/ext2/files/run
  121. +22 −0 filesystem/ext2/files/run_qt_app.sh
  122. +8 −0 filesystem/ext2/files/shutdown.sh
  123. +6 −0 filesystem/ext2/files/startup.sh
  124. +11 −0 filesystem/ext2/files/stop
  125. +25 −0 filesystem/ext2/files/ts.conf
  126. +12 −0 filesystem/scripts/fdisk.script
  127. +81 −0 filesystem/scripts/mass-install.sh
  128. +46 −0 filesystem/scripts/mass-partition.sh
  129. +33 −0 filesystem/scripts/partition.sh
  130. +29 −0 filesystem/upgrade/Makefile
  131. +49 −0 filesystem/upgrade/make-userhook0.pl
  132. +203 −0 filesystem/upgrade/userhook0.body
  133. +17 −0 filesystem/vfat/Makefile
  134. +1 −0 filesystem/vfat/files/FIRMWARE_VERSION
  135. +89 −0 filesystem/vfat/files/cbc_boot
  136. BIN filesystem/vfat/files/cbob_spi.ko
  137. BIN filesystem/vfat/files/dosfsck
  138. BIN filesystem/vfat/files/ext2.ko
  139. BIN filesystem/vfat/files/ext3.ko
  140. BIN filesystem/vfat/files/fsck.ext2
  141. BIN filesystem/vfat/files/fsck.ext3
  142. BIN filesystem/vfat/files/k1.bin.zip
  143. BIN filesystem/vfat/files/microdia.ko
  144. BIN filesystem/vfat/files/mkfs.ext2
  145. BIN filesystem/vfat/files/mkfs.ext3
  146. +68 −0 filesystem/vfat/files/rcS
  147. +163 −0 filesystem/vfat/files/userhook0
  148. +18 −0 filesystem/vfat/files/userhook0.old
  149. BIN filesystem/vfat/files/videodev.ko
  150. +62 −0 kernel/Makefile
  151. +49 −0 kernel/align.pl
  152. +20 −0 kernel/cbc_spi/Makefile
  153. +246 −0 kernel/cbc_spi/cbc_spi.c
  154. +1,280 −0 kernel/config
  155. +3 −0 kernel/microdia/.config
  156. +12 −0 kernel/microdia/CBCMakefile
  157. +281 −0 kernel/microdia/Doxyfile
  158. +15 −0 kernel/microdia/Kconfig
  159. +48 −0 kernel/microdia/Makefile
  160. +170 −0 kernel/microdia/README
  161. +524 −0 kernel/microdia/microdia-debugfs.c
  162. +842 −0 kernel/microdia/microdia-decoder.c
  163. +6,410 −0 kernel/microdia/microdia-dev.c
  164. +550 −0 kernel/microdia/microdia-queue.c
  165. +756 −0 kernel/microdia/microdia-sysfs.c
  166. +1,495 −0 kernel/microdia/microdia-usb.c
  167. +1,537 −0 kernel/microdia/microdia-v4l.c
  168. +478 −0 kernel/microdia/microdia.h
  169. +56 −0 kernel/microdia/microdia.mod.c
  170. +416 −0 kernel/microdia/mt9vx11.c
  171. +120 −0 kernel/microdia/mt9vx11.h
  172. +243 −0 kernel/microdia/ov7660.c
  173. +167 −0 kernel/microdia/ov7660.h
  174. +1,090 −0 kernel/microdia/ov7670.c
  175. +185 −0 kernel/microdia/ov7670.h
  176. +460 −0 kernel/microdia/ov965x.c
  177. +238 −0 kernel/microdia/ov965x.h
  178. +679 −0 kernel/microdia/sn9c20x.c
  179. +84 −0 kernel/microdia/sn9c20x.h
  180. +19 −0 userlib/init/Makefile
  181. +30 −0 userlib/init/init.c
  182. +28 −0 userlib/libcbc/libcbc.pro
  183. +158 −0 userlib/libcbc/src/botball.c
  184. +32 −0 userlib/libcbc/src/botball.h
  185. +662 −0 userlib/libcbc/src/cbc.c
  186. +102 −0 userlib/libcbc/src/cbc.h
  187. +64 −0 userlib/libcbc/src/cbc_data.h
  188. +73 −0 userlib/libcbc/src/cbcserial.c
  189. +36 −0 userlib/libcbc/src/cbcserial.h
  190. +70 −0 userlib/libcbc/src/compat.c
  191. +37 −0 userlib/libcbc/src/compat.h
  192. +962 −0 userlib/libcbc/src/create.c
  193. +100 −0 userlib/libcbc/src/create.h
  194. +81 −0 userlib/libcbc/src/process.c
  195. +40 −0 userlib/libcbc/src/process.h
  196. +48 −0 userlib/tracklib/Makefile
  197. +61 −0 userlib/tracklib/sample_tracklib_client.c
  198. +107 −0 userlib/tracklib/track.h
  199. +179 −0 userlib/tracklib/tracklib.c
  200. +50 −0 utils/block_probe/block_probe.c
  201. +28 −0 utils/fb_print/Makefile
  202. +31 −0 utils/fb_print/dumpfont.cpp
  203. +135 −0 utils/fb_print/fb.c
  204. +29 −0 utils/fb_print/fb.h
  205. +72 −0 utils/fb_print/fb_print.cpp
  206. +25 −0 utils/fb_print/fb_print.h
  207. +119 −0 utils/fb_print/font.c
  208. +29 −0 utils/fb_print/font.h
  209. +85 −0 utils/fb_print/genfont.cpp
  210. +32 −0 utils/fb_print/raw2txt.cpp
  211. +6 −0 utils/png_to_565/Makefile
  212. +52 −0 utils/png_to_565/png_to_565.cpp
  213. +5 −0 utils/png_to_565/png_to_565.pro
  214. +42 −0 utils/shared_mem/Makefile
  215. +5 −0 utils/shared_mem/README
  216. +79 −0 utils/shared_mem/SharedMem.h
  217. +3 −0 utils/shared_mem/TestClass.h
  218. +34 −0 utils/shared_mem/TestClient.cpp
  219. +39 −0 utils/shared_mem/TestServer.cpp
  220. +26 −0 utils/shared_mem/TestStruct.h
  221. +82 −0 utils/shared_mem/shared_mem.c
  222. +38 −0 utils/shared_mem/shared_mem.h
  223. +41 −0 utils/shared_mem/test_client.c
  224. +46 −0 utils/shared_mem/test_server.c
  225. +27 −0 utils/shared_mem/test_struct.h
339 LICENSE

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,102 @@
+######################################################################
+# Automatically generated by qmake (2.01a) Wed Jan 7 09:47:41 2009
+######################################################################
+
+include(config.pri)
+
+TEMPLATE = app
+TARGET =
+
+# Compile with debug symbols
+QMAKE_CXXFLAGS += -g
+
+macx {
+} else {
+CONFIG += has_microdia_camera
+DEFINES += APP_FULLSCREEN
+}
+
+DEPENDPATH += . src ui ui/icons
+INCLUDEPATH += . src
+
+INCLUDEPATH += src/vision
+DEPENDPATH += src/vision
+
+INCLUDEPATH += ../utils/shared_mem
+INCLUDEPATH += ../userlib/libcbc/src
+
+# Input
+HEADERS += src/Cbob.h \
+ src/Console.h \
+ src/FirmwareUpgrade.h \
+ src/MainWindow.h \
+ src/ProgramSelect.h \
+ src/Sensors.h \
+ src/CbobData.h \
+ src/Compiler.h \
+ src/SerialServer.h \
+ src/QNamedPipe.h \
+ src/Settings.h
+FORMS += ui/Console.ui \
+ ui/FirmwareUpgrade.ui \
+ ui/MainWindow.ui \
+ ui/ProgramSelect.ui \
+ ui/Sensors.ui \
+ ui/Compiler.ui \
+ ui/Settings.ui
+SOURCES += src/Cbob.cpp \
+ src/Console.cpp \
+ src/FirmwareUpgrade.cpp \
+ src/main.cpp \
+ src/MainWindow.cpp \
+ src/ProgramSelect.cpp \
+ src/Sensors.cpp \
+ src/Compiler.cpp \
+ src/CbobData.cpp \
+ src/SerialServer.cpp \
+ src/QNamedPipe.cpp \
+ src/Settings.cpp
+
+# Vision
+FORMS += src/vision/AdjustColorWidget.ui
+SOURCES += src/vision/AdjustColorWidget.cpp
+HEADERS += src/vision/AdjustColorWidget.h
+SOURCES += src/vision/Blob.cpp
+HEADERS += src/vision/Blob.h
+SOURCES += src/vision/Camera.cpp
+HEADERS += src/vision/Camera.h
+SOURCES += src/vision/ColorTracker.cpp
+HEADERS += src/vision/ColorTracker.h
+SOURCES += src/vision/ctdebug.cpp
+HEADERS += src/vision/ctdebug.h
+SOURCES += src/vision/DrawBlobs.cpp
+HEADERS += src/vision/DrawBlobs.h
+HEADERS += src/vision/FrameHandler.h
+HEADERS += src/vision/HSVRange.h
+SOURCES += src/vision/HSVRangeDisplay.cpp
+HEADERS += src/vision/HSVRangeDisplay.h
+SOURCES += src/vision/HSVRangeLUT.cpp
+HEADERS += src/vision/HSVRangeLUT.h
+SOURCES += src/vision/Image.cpp
+HEADERS += src/vision/Image.h
+SOURCES += src/vision/ImageDisplay.cpp
+HEADERS += src/vision/ImageDisplay.h
+HEADERS += src/vision/Pixel565.h
+SOURCES += src/vision/Pixel565toHSV.cpp
+HEADERS += src/vision/Pixel565toHSV.h
+SOURCES += src/vision/SimulatedCamera.cpp
+HEADERS += src/vision/SimulatedCamera.h
+SOURCES += src/vision/test.cpp
+HEADERS += src/vision/test.h
+SOURCES += src/Vision.cpp
+SOURCES += src/Vision.h
+has_microdia_camera {
+ SOURCES += src/vision/MicrodiaCamera.cpp
+ HEADERS += src/vision/MicrodiaCamera.h
+ DEFINES += HAS_MICRODIA_CAMERA
+}
+
+
+RESOURCES += ui/icons/icons.qrc
+
+QMAKE_CLEAN += src/*~
@@ -0,0 +1,11 @@
+CONFIG -= debug release_and_debug
+CONFIG += release
+
+QMAKE_DEL_FILE=rm -rf
+
+OBJECTS_DIR = build/obj
+MOC_DIR = build/moc
+UI_DIR = build/ui
+RCC_DIR = build/rcc
+
+QMAKE_DISTCLEAN += build/obj build/moc build/ui build/rcc build
Binary file not shown.
Oops, something went wrong.

0 comments on commit d18e160

Please sign in to comment.