- Better error handling in WiFi configuration.
- Fix open WiFi access.
- Fixes for MJPEG video format. Should help with video on iPhone.
+ - Add axis bounds GCode variables ``#<_x_min>``, ``#<_x_max>``, etc.
## v0.4.12
- Segments straddle arc in linearization.
self.set('selected_time', time)
+ def set_bounds(self, bounds):
+ for axis in 'xyzabc':
+ for name in ('min', 'max'):
+ var = '%s_%s' % (axis, name)
+ value = bounds[name][axis] if axis in bounds[name] else 0
+ self.set(var, value)
+
+
def ack_message(self, id):
self.log.info('Message %d acknowledged' % id)
msgs = self.vars['messages']
if data is None: return
meta, positions, speeds = data
+ self.get_ctrl().state.set_bounds(meta['bounds'])
+
if dataType == '/positions': data = positions
elif dataType == '/speeds': data = speeds
else: