mirror of
https://github.com/PhotonVision/photonvision
synced 2026-07-02 02:51:40 +00:00
Fix rendering of tags 30, 31, and 32 in simulated camera streams (#2291)
This commit is contained in:
@@ -50,7 +50,8 @@ import org.photonvision.estimation.OpenCVHelp;
|
||||
import org.photonvision.estimation.RotTrlTransform3d;
|
||||
|
||||
public class VideoSimUtil {
|
||||
public static final int kNumTags36h11 = 30;
|
||||
// Tag IDs start at 0, this should be set to 1 greater than the maximum tag ID required
|
||||
public static final int kNumTags36h11 = 40;
|
||||
|
||||
// All 36h11 tag images
|
||||
private static final Map<Integer, Mat> kTag36h11Images = new HashMap<>();
|
||||
|
||||
@@ -50,7 +50,9 @@ int sgn(T val) {
|
||||
|
||||
namespace photon {
|
||||
namespace VideoSimUtil {
|
||||
static constexpr int kNumTags36h11 = 30;
|
||||
// Tag IDs start at 0, this should be set to 1 greater than the maximum tag ID
|
||||
// required
|
||||
static constexpr int kNumTags36h11 = 40;
|
||||
|
||||
static constexpr units::meter_t fieldLength{16.54175_m};
|
||||
static constexpr units::meter_t fieldWidth{8.0137_m};
|
||||
|
||||
Reference in New Issue
Block a user