The cure for most turret-type defenses is to keep laying down blocks ahead of you as you approach, so they never really get line of sight on you. Hay bales, in 7D2D, seem particularly well suited to this as you could pick them up once you're past them and re-use them.
Oh, so you've encountered them adversarily as a player in-game? Didn't think of that, I have not really faced turrets or had to out-maneuver them because they are not yet in POIs, just planned to be eventually, and I have never played a PvP game, nor tried to raid anyones stash in a PvE. Wait!.. there
was this one time I pulled a stupid, one of those "for science" moments that spiraled into a much bigger deal than anticipated. So, the first time I saw the buttons in the turret control panel, making this also a noob moment, where you can turn on and off what the turret will fire at. I was tickled and confused that
I was one of those targeting options, why the F would I want to shoot myself, I had glass for those moments. So I imagine at least part of the impulse that made me press it was as a spur of the moment dare that it prove its not kidding. It wasn't a joke, it spun around, looked straight at me, and I immediately found out what a point blank shotgun round looks like from the receiving end. Problem was... it was still on, covering the only real entrance to my base, and my last sleeping bag was elsewhere(from a journey). The electrical system was protected from outside tampering, so... yeah, that was fun. Anyway I did not think of using hay bales, ended up digging in elsewhere and taking out a link in it's power connection... after a few attempts to get around it that failed. That was ages ago though, and still my only encounter vs a turret as player. Will be quite interesting when they do implement them as parts of some POIs, PvPer's like you would likely have the best advice, my single experience wasn't exactly graceful. Otherwise I have dealt with them in most games I've played, is one of my milestone goals to get to that point.