import rov_comm import ports server = rov_comm.ZMQ_Server(data_template = 0, client_port = ports.TORPEDO_READY_DRIVER_PORT, driver_port = ports.TORPEDO_READY_CLIENT_PORT) server.run()
import rov_comm import ports example ={ 'front': 0.0, 'right': 0.0, 'up': 0.0, 'roll': 0.0, 'pitch': 0.0, 'yaw': 0.0 } server = rov_comm.ZMQ_Server(example, ports.ENGINE_SLAVE_PORT, ports.ENGINE_MASTER_PORT) server.run()
import rov_comm import ports server = rov_comm.ZMQ_Server(data_template=0, client_port=ports.LIGHTS_DRIVER_PORT, driver_port=ports.LIGHTS_CLIENT_PORT) server.run()
import rov_comm import ports server = rov_comm.ZMQ_Server(data_template=0, driver_port=ports.HYDRO_DRIVER_PORT, client_port=ports.HYDRO_CLIENT_PORT) server.run()
import rov_comm import ports data_temp = { 'lineA_x': 0, 'lineA_y': 0, 'lineA_z': 0, 'angularA_x': 0, 'angularA_y': 0, 'angularA_z': 0, 'roll': 0, 'pitch': 0, 'yaw': 0 } server = rov_comm.ZMQ_Server(data_template=data_temp, driver_port=ports.AHRS_DRIVER_PORT, client_port=ports.AHRS_CLIENT_PORT) server.run()