Skip to content

Commit

Permalink
move code to src
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-krueger committed Feb 23, 2022
1 parent 1a67dbb commit 1738fd1
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "scripts/DJITelloPy"]
path = scripts/DJITelloPy
path = src/DJITelloPy
url = git@github.com:jan-krueger/DJITelloPy.git
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ find_package(catkin REQUIRED COMPONENTS
## Uncomment this if the package has a setup.py. This macro ensures
## modules and global scripts declared therein get installed
## See http://ros.org/doc/api/catkin/html/user_guide/setup_dot_py.html
# catkin_python_setup()
catkin_python_setup()

################################################
## Declare ROS messages, services and actions ##
Expand Down
10 changes: 10 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from setuptools import setup
from catkin_pkg.python_setup import generate_distutils_setup

d = generate_distutils_setup(
scripts=['src/tello_pilot_node.py'],
packages=['tello_pilot'],
package_dir={'': 'src'}
)

setup(**d)
File renamed without changes.
2 changes: 1 addition & 1 deletion scripts/tello_pilot_node.py → src/tello_pilot_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

import cv2 as cv
import numpy as np
from RospyLogger import RospyLogger
from tello_pilot.src.utils.RospyLogger import RospyLogger
from TelloParameterParser import TelloParameterParser

from cv_bridge import CvBridge
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 1738fd1

Please sign in to comment.