5yler / metatron

Autonomous Power Racing Series Racecar - ROS Metapackage
4 stars 2 forks source link

Avoid driving straight into walls #26

Open 5yler opened 7 years ago

5yler commented 7 years ago

Currently, the reactive steering algorithm in drive only outputs a nonzero steering angle when there are more obstacles on one side of the car. If the car is driving straight into a wall, it won't stop.

Add some logic to check if it's approaching a flat/even obstacle ahead, then slow down and turn if that's the case.

Tasks

5yler commented 7 years ago

We have a stop node that is the most primitive form of dealing with this problem. The pipeline has been tested up to integration with Arduino (i.e. estop is correctly triggered with RPLIDAR in the loop, no testing on live car yet)