/package_compiler

Este pacote tem por finalidade copiar um pacote ROS para um destino definido pelo usuário. Os códigos em python do pacote são compilados para o formato “pyc”. O objetivo é ocultar o código do pacote, quando for desejado pelo desenvolvedor.

Primary LanguagePython

Leia esta página em português

Description

This package is intended to copy a ROS package to a user-defined destination. The package's python codes are compiled into the "pyc" format. The goal is to hide the package code when desired by the developer.

Configuration of the system used

Parameters:

  1. pkg_name

    • Type: String
    • Default value: "package_compiler"
    • Description: Name of the package in your src, to be compiled and moved.
  2. dir_dest

    • Type: String
    • Default value: ""
    • Description: Destination location to be installed the compiled package. The full path must be informed! If no path is provided, it will be placed in a folder named "compiled" within the package, in src.

Install:

$ cd ~/catkin_ws/src/
$ git https://github.com/marco-teixeira/package_compiler.git
$ cd ~/catkin_ws
$ catkin_make

Run:

rosrun package_compiler compile.py _pkg_name:="" _dir_dest:=""
roslaunch package_compiler compile_python_pkg.launch