AHPPEBot: Autonomous Robot for Tomato Harvesting based on Phenotyping and Pose Estimation