ROBOT CONTROL APPARATUS, ROBOT CONTROL METHOD, AND ROBOT SYSTEM
A robot control apparatus is configured such that a vector calculator calculates a first vector representing a moving direction of a reference portion at a reference portion position and a second vector representing relative positions of a signal output position and the reference portion position. The robot control apparatus is configured such that a signal output determiner determines whether or not the notification signal is output on the basis of the first vector and the second vector that are calculated by the vector calculator.
1 . A robot control apparatus comprising:
a register that registers a signal output position representing a position at which a predetermined signal should be output; a position acquirer that acquires a reference portion position representing a position of a reference portion in a robot;
a vector calculator that calculates a first vector representing a moving direction of the reference portion at the reference portion position and a second vector representing relative positions of the signal output position and the reference portion position; and
a determiner that determines whether or not the predetermined signal is output based on the first vector and the second vector that are calculated by the vector calculator.
2 . The robot control apparatus according to claim 1 , wherein the determiner determines whether or not the predetermined signal is output based on an inner product between the first vector and the second vector.
3 . The robot control apparatus according to claim 2 , wherein the determiner determines that the predetermined signal is output when the inner product changes in sign.
4 . The robot control apparatus according to claim 2 , wherein the determiner determines that the predetermined signal is output when an absolute value of the inner product is not more than a predetermined value.
5 . The robot control apparatus according to claim 1 , further comprising a history storage that stores a history of the reference portion position acquired by the position acquirer, wherein
the vector calculator calculates a relative position of the latest reference portion position to the immediately previous reference portion position as the first vector.
6 . The robot control apparatus according to claim 5 , wherein the vector calculator corrects the calculated first vector based on the reference portion position older than the immediately previous reference portion position.
7 . The robot control apparatus according to claim 1 , wherein the determiner determines whether or not the predetermined signal is output based on a magnitude of the second vector.
8 . A robot control method comprising:
a registering step of registering a signal output position representing a position at which a predetermined signal should be output;
a position acquiring step of acquiring a reference portion position representing a position of a reference portion in a robot;
a vector calculating step of calculating a first vector representing a moving direction of the reference portion at the reference portion position and a second vector representing relative positions of the signal output position and the reference portion position; and
a determining step of determining whether or not the predetermined signal is output based on the first vector and the second vector that are calculated by the vector calculating step.
9 . A robot system comprising:
one robot or a plurality of robots that operate based on a teaching point registered in advance and execute an operation associated with the teaching point in advance;
a register that registers a signal output position representing a position at which a predetermined signal should be output;
a position acquirer that acquires a reference portion position representing a position of a reference portion in the robot;
a vector calculator that calculates a first vector representing a moving direction of the reference portion at the reference portion position and a second vector representing relative positions of the signal output position and the reference portion position;
a determiner that determines whether or not the predetermined signal is output based on the first vector and the second vector that are calculated by the vector calculator; and a designator that designates the robot to perform a predetermined operation when the predetermined signal is output.