Skip to content

Algo-vision/ROS2_input

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screenshot

PyCharm/ROS2 import wrapper.

The repository provides us with an ability to run the same way of importing files both in PyCharm and ROS2 packages.

Install:

git clone https://github.com/Algo-vision/ROS2_input.git
cd ROS2_input
sudo python3 setup.py install

Usage: You need to add these rows to the very beginning of your main function.

from import_parents import smart_import
from pathlib import Path
__package__ = smart_import(file=Path(__file__).resolve(), level=1)

About

ROS2 import wrapper.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages