Package org.photonvision.simulation
Class VisionTargetSim
java.lang.Object
org.photonvision.simulation.VisionTargetSim
Describes a vision target located somewhere on the field that your vision system can detect.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionVisionTargetSim
(Pose3d pose, TargetModel model) Describes a vision target located somewhere on the field that your vision system can detect.VisionTargetSim
(Pose3d pose, TargetModel model, int id) Describes a fiducial tag located somewhere on the field that your vision system can detect. -
Method Summary
Modifier and TypeMethodDescriptionboolean
This target's vertices offset from its field pose.getModel()
getPose()
void
setModel
(TargetModel model) void
-
Field Details
-
fiducialID
public final int fiducialID
-
-
Constructor Details
-
VisionTargetSim
Describes a vision target located somewhere on the field that your vision system can detect.- Parameters:
pose
- Pose3d of the tag in field-relative coordinatesmodel
- TargetModel which describes the shape of the target
-
VisionTargetSim
Describes a fiducial tag located somewhere on the field that your vision system can detect.- Parameters:
pose
- Pose3d of the tag in field-relative coordinatesmodel
- TargetModel which describes the shape of the target(tag)id
- The ID of this fiducial tag
-
-
Method Details