My previous PR #71 added support for holonomic vehicles by taking in account the Y axis. I realized that there is a possibility for a bug when the traveled distance distChange is equal to zero, as the angleDriveDirection would become invalid because of a division by zero.
This was not happening when I tested PR #71 because of Gazebo noise/imprecision, but I think it would be good of addressing it for the sake of robustness.
My previous PR #71 added support for holonomic vehicles by taking in account the Y axis. I realized that there is a possibility for a bug when the traveled distance
distChange
is equal to zero, as theangleDriveDirection
would become invalid because of a division by zero.This was not happening when I tested PR #71 because of Gazebo noise/imprecision, but I think it would be good of addressing it for the sake of robustness.