Adjust timing and paper location

This commit is contained in:
2023-01-26 12:14:48 +02:00
parent 5b4d952977
commit 5d7d042276
2 changed files with 6 additions and 6 deletions

View File

@@ -58,7 +58,7 @@ class DrawingController(Node):
def __init__(self, svgpath): def __init__(self, svgpath):
super().__init__('drawing_controller') super().__init__('drawing_controller')
#self.publisher_ = self.create_publisher(PoseStamped, '/target_pose', 10) #self.publisher_ = self.create_publisher(PoseStamped, '/target_pose', 10)
timer_period = 5.0 # seconds timer_period = 20.0 # seconds
self.timer = self.create_timer(timer_period, self.timer_callback) self.timer = self.create_timer(timer_period, self.timer_callback)
self.i = 0 self.i = 0

View File

@@ -170,12 +170,12 @@ public:
// //
// Set limits for A4 paper // Set limits for A4 paper
float xlim_lower = 0.1; float xlim_lower = 0.2;
float xlim_upper = 0.3; float xlim_upper = 0.4;
float ylim_lower = -0.2; float ylim_lower = -0.1;
float ylim_upper = 0.2; float ylim_upper = 0.1;
float zlim_lower = 0.1; float zlim_lower = 0.1;
float zlim_upper = 0.2; float zlim_upper = 0.15;
/** /**
* Function that translates an input value with a given range to a value within another range. * Function that translates an input value with a given range to a value within another range.