Skip to content

__main__

main() #

Tool demonstrating usage of ydlidar_g2 C++ driver.

During installation of cogip-tools, a script called cogip-ydlidar-g2 will be created using this function as entrypoint.

Source code in cogip/tools/ydlidar_g2/__main__.py
177
178
179
180
181
182
183
184
def main():
    """
    Tool demonstrating usage of ydlidar_g2 C++ driver.

    During installation of cogip-tools, a script called `cogip-ydlidar-g2`
    will be created using this function as entrypoint.
    """
    typer.run(main_opt)