Does anyone have an issue when you're attempting to evade attacks but you end up hugging a wall that ultimately leads to getting yourself exposed in battle. I don't know what algorithm that is used for that but it's quite annoying.
There's an option in the settings menu where you can alter how your agent takes cover.
I play on Playstation 4 and I have my setting to hold the cover button for a period of time before my agent hugs a wall. It took some getting used to but it helped me control how I wanted to take cover and avoided my agent sticking to walls when I didn't want her to.
I hope that helps you too, hopefully that would work with rolling and hugging walls as well - pretty sure it has happened a lot less for me after changing it.