## Corentin Briat## RobotSens## Project Description
## Methodology and ProblemsA kinematic model has been obtained and used to compute the cartesian coordinates of the effector in terms on the angles. The reverse computation was implemented using Newton's method that can iteratively compute a solution to a set of nonlinear equations. This also had the benefit of returning a solution which would be close to the current location as an infinite number of solutions exist, most of them being either unrealistic or identical to others due to periodicity. Calibration of the model was made using direct measurements of the machenical pieces and numerical fitting for modeling the transfer from motor angles to arm angles. Luckily a linear fit was enough. A set of functions were developed to move the angles according to the desired location of the brush. The set of all the almost 200 points unevenlly spaced on the word “sens” were implemented using fixed point arithmetic to save memory using polar coordinates as the position of the brush on the vertical axis remains pretty much constant. A main difficulty was the absence of sensors and counters had to be implemented in order to keep track of the current location starting from a known initial position which was decided to (, , ) in the angle coordinates. This position was chosen as it was trivial to set it manually. Due to model uncertainties as well as failing motors, some drifts tend to accumulate and needed to be corrected empirically. Due to the absence of sensors, this was major issue since the current location and the computed one were not matching anymore. Another issue that arose was the brush dynamics due to contact with the floor that could either move the robot or even block the motors. The brush had to be adapted to move vertically to ensure the contact with the floor and to avoid blocking the motors. A last problem was the difference of the dynamics when using a dry brush and wet one, the friction with the paper was higher with a wet brush and was difficult to deal with as it was impacting the whole brush trajectory, making it dramatically different than in the dry case. This was finally resolved by simply removing the paper and painting on the floor directly. This had the benefit of also speeding-up the drying process due to the presence of porous floor while the paper tended to absorb the water and accumulate it, causing crinkling of the paper |