Hey i am building a ROS enabled robot which relies on Odometry data from encoders for the purpose of SLAM .
I am confused between what would be more accurate in estimating the pose and robot position either using encoders mounter directly to the back of the motor shaft vs quadrature encoders attached to the wheel .
PS:- I have a Ebike motor running my bot , so as you can guess it uses chain drive to turn the wheels . Please suggest me some mechanical designs by which i can attach encoders to a chain drive .