sketch_jul21a:1: error: 'Servo' does not name a type
sketch_jul21a:2: error: 'Servo' does not name a type
sketch_jul21a.cpp: In function 'void detection()':
sketch_jul21a:14: error: 'Yservo' was not declared in this scope
sketch_jul21a:18: error: 'Pservo' was not declared in this scope
sketch_jul21a:48: error: 'Yservo' was not declared in this scope
sketch_jul21a:49: error: 'Pservo' was not declared in this scope
sketch_jul21a.cpp: In function 'void setup()':
sketch_jul21a:55: error: 'Pservo' was not declared in this scope
sketch_jul21a:56: error: 'Yservo' was not declared in this scope