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

feat(autonomous_emergency_braking): cherry pick/aeb latest to v4.0.0 #1643

Open
wants to merge 28 commits into
base: beta/x2_gen2/v0.29.0
Choose a base branch
from

Commits on Nov 14, 2024

  1. feat(autonomous_emergency_braking): add predicted object support for …

    …aeb (autowarefoundation#7548)
    
    * add polling sub to predicted objects
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * WIP requires changing path frame to map
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * add parameters and reuse predicted obj speed
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * introduce early break to reduce computation time
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * resolve merge conflicts
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * fix guard
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * remove unused declaration
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * fix include
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * fix include issues
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * remove inline
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * delete unused dependencies
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * add utils.cpp
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * remove _ for non member variable
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    ---------
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    danielsanchezaran committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    61d242d View commit details
    Browse the repository at this point in the history
  2. feat(autonomous_emergency_braking): add cluster min height for aeb (a…

    …utowarefoundation#7605)
    
    * add minimum cluster height threshold
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * add update param option
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * use param
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * avoid the float check if cluster_surpasses_threshold_height is already true
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * update README
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * add cluster height description
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    ---------
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    danielsanchezaran committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    647d9d5 View commit details
    Browse the repository at this point in the history
  3. fix(autonomous_emergency_braking): aeb strange mpc polygon (autowaref…

    …oundation#7740)
    
    change resize to reserve
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    danielsanchezaran committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    cab9c6a View commit details
    Browse the repository at this point in the history
  4. feat(autonomous_emergency_braking): aeb add support negative speeds (a…

    …utowarefoundation#7707)
    
    * add support for negative speeds
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * remove negative speed check for predicted obj
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    ---------
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    danielsanchezaran committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    03049a7 View commit details
    Browse the repository at this point in the history
  5. chore(autonomous_emergency_braking): apply clangd suggestions to aeb (a…

    …utowarefoundation#7703)
    
    * apply clangd suggestions
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * add maintainer
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    ---------
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    danielsanchezaran committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    a195768 View commit details
    Browse the repository at this point in the history
  6. feat(autonomous_emergency_braking): add virtual stop wall to aeb (aut…

    …owarefoundation#7894)
    
    * add virtual stop wall to aeb
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * add maintainer
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * add uppercase
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * use motion utils function instead of shiftPose
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    ---------
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    danielsanchezaran committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    594fc7b View commit details
    Browse the repository at this point in the history
  7. feat(autonomous_emergency_braking): add info marker and override for …

    …state (autowarefoundation#8312)
    
    add info marker and override for state
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    danielsanchezaran committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    36b06a5 View commit details
    Browse the repository at this point in the history
  8. docs(autonomous_emergency_braking): update readme for new param (auto…

    …warefoundation#8330)
    
    update readme for new param
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    danielsanchezaran committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    1ee945d View commit details
    Browse the repository at this point in the history
  9. feat(autonomous_emergency_braking): add some tests to aeb (autowarefo…

    …undation#8126)
    
    * add initial tests
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * add more tests
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * more tests
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * WIP add publishing and test subscription
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * add more tests
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * fix lint cmake
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * WIP tf topic
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * Revert "WIP tf topic"
    
    This reverts commit b5ef11b.
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * add path crop test
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * add test for transform object
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * add briefs
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * delete repeated test
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    ---------
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    danielsanchezaran committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    20ed254 View commit details
    Browse the repository at this point in the history
  10. feat(autonomous_emergency_braking): enable aeb with only one req path (

    …autowarefoundation#8569)
    
    * make it so AEB works with only one req path type (imu or MPC)
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * fix missing mpc path return
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * add check
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * modify no path msg
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    ---------
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    danielsanchezaran committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    48ac496 View commit details
    Browse the repository at this point in the history
  11. fix(autonomous_emergency_braking): fix debug marker visual bug (autow…

    …arefoundation#8611)
    
    fix bug by using the collision data keeper
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    danielsanchezaran committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    07ffb45 View commit details
    Browse the repository at this point in the history
  12. docs(autoware_autonomous_emergency_braking): improve AEB module's REA…

    …DME (autowarefoundation#8612)
    
    * docs: improve AEB module's README
    
    Signed-off-by: Kyoichi Sugahara <[email protected]>
    
    * update rss distance length
    
    Signed-off-by: Kyoichi Sugahara <[email protected]>
    ---------
    
    Signed-off-by: Kyoichi Sugahara <[email protected]>
    kyoichi-sugahara authored and danielsanchezaran committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    d98b31b View commit details
    Browse the repository at this point in the history
  13. feat(autonomous_emergency_braking): add timekeeper to AEB (autowarefo…

    …undation#8706)
    
    * add timekeeper to AEB
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * add more info to output
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    ---------
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    danielsanchezaran committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    87e56b2 View commit details
    Browse the repository at this point in the history
  14. feat(autonomous_emergency_braking): increase aeb speed by getting las…

    …t transform (autowarefoundation#8734)
    
    set stamp to 0 to get the latest stamp instead of waiting for the stamp
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    danielsanchezaran committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    285a079 View commit details
    Browse the repository at this point in the history
  15. feat(autonomous_emergency_braking): speed up aeb (autowarefoundation#…

    …8778)
    
    * add missing rclcpp::Time(0)
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * refactor to reduce cropping to once per iteration
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * add LookUpTransform to utils
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * separate object creation and clustering
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * error handling of empty pointcloud
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    ---------
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    danielsanchezaran committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    8d4f624 View commit details
    Browse the repository at this point in the history
  16. fix(control): align the parameters with launcher (autowarefoundation#…

    …8789)
    
    align the control parameters
    
    Signed-off-by: Zhe Shen <[email protected]>
    HansOersted authored and danielsanchezaran committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    f35d4a3 View commit details
    Browse the repository at this point in the history
  17. feat(autonomous_emergency_braking): add markers showing aeb convex hu…

    …ll polygons for debugging purposes (autowarefoundation#8865)
    
    * add markers showing aeb convex hull polygons for debugging purposes
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * fix briefs
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * fix typo
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    ---------
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    danielsanchezaran committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    64c7870 View commit details
    Browse the repository at this point in the history
  18. docs(autonomous_emergency_braking): make a clearer image for aeb when…

    … localization is faulty (autowarefoundation#8873)
    
    make a clearer image for aeb when localization is faulty
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    danielsanchezaran committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    cd97ade View commit details
    Browse the repository at this point in the history
  19. feat(autonomous_emergency_braking): make hull markers 3d (autowarefou…

    …ndation#8930)
    
    make hull markers 3d
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    danielsanchezaran committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    37a2e8e View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    c472c3d View commit details
    Browse the repository at this point in the history
  21. feat(autonomous_emergency_braking): calculate the object's velocity i…

    …n the search area (autowarefoundation#8591)
    
    * refactor PR
    
    Signed-off-by: ismetatabay <[email protected]>
    
    * WIP
    
    Signed-off-by: ismetatabay <[email protected]>
    
    * change using polygon to lateral offset
    
    Signed-off-by: ismetatabay <[email protected]>
    
    * improve code
    
    Signed-off-by: ismetatabay <[email protected]>
    
    * remove redundant code
    
    Signed-off-by: ismetatabay <[email protected]>
    
    * skip close points in MPC path generation
    
    Signed-off-by: ismetatabay <[email protected]>
    
    * fix empty path points in short parking scenario
    
    Signed-off-by: ismetatabay <[email protected]>
    
    * fix readme conflicts
    
    Signed-off-by: ismetatabay <[email protected]>
    
    ---------
    
    Signed-off-by: ismetatabay <[email protected]>
    ismetatabay authored and danielsanchezaran committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    4d446a2 View commit details
    Browse the repository at this point in the history
  22. feat(autonomous_emergency_braking): add sanity chackes (autowarefound…

    …ation#8998)
    
    add sanity chackes
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    danielsanchezaran committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    870b270 View commit details
    Browse the repository at this point in the history
  23. feat(autonomous_emergency_braking): set max imu path length (autoware…

    …foundation#9004)
    
    * set a limit to the imu path length
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * fix test and add a new one
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * update readme
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * pre-commit
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * use velocity and time directly to get arc length
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * refactor to reduce repeated code
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * cleaning code
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    ---------
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    danielsanchezaran committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    bead182 View commit details
    Browse the repository at this point in the history
  24. refactor(autoware_autonomous_emergency_braking): rename info_marker_p…

    …ublisher to virtual_wall_publisher (autowarefoundation#9078)
    
    Signed-off-by: kyoichi-sugahara <[email protected]>
    kyoichi-sugahara authored and danielsanchezaran committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    8c74d59 View commit details
    Browse the repository at this point in the history
  25. fix(autonomous_emergency_braking): fix no backward imu path and wrong…

    … back distance usage (autowarefoundation#9141)
    
    * fix no backward imu path and wrong back distance usage
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * use the motion utils isDrivingForward function
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    ---------
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    danielsanchezaran committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    755b016 View commit details
    Browse the repository at this point in the history
  26. fix namespaces

    Signed-off-by: Daniel Sanchez <[email protected]>
    danielsanchezaran committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    c033ce1 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    25aeac1 View commit details
    Browse the repository at this point in the history
  28. fix(autonomous_emergency_braking): solve issue with arc length (autow…

    …arefoundation#9247)
    
    * solve issue with arc length
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    * fix problem with points one vehicle apart from path
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    
    ---------
    
    Signed-off-by: Daniel Sanchez <[email protected]>
    danielsanchezaran committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    32808d4 View commit details
    Browse the repository at this point in the history