We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The last two strings in self.patterns within modules/virtual.py have each a white space to much, which prevents the creation of mock measurements.
modules/virtual.py
class VirtualTotalStationTM30(VirtualSensor): """ VirtualTotalStationTM30 simulates the Leica TM30 totalstation by processing GeoCOM commands. """ def __init__(self, module_name: str, module_type: str, manager: Manager): super().__init__(module_name, module_type, manager) self.patterns = { '%R1Q,5003:\\r\\n': self.get_sensor_id, '%R1Q,5004:\\r\\n': self.get_sensor_name, '%R1Q,9027:(-?[0-9]*\.?[0-9]+),(-?[0-9]*\.?[0-9]+),2,1,0\\r\\n': self.set_direction, '%R1Q,2008: 1,1\\r\\n': self.measure_distance, '%R1Q,2167: 5000,1\\r\\n': self.do_complete_measurement } `
The text was updated successfully, but these errors were encountered:
Thank you for pointing this out. Has been fixed with commit 630359e.
Sorry, something went wrong.
No branches or pull requests
The last two strings in self.patterns within
modules/virtual.py
have each a white space to much, which prevents the creation of mock measurements.The text was updated successfully, but these errors were encountered: