The design and implementation of an advanced vision-based robotic system