Abstract This paper presents an algorithm to optimize the base position of a mobile manipulator to meet the equirements of local painting tasks Considering the physical limits and singularity of the manipulator  the feasible base positions are first discretely calculated with the given poses of the end effector by inverse kinematics