6 ms·
Kind of funny but wouldn’t you want to just maximize(distance_left, distance_right) if you wanted the center? Edit: no, derp, just walked into the same problem
by jncfhnb 2y ago
Kind of funny but wouldn’t you want to just maximize(distance_left, distance_right) if you wanted the center?
Edit: no, derp, just walked into the same problem lol. Maximize the min should work though
- jvanderbot 2y agoThat has a unique solution, so it is infinitely better than the linear error, but is not a nice differentiable signal suitable for controls, I'd bet. But that wasn't in the problem statement.
- CamperBob2 2y agoSeems like you'd want to minimize the distance to the midpoint, but I'm probably missing something.
- jvanderbot 2y agoFun fact: that's what sum of square does