How to use the quasimodo.quasimodo_optimization.scripts.optimizer.QuasimodoOptimizer function in quasimodo

To help you get started, we’ve selected a few quasimodo examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github strands-project / strands_3d_mapping / quasimodo / quasimodo_optimization / scripts / optimizer.py View on Github external
self.rates[self.current_label] = (correct, len(msg.strings), float(correct)/float(len(msg.strings)))

    def run(self):
        #gen.add("iss_model_resolution", double_t, 0, "A double parameter", 0.01, 0.005, 0.02)
        #gen.add("pfhrgb_radius_search", double_t, 0, "A double parameter", 0.06, 0.03, 0.08)
        iss_resolutions = [0.002, 0.0025, 0.003, 0.0035, 0.004, 0.0045, 0.005]
        pfhrgb_resolutions = [0.04]
        counter = 0
        for ir in iss_resolutions:
            for pr in pfhrgb_resolutions:
                self.evaluate_parameters(ir, pr, counter)
                counter = counter + 1

if __name__ == '__main__':
    rospy.init_node('optimizer')
    osrv = QuasimodoOptimizer(rospy.get_name())
    osrv.run()

quasimodo

AMQP and MQTT over WebSocket Queue Clients

GPL-2.0
Latest version published 3 months ago

Package Health Score

57 / 100
Full package analysis