Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Odometry readjustement #31

Merged
merged 69 commits into from
Feb 26, 2021
Merged

Odometry readjustement #31

merged 69 commits into from
Feb 26, 2021

Commits on Feb 1, 2021

  1. add service adjust_odometry

    PhileasL committed Feb 1, 2021
    Configuration menu
    Copy the full SHA
    99150c8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d152d24 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2021

  1. Configuration menu
    Copy the full SHA
    34ceda0 View commit details
    Browse the repository at this point in the history
  2. storing 20 tf + retrieve the tf near the stamp of the tf in callback

    The idea is to re-adjust odometry considering the stamp of the adjust 
    odometry tf given in the callback
    PhileasL committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    efa6e54 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2021

  1. Configuration menu
    Copy the full SHA
    2b933cc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    417dbab View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c329478 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    baff0c6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7129137 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b4eddf0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2367bf5 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2021

  1. Configuration menu
    Copy the full SHA
    d7ba7a7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6bb8e49 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d40ed7c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2af55ca View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    925dfb1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8a6166d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7e4ccd9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3e0476c View commit details
    Browse the repository at this point in the history
  9. almost working, adding a dummy function to avoid odom sliding

    In fact there is a little error at each stage that amplifies slowly, but 
    we can get rid of it by manipulating troncated double. A precision of 
    about a millimeter is still remaining which is acceptable.
    PhileasL committed Feb 4, 2021
    Configuration menu
    Copy the full SHA
    fc3a017 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    92b1899 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f16543b View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    d96d9a8 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2021

  1. Configuration menu
    Copy the full SHA
    abe9844 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1e9f406 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2021

  1. Configuration menu
    Copy the full SHA
    d5c14eb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7ef6151 View commit details
    Browse the repository at this point in the history
  3. Local_costmap contains obstacles for teb_local_planner

    In fact, the planner takes care of the global_costmap and the 
    teb_local_planner only of the local_costmap. Here, the local_costmap is 
    just representing the static map without inflation and gradient_layer 
    that need a specific treatement.
    PhileasL committed Feb 12, 2021
    Configuration menu
    Copy the full SHA
    d17a549 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    88833b5 View commit details
    Browse the repository at this point in the history
  5. Teb_local_planner tweak:

    - Decreasing controller_frequency which were way too high,
    - Made the progress checker more accurate on progress detection,
    - Raise of the min_obstacle_distance and inflation radius to avoid 
    navigation abort due to trajectory collision with an obstacle,
    - Include static costmap obstacles.
    
    Next step: create a node for computing and sending dynamic obstacles to 
    teb_local_planner.
    PhileasL committed Feb 12, 2021
    Configuration menu
    Copy the full SHA
    c472520 View commit details
    Browse the repository at this point in the history
  6. Hello teb_obstacles node !

    The goal of this node is to compute and send to the teb_local_planner 
    the dynamic obstacles. With theses obstacles, the teb_local_planner 
    might be able to make better decisions. The dynamic obstacles are (for 
    the moment in my mind):
    - Ennemies
    - The other allie
    PhileasL committed Feb 12, 2021
    Configuration menu
    Copy the full SHA
    9b4ab36 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9994d67 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7a9e9e5 View commit details
    Browse the repository at this point in the history
  9. Initialisation of obstacles array

    This ObstacleArrayMsg object is the object to send to the topic 
    'obstacle' in order to tell the teb_local_planner that theses obstacles 
    are dynamic obstacles
    PhileasL committed Feb 12, 2021
    Configuration menu
    Copy the full SHA
    58e6888 View commit details
    Browse the repository at this point in the history
  10. dictionnary_index_id:

    The purpose of this dictionnary is to track which marker id of the 
    obstaclesArray is at which index in order to update the array instead of 
    re-create it in case of new markers detection from assurancetourix
    PhileasL committed Feb 12, 2021
    Configuration menu
    Copy the full SHA
    7c8dd54 View commit details
    Browse the repository at this point in the history
  11. ennemies_subscription_callback function of teb_obstacles

    This function dissociate the predicted markers (id > 10) from the true 
    positions of the ennemie. 
    At first call, it will just put the marker id in a availible slot of the 
    dictionary.
    Other callbacks will set the dynamic obstacles
    PhileasL committed Feb 12, 2021
    Configuration menu
    Copy the full SHA
    ef09df5 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    421869c View commit details
    Browse the repository at this point in the history
  13. Set_obstacles function for teb_obstacles

    Set the position of the obstacle + compute its x and y linear velocity 
    for the teb_local_planner in order to predict the movement of the 
    dynamic obstacle
    PhileasL committed Feb 12, 2021
    Configuration menu
    Copy the full SHA
    6f63d31 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    3528e58 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    691dfe9 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    b230aba View commit details
    Browse the repository at this point in the history
  17. Different allie tracking strategy for dynamic obstacle

    By subscribing to the odometry of the allie, we can get the position of 
    the allie relative to its odom frame. 
    With the odom->map transform, we can have these coordinates in the map 
    frame. 
    Then we can set the allie dynamic obstacle by the same way as for 
    ennemies.
    Cooldown of 0.3s between each update of allie dynamic obstacle
    PhileasL committed Feb 12, 2021
    Configuration menu
    Copy the full SHA
    803b68d View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    df97f05 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2021

  1. Robot position extrapolation:

    The idea is to get a banch of VLX and robot position/orientation data 
    using the simulator, and then establish a model to extrapolate the 
    position of the robot using theses data (using linear regression, 
    stochastic gradient descent...). The goal is to apply this model in the 
    localisation_node to get and extra confidence of the real position of 
    the robot (especially near walls)
    PhileasL committed Feb 23, 2021
    Configuration menu
    Copy the full SHA
    422108a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d619826 View commit details
    Browse the repository at this point in the history
  3. Gobelets removing

    PhileasL committed Feb 23, 2021
    Configuration menu
    Copy the full SHA
    bcc1be7 View commit details
    Browse the repository at this point in the history
  4. Min x and y from the walls for a full turn without collisions

    Maybe get the dimensions of the robot and compute them in the future ?
    PhileasL committed Feb 23, 2021
    Configuration menu
    Copy the full SHA
    0855252 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c984fed View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5d7a74f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    59cd70a View commit details
    Browse the repository at this point in the history
  8. csv ready

    PhileasL committed Feb 23, 2021
    Configuration menu
    Copy the full SHA
    c2c2e66 View commit details
    Browse the repository at this point in the history
  9. acquire_data function

    PhileasL committed Feb 23, 2021
    Configuration menu
    Copy the full SHA
    55b91e1 View commit details
    Browse the repository at this point in the history
  10. obstacle avoidance

    PhileasL committed Feb 23, 2021
    Configuration menu
    Copy the full SHA
    0b725de View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    a06597f View commit details
    Browse the repository at this point in the history
  12. reading csv

    PhileasL committed Feb 23, 2021
    Configuration menu
    Copy the full SHA
    4019c1c View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    63cf1d2 View commit details
    Browse the repository at this point in the history
  14. testing model function

    PhileasL committed Feb 23, 2021
    Configuration menu
    Copy the full SHA
    bda036d View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    063cee7 View commit details
    Browse the repository at this point in the history
  16. Testing the new strategy

    Still not good enough for me, thinking of just using vlx near walls 
    considering the orientation given by the odometry to choose which vlx to 
    use in order to extrapolate position
    PhileasL committed Feb 23, 2021
    Configuration menu
    Copy the full SHA
    8a94cb9 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2021

  1. Configuration menu
    Copy the full SHA
    3bac8c8 View commit details
    Browse the repository at this point in the history
  2. Removing unused method

    PhileasL committed Feb 25, 2021
    Configuration menu
    Copy the full SHA
    ac909ce View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6be5c65 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d99f780 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2021

  1. Blacked python code

    PhileasL committed Feb 26, 2021
    Configuration menu
    Copy the full SHA
    1d66fe3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    be35ecb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1b50224 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c9739f9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ded9c98 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5456500 View commit details
    Browse the repository at this point in the history