tag:blogger.com,1999:blog-910685024071367839.post3662260732417189663..comments2024-03-22T05:52:25.544-04:00Comments on BuildIts in Progress: Controls Ramblings: How to get from Point A to Point B very fast (and stop)Ben Katzhttp://www.blogger.com/profile/15816221191617788028noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-910685024071367839.post-38973992053894640712018-06-15T11:12:07.553-04:002018-06-15T11:12:07.553-04:00The Bang Bang Controller! awesome post...The Bang Bang Controller! awesome post...Anonymoushttps://www.blogger.com/profile/07917644247832274833noreply@blogger.comtag:blogger.com,1999:blog-910685024071367839.post-82538024318606832422018-06-01T22:17:40.649-04:002018-06-01T22:17:40.649-04:00Great post! Did you implement this controller in c...Great post! Did you implement this controller in code? I was thinking about adapting it to a line follower.Anonymoushttps://www.blogger.com/profile/13279395377132797467noreply@blogger.comtag:blogger.com,1999:blog-910685024071367839.post-40471403355955128242018-03-13T14:15:48.489-04:002018-03-13T14:15:48.489-04:00You can can replace the sgn function with a steep ...You can can replace the sgn function with a steep saturation, so there's a linear region around the setpoint, or switch to a linear controller. You probably wouldn't want to implement it on hardware exactly as written here, because it would chatter violently once it reached the setpoint.Ben Katzhttps://www.blogger.com/profile/15816221191617788028noreply@blogger.comtag:blogger.com,1999:blog-910685024071367839.post-35675774128014705252018-03-13T13:50:44.917-04:002018-03-13T13:50:44.917-04:00How do you prevent the controller from oscillating...How do you prevent the controller from oscillating about the target once it's close? Do you just essentially turn it off once the position is within a tolerance?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-910685024071367839.post-91318296751623947392018-03-11T13:26:33.196-04:002018-03-11T13:26:33.196-04:00The animated plots were done in matlab. Here'...The animated plots were done in matlab. Here's a simple example of an animated plot, and how to save it as a GIF:<br /><br />https://github.com/bgkatz/Matlab-Animated-Plot-GIF-Example<br /><br /><br />Ben Katzhttps://www.blogger.com/profile/15816221191617788028noreply@blogger.comtag:blogger.com,1999:blog-910685024071367839.post-58987829211475145912018-03-10T23:38:36.474-05:002018-03-10T23:38:36.474-05:00How did you make these animated graphs?How did you make these animated graphs?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-910685024071367839.post-26775612475832178922018-03-10T04:52:32.944-05:002018-03-10T04:52:32.944-05:00Fucking awesome!Fucking awesome!Anonymousnoreply@blogger.com