ros2_python/Ros2 개념

ros2_tree구조

알 수 없는 사용자 2022. 4. 27. 13:13

기본트리

msg srv action 토픽 아무것도 없는 트리

 


기본트리 + package + python code(talker , listner) // msg는 기본 msg 사용

더보기

1111@1111:~/ws_1$ tree
.
├── build
│   ├── COLCON_IGNORE
│   └── py_pubsub
│       ├── build
│       │   └── lib
│       │       └── py_pubsub
│       │           ├── __init__.py
│       │           ├── publisher_member_function.py
│       │           └── subscriber_member_function.py
│       ├── colcon_build.rc
│       ├── colcon_command_prefix_setup_py.sh
│       ├── colcon_command_prefix_setup_py.sh.env
│       ├── install.log
│       └── py_pubsub.egg-info
│           ├── dependency_links.txt
│           ├── entry_points.txt
│           ├── PKG-INFO
│           ├── requires.txt
│           ├── SOURCES.txt
│           ├── top_level.txt
│           └── zip-safe
├── install
│   ├── COLCON_IGNORE
│   ├── local_setup.bash
│   ├── local_setup.ps1
│   ├── local_setup.sh
│   ├── _local_setup_util_ps1.py
│   ├── _local_setup_util_sh.py
│   ├── local_setup.zsh
│   ├── py_pubsub
│   │   ├── lib
│   │   │   ├── py_pubsub
│   │   │   │   ├── listner
│   │   │   │   └── talker
│   │   │   └── python3.8
│   │   │       └── site-packages
│   │   │           ├── py_pubsub
│   │   │           │   ├── __init__.py
│   │   │           │   ├── publisher_member_function.py│   │   │           │   ├── __pycache__
│   │   │           │   │   ├── __init__.cpython-38.pyc
│   │   │           │   │   ├── publisher_member_function.cpython-38.pyc
│   │   │           │   │   └── subscriber_member_function.cpython-38.pyc
│   │   │           │   └── subscriber_member_function.py
│   │   │           └── py_pubsub-0.0.0-py3.8.egg-info
│   │   │               ├── dependency_links.txt
│   │   │               ├── entry_points.txt
│   │   │               ├── PKG-INFO
│   │   │               ├── requires.txt
│   │   │               ├── SOURCES.txt
│   │   │               ├── top_level.txt
│   │   │               └── zip-safe
│   │   └── share
│   │       ├── ament_index
│   │       │   └── resource_index
│   │       │       └── packages
│   │       │           └── py_pubsub
│   │       ├── colcon-core
│   │       │   └── packages
│   │       │       └── py_pubsub
│   │       └── py_pubsub
│   │           ├── hook
│   │           │   ├── ament_prefix_path.dsv
│   │           │   ├── ament_prefix_path.ps1
│   │           │   ├── ament_prefix_path.sh
│   │           │   ├── pythonpath.dsv
│   │           │   ├── pythonpath.ps1
│   │           │   └── pythonpath.sh
│   │           ├── package.bash
│   │           ├── package.dsv
│   │           ├── package.ps1
│   │           ├── package.sh
│   │           ├── package.xml
│   │           └── package.zsh
│   ├── setup.bash
│   ├── setup.ps1
│   ├── setup.sh
│   └── setup.zsh
├── log
│   ├── build_2022-04-27_10-41-32
│   │   ├── events.log
│   │   └── logger_all.log
│   ├── build_2022-04-27_10-48-54
│   │   ├── events.log
│   │   ├── logger_all.log
│   │   └── py_pubsub
│   │       ├── command.log
│   │       ├── stderr.log
│   │       ├── stdout.log
│   │       ├── stdout_stderr.log
│   │       └── streams.log
│   ├── build_2022-04-27_10-50-28
│   │   ├── events.log
│   │   ├── logger_all.log
│   │   └── py_pubsub
│   │       ├── command.log
│   │       ├── stderr.log
│   │       ├── stdout.log
│   │       ├── stdout_stderr.log
│   │       └── streams.log
│   ├── build_2022-04-27_10-53-02
│   │   ├── events.log
│   │   ├── logger_all.log
│   │   └── py_pubsub
│   │       ├── command.log
│   │       ├── stderr.log
│   │       ├── stdout.log
│   │       ├── stdout_stderr.log
│   │       └── streams.log
│   ├── COLCON_IGNORE
│   ├── latest -> latest_build
│   └── latest_build -> build_2022-04-27_10-53-02
└── src
    └── py_pubsub
        ├── package.xml
        ├── py_pubsub
        │   ├── __init__.py
        │   ├── publisher_member_function.py
        │   └── subscriber_member_function.py
        ├── resource
        │   └── py_pubsub
        ├── setup.cfg
        ├── setup.py
        └── test
            ├── test_copyright.py
            ├── test_flake8.py
            └── test_pep257.py

38 directories, 89 files


 

기본트리 + package + python code( service , client ) // srv는 기본 srv 사용

더보기

1111@1111:~/ws_2$ tree
.
├── build
│   ├── COLCON_IGNORE
│   └── py_srvcli
│       ├── build
│       │   └── lib
│       │       └── py_srvcli
│       │           ├── client_member_function.py
│       │           ├── __init__.py
│       │           └── service_member_function.py
│       ├── colcon_build.rc
│       ├── colcon_command_prefix_setup_py.sh
│       ├── colcon_command_prefix_setup_py.sh.env
│       ├── install.log
│       └── py_srvcli.egg-info
│           ├── dependency_links.txt
│           ├── entry_points.txt
│           ├── PKG-INFO
│           ├── requires.txt
│           ├── SOURCES.txt
│           ├── top_level.txt
│           └── zip-safe
├── install
│   ├── COLCON_IGNORE
│   ├── local_setup.bash
│   ├── local_setup.ps1
│   ├── local_setup.sh
│   ├── _local_setup_util_ps1.py
│   ├── _local_setup_util_sh.py
│   ├── local_setup.zsh
│   ├── py_srvcli
│   │   ├── lib
│   │   │   ├── py_srvcli
│   │   │   │   ├── client
│   │   │   │   └── service
│   │   │   └── python3.8
│   │   │       └── site-packages
│   │   │           ├── py_srvcli
│   │   │           │   ├── client_member_function.py
│   │   │           │   ├── __init__.py
│   │   │           │   ├── __pycache__
│   │   │           │   │   ├── client_member_function.cpython-38.pyc
│   │   │           │   │   ├── __init__.cpython-38.pyc
│   │   │           │   │   └── service_member_function.cpython-38.pyc
│   │   │           │   └── service_member_function.py
│   │   │           └── py_srvcli-0.0.0-py3.8.egg-info
│   │   │               ├── dependency_links.txt
│   │   │               ├── entry_points.txt
│   │   │               ├── PKG-INFO
│   │   │               ├── requires.txt
│   │   │               ├── SOURCES.txt
│   │   │               ├── top_level.txt
│   │   │               └── zip-safe
│   │   └── share
│   │       ├── ament_index
│   │       │   └── resource_index
│   │       │       └── packages
│   │       │           └── py_srvcli
│   │       ├── colcon-core
│   │       │   └── packages
│   │       │       └── py_srvcli
│   │       └── py_srvcli
│   │           ├── hook
│   │           │   ├── ament_prefix_path.dsv
│   │           │   ├── ament_prefix_path.ps1
│   │           │   ├── ament_prefix_path.sh
│   │           │   ├── pythonpath.dsv
│   │           │   ├── pythonpath.ps1
│   │           │   └── pythonpath.sh
│   │           ├── package.bash
│   │           ├── package.dsv
│   │           ├── package.ps1
│   │           ├── package.sh
│   │           ├── package.xml
│   │           └── package.zsh
│   ├── setup.bash
│   ├── setup.ps1
│   ├── setup.sh
│   └── setup.zsh
├── log
│   ├── build_2022-04-27_10-56-30
│   │   ├── events.log
│   │   └── logger_all.log
│   ├── build_2022-04-27_11-19-34
│   │   ├── events.log
│   │   ├── logger_all.log
│   │   └── py_srvcli
│   │       ├── command.log
│   │       ├── stderr.log
│   │       ├── stdout.log
│   │       ├── stdout_stderr.log
│   │       └── streams.log
│   ├── build_2022-04-27_13-07-50
│   │   ├── events.log
│   │   ├── logger_all.log
│   │   └── py_srvcli
│   │       ├── command.log
│   │       ├── stderr.log
│   │       ├── stdout.log
│   │       ├── stdout_stderr.log
│   │       └── streams.log
│   ├── build_2022-04-27_13-08-53
│   │   ├── events.log
│   │   ├── logger_all.log
│   │   └── py_srvcli
│   │       ├── command.log
│   │       ├── stderr.log
│   │       ├── stdout.log
│   │       ├── stdout_stderr.log
│   │       └── streams.log
│   ├── build_2022-04-27_13-09-15
│   │   ├── events.log
│   │   ├── logger_all.log
│   │   └── py_srvcli
│   │       ├── command.log
│   │       ├── stderr.log
│   │       ├── stdout.log
│   │       ├── stdout_stderr.log
│   │       └── streams.log
│   ├── build_2022-04-27_13-09-20
│   │   ├── events.log
│   │   ├── logger_all.log
│   │   └── py_srvcli
│   │       ├── command.log
│   │       ├── stderr.log
│   │       ├── stdout.log
│   │       ├── stdout_stderr.log
│   │       └── streams.log
│   ├── COLCON_IGNORE
│   ├── latest -> latest_build
│   └── latest_build -> build_2022-04-27_13-09-20
└── src
    └── py_srvcli
        ├── package.xml
        ├── py_srvcli
        │   ├── client_member_function.py
        │   ├── __init__.py
        │   └── service_member_function.py
        ├── resource
        │   └── py_srvcli
        ├── setup.cfg
        ├── setup.py
        └── test
            ├── test_copyright.py
            ├── test_flake8.py
            └── test_pep257.py

42 directories, 103 files