Patent attributes
A control device includes a control section configured to control a motion of a robot arm using values detected by a plurality of distance sensors. The plurality of distance sensors include a first distance sensor and a second distance sensor disposed in a first direction orthogonal to the axial direction of a dispenser. The second distance sensor is disposed in a position further apart from the dispenser than the first distance sensor. The control section executes, on a robot, a first instruction for causing the robot to execute discharge of a discharge object by the dispenser when a distance acquired by the first distance sensor is a distance in a predetermined range and a distance acquired by the second distance sensor is a distance larger than the distance in the predetermined range.