All the lab works are here!

Dependencies:   ISR_Mini-explorer mbed

Fork of VirtualForces by Georgios Tsamis

Revisions of main.cpp

Revision Date Message Actions
52:54b3fe68a4f2 2017-06-08 One File to rule them all, One File to find them,; One File to bring them all and in the darkness bind them.; ; This monster has everything inside, and more or less they all work. File  Diff  Annotate
51:b863fad80574 2017-06-07 I dont understand how GoToPoint is supposed to work. File  Diff  Annotate
50:a970cf7889d3 2017-05-30 some tweaks File  Diff  Annotate
49:d61da2bc8882 2017-05-30 success but really slow File  Diff  Annotate
48:cd3463dcca04 2017-05-30 kind of work File  Diff  Annotate
47:f0fe58571e4a 2017-05-30 added the direction stuff, trying to fix compute_proba File  Diff  Annotate
46:e57ebcf747dc 2017-05-29 full of isnan() and other weird debugging stuff File  Diff  Annotate
45:fb07065a64a9 2017-05-29 changed set_target so it is in ortho frame, relative to the robot (ex: if the robot is in the middle, you want to him to go 10cm down and 15 right, set_target_to(15,-10) ) File  Diff  Annotate
44:e2bd06f94dc0 2017-05-29 adjusted the main, tweaked calculate line File  Diff  Annotate
43:ffd5a6d4dd48 2017-05-22 carefull the + and minus are inverted, the khapas must be adjusted File  Diff  Annotate
42:ab25bffdc32b 2017-05-22 changed the code to not rely on global variables because it's heresy File  Diff  Annotate
41:39157b310975 2017-05-22 minor tweak; File  Diff  Annotate
40:f5e212d9f900 2017-05-18 tweaked a few thing, maybe check the math beetween compute_line and go_to_line File  Diff  Annotate
39:dd8326ec75ce 2017-05-18 fixed a bunch of issues concerning the target, the robot is still going on the right for some reason, maybe check the line computation File  Diff  Annotate
38:3c9f8cbf5250 2017-05-18 fixed a calcul mistake on how to put the target coordinates in an orthonormal frame, added a few comments here and there File  Diff  Annotate
37:462d19bb221f 2017-05-15 going to the other direction File  Diff  Annotate
36:c806c568720a 2017-05-15 tweaked compute_forceX_and_forceY to do all the computation in an orthogonal frame File  Diff  Annotate
35:c8f224ab153f 2017-05-15 just tweaked staring position and target; File  Diff  Annotate
34:128fc7aed957 2017-05-04 lowered speed, corrected pointers, tweaked xOrtho, yOrtho and X, Y that were causing problems; tried some constants but they are not good File  Diff  Annotate
33:78139f82ea74 2017-05-04 added:; - line calculation function; - go to line function; - vff function, that calls all the calculation functions, computes the velocities, moves the robot and checks if it has arrived; ; tweaked main to call the correct methods; ; TODO check constants File  Diff  Annotate
32:d51928b58645 2017-05-03 made the function to compute the force and changed the variables for the 120x90 arena File  Diff  Annotate
31:352be78e1aad 2017-04-29 I guess this code is fine for putting in the report (I tweaked the variables for a 250x250cm arena and a 20x20cells map File  Diff  Annotate
30:95d8d3e2b81b 2017-04-26 target_angle now is double File  Diff  Annotate
29:224e9e686f7b 2017-04-26 lab version, with working pi/2 flip File  Diff  Annotate
28:f884979a02fa 2017-04-26 added the odometria at the start of go_to_point, and wrote a quick do a flip fct but i have nt tested it File  Diff  Annotate
27:07bde633af72 2017-04-24 changed and adjusted stuff, print map with robot work, modified go to point for it to do a pi flip if in danger zone but it s not working :/ File  Diff  Annotate
26:b020cf253059 2017-04-20 shortened go_to_point_with_angle a little bit File  Diff  Annotate
25:572c9e9a8809 2017-04-20 fixed a few things, and I did print_final_map_with_robot if you want to check where odometria thinks the robot is in the map File  Diff  Annotate
24:8f4b820d8de8 2017-04-19 the file from the afternoon File  Diff  Annotate
23:901fc468b8a7 2017-04-19 cleaned up and shortened the go_to_point_with_angle method File  Diff  Annotate
22:ebb37a249b5f 2017-04-18 Still TODOs waiting to be closed File  Diff  Annotate
21:62154d644531 2017-04-07 cleanup; File  Diff  Annotate
20:6a9062d54eb0 2017-04-03 testAfterMerge File  Diff  Annotate
19:dbc5fbad4975 2017-04-03 groundwork and clean structure, needs to actually do the equations in computeObstacle File  Diff  Annotate
18:6a3b14e284ee 2017-03-27 added a small delay between the new positions - but it doesn't work, it's just spinning File  Diff  Annotate
17:caf393b63e27 2017-03-27 added the random x,y,? and the infinite loop File  Diff  Annotate
16:ff73cc7b3156 2017-03-27 maybe merged the stuff, will see File  Diff  Annotate
15:44ab4626f1ad 2017-03-27 print mms; File  Diff  Annotate
14:d58f2bdbf42e 2017-03-27 changed the too-close behaviour to break the while immediately File  Diff  Annotate
13:41f75c132135 2017-03-27 added the setup function calls for the sonars File  Diff  Annotate
12:3c0ca2350624 2017-03-27 corrected the inputs again :P File  Diff  Annotate
11:e641aa08c92e 2017-03-27 getSonarValues v1 and clean code File  Diff  Annotate
10:a7fd80e79e80 2017-03-27 deleted theta from function inputs File  Diff  Annotate
9:b7138acdf4ac 2017-03-27 added target_angle in the function File  Diff  Annotate
8:109314be5b68 2017-03-27 proper functions File  Diff  Annotate
7:c94070f9af78 2017-03-24 Final values kappa; File  Diff  Annotate
6:afde4b08166b 2017-03-24 functional shit; File  Diff  Annotate
5:dea05b8f30d0 2017-03-24 v2 with nice kappas kappa File  Diff  Annotate
4:8c56c3ba6e54 2017-03-24 GoToPoint Nearly Working File  Diff  Annotate
3:1e0f4cb93eda 2017-03-24 it should work :P File  Diff  Annotate
2:ea61e801e81f 2017-03-21 added clear comments File  Diff  Annotate
1:f0807d5c5a4b 2017-03-21 test Commit File  Diff  Annotate
0:8bffb51cc345 2017-03-21 Working File  Diff  Annotate