Commit graph

53 commits

Author SHA1 Message Date
d3rped
be9aa253cf Reverted to working color recognition and adjusted values for examination conditions. 2018-03-28 15:20:08 +02:00
d3rped
3d9f674eab Added break condition for Exploration Complete condition. 2018-03-28 03:53:05 +02:00
d3rped
acccb15f3e Navigate to path functionality works now! Added try block to modor speed because I encountered some errors (even though there is already a capping function for this). 2018-03-28 03:04:27 +02:00
d3rped
11f061287e Odometry now has less of an offset, still needs to be improved. Switched back to hard coded colors. 2018-03-27 19:51:10 +02:00
d3rped
eabe7c650f Well that's awkward... added missing ':' to if condition. Everything but navpath following was tested and works decently well. ^~^ 2018-03-26 18:20:36 +02:00
d3rped
fc3a9465cc Fixed typo in enum name. Unexplored edge listing/saving should work now. 2018-03-26 17:38:41 +02:00
d3rped
58553e38d0 Now it kind of works? There are still some bugs to squash 2018-03-26 14:23:23 +02:00
d3rped
6b2a19ebdc Everything should work now. But it doesn't. 2018-03-26 09:10:13 +02:00
d3rped
aa6b049ce5 Split up communication update method to get better odometry handling. Implemented rudimentary blocked path handling. Some more work ok main loop and communication/map handling. 2018-03-26 07:05:55 +02:00
d3rped
c479954960 Deleted test file which was commited by accident. 2018-03-26 03:52:59 +02:00
d3rped
f30868635b Fixed lots and lots of errors. Added and tweaked some helper functions. Main loop is now partially working. 2018-03-26 03:10:27 +02:00
haselnussbier
c1f68b84e3 Applied commit: a540201, the previous one was actually 5855373 2018-03-25 15:41:37 +02:00
haselnussbier
78ce8da918 Applied commit: a540201 2018-03-25 15:36:07 +02:00
d3rped
678c94532e More work towards a working main loop... 2018-03-25 15:09:13 +02:00
jureao
1dc4f5a2d7 dir2ticks function protype 2018-03-24 21:02:05 +01:00
d3rped
0d2b5549c6 Fixed some typos in odometry.py. 2018-03-24 19:20:44 +01:00
jureao
cdb6ddc683 Fixed odometry methods. 2018-03-24 18:49:13 +01:00
d3rped
3112046256 Started working on mode handling 2018-03-24 14:32:48 +01:00
d3rped
29849c2dd1 Rearranged and simplified main loop. 2018-03-24 06:32:25 +01:00
d3rped
c1049f4a58 Fixed some errors/typos which I had overlooked/missed earlier. Stared implementing main loop. 2018-03-24 06:09:48 +01:00
d3rped
c173917a72 Modularized the (already existing) odometry class. Added some handy functions to reset loop control condition variables. Added second bumper to sensor class. 2018-03-24 04:43:01 +01:00
d3rped
97af61e5e1 capped wheel speed to 100 (to avoid errors) 2018-03-23 21:56:54 +01:00
d3rped
d268198fa4 fixed some wrong object/variable names 2018-03-23 21:34:33 +01:00
d3rped
40c5adfa0b applied commit: 08e0f98. Moved the brightness updater into the refresh method. 2018-03-23 21:13:02 +01:00
haselnussbier
172e368380 reapplied commit: 0124e57 2018-03-23 20:40:13 +01:00
haselnussbier
d0608fd870 reapplied commit: 0124e57 2018-03-23 20:26:12 +01:00
jureao
31cfdf50d3 More commit merging (I think I applied one commit twice... welp will double check everything I'm done with merging everything back into master. commit: c323a6e 2018-03-23 20:15:51 +01:00
jureao
245cfa91fb reapplied commit: 3c4cb19 2018-03-23 20:09:02 +01:00
jureao
b49919a7ed reapplied commit: c323a6e 2018-03-23 19:59:44 +01:00
jureao
800cf6302d reset master to f59ae44 and applied 376532a and 3c4cb19 2018-03-23 19:55:52 +01:00
haselnussbier
6f00e3c717 Renewed Calibrate Function for RGB sensor. calibrateBrightness not yet Tested, calibrateRGB not completely implemented yet 2018-03-23 19:53:21 +01:00
d3rped
f59ae44d4e Adjusted values for edge following. Can now follow rather steep curves. 2018-03-22 09:56:11 +01:00
d3rped
94885dee1f Switched to RGB-RAW with greyscale calculation. Sensor mode switching was too slow. 2018-03-22 07:09:30 +01:00
d3rped
6d26c4ced9 Added Documentation to Odometry to aid the implementation process. 2018-03-22 05:25:40 +01:00
d3rped
df9c636b6e Color recognition test. 2018-03-22 04:36:37 +01:00
d3rped
7bd9ce7582 Resolved merge/rebase conflicts. 2018-03-22 03:27:48 +01:00
haselnussbier
74e78cf2ee Commented out prototype functions. 2018-03-22 03:23:30 +01:00
haselnussbier
23ddc2c24a stops now only on red/blue knots 2018-03-22 03:21:09 +01:00
d3rped
1f1c19232a Fixed most problems with the messaging system. 2018-03-22 03:13:40 +01:00
d3rped
f023393113 Implemented the (not yet fully working) communication class. Added error handling to move.py and fixed the node list in planettest.py. 2018-03-22 02:14:44 +01:00
d3rped
7cff115075 Moved unused condition to its propper place. 2018-03-21 14:44:55 +01:00
d3rped
57d731409f Added first (still a tad ugly) draft of pathfinding. Added some small bits of documentation. Started working on unit tests (planettest.py). 2018-03-20 22:31:15 +01:00
d3rped
631d70aacc Added map functionality to planet.py. Moved and shortened some comments. 2018-03-19 22:42:27 +01:00
d3rped
068208bed8 Started working on planets.py, fixed and imroved functions in wheel.py 2018-03-19 10:14:42 +01:00
d3rped
284edb9e0a Added an example to explanations in sensor.py and corrected data type of planetmap in planet.py. 2018-03-19 05:14:58 +01:00
d3rped
aca3c3b70f Fixed Error Message output in sensor.py. Added some more Documentation. 2018-03-19 02:46:25 +01:00
d3rped
0f1b696a20 Made an irrelevant adjustment. Also added some documentation to the source code. 2018-03-19 00:44:57 +01:00
d3rped
23fb6e80e7 Implemented rudimentary edge following. Also fixed a minor error in sensor.py 2018-03-19 00:03:35 +01:00
d3rped
48dfc2a03b used incorrect sensor mode for getbrightness() method 2018-03-18 16:19:12 +01:00
d3rped
bfd00d33ed fixed an error in wheel.py and createt template for sensor.py 2018-03-18 16:04:38 +01:00