Added "make display" command to makefile
This commit is contained in:
@@ -30,6 +30,9 @@ RANDOM_SEED = 9999
|
|||||||
|
|
||||||
all: log2pgm Log2PGM.class
|
all: log2pgm Log2PGM.class
|
||||||
|
|
||||||
|
display:
|
||||||
|
./logdemo.py exp1 1 9999
|
||||||
|
|
||||||
pytest:
|
pytest:
|
||||||
./log2pgm.py $(DATASET) $(USE_ODOMETRY) $(RANDOM_SEED)
|
./log2pgm.py $(DATASET) $(USE_ODOMETRY) $(RANDOM_SEED)
|
||||||
$(VIEWER) $(DATASET).pgm ~/Desktop/$(DATASET).pgm
|
$(VIEWER) $(DATASET).pgm ~/Desktop/$(DATASET).pgm
|
||||||
|
|||||||
@@ -96,9 +96,7 @@ def main():
|
|||||||
# Get new position
|
# Get new position
|
||||||
x_mm, y_mm, theta_degrees = slam.getpos()
|
x_mm, y_mm, theta_degrees = slam.getpos()
|
||||||
|
|
||||||
print(scanno, x_mm, y_mm, theta_degrees)
|
# Get new map
|
||||||
|
|
||||||
# Get current map
|
|
||||||
slam.getmap(mapbytes)
|
slam.getmap(mapbytes)
|
||||||
|
|
||||||
# Display map and robot pose
|
# Display map and robot pose
|
||||||
|
|||||||
Reference in New Issue
Block a user