From 84bfd2c4ce233b7d13554e96c9a3a9b43eec1640 Mon Sep 17 00:00:00 2001 From: jcrm1 <52137472+jcrm1@users.noreply.github.com> Date: Sat, 2 Mar 2024 22:26:44 +0000 Subject: [PATCH] i dunno --- src/rktl_planner/rktl_planner/nodes/path_planner.py | 4 ++-- src/rktl_planner/setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rktl_planner/rktl_planner/nodes/path_planner.py b/src/rktl_planner/rktl_planner/nodes/path_planner.py index 83266886..3a96fede 100755 --- a/src/rktl_planner/rktl_planner/nodes/path_planner.py +++ b/src/rktl_planner/rktl_planner/nodes/path_planner.py @@ -9,10 +9,10 @@ from geometry_msgs.msg import Pose from rktl_msgs.msg import BezierPathList, Path from std_srvs.srv import Empty, Empty_Request, Empty_Response -from rktl_msgs.srv import CreateBezierPath, CreateBezierPathRequest +from rktl_msgs.srv import CreateBezierPath def create_simple_path_req(car_odom, ball_odom, goal_pos): - req = CreateBezierPathRequest() + req = CreateBezierPath.Request() req.velocity = 0.5 req.bezier_segment_duration.data = node.create_rate(0.5) diff --git a/src/rktl_planner/setup.py b/src/rktl_planner/setup.py index c0e2a7de..1de8a0a6 100644 --- a/src/rktl_planner/setup.py +++ b/src/rktl_planner/setup.py @@ -14,7 +14,7 @@ ('share/' + package_name, ['package.xml']), (os.path.join('share', package_name, 'launch'), glob(os.path.join('launch', '*launch.[pxy][yma]*'))), (os.path.join('lib', package_name), glob(os.path.join(package_name, '*.py'))), - (os.path.join('lib', package_name), glob(os.path.join(package_name, 'nodes', '*.py'))), + (os.path.join('lib', package_name, 'nodes'), glob(os.path.join(package_name, 'nodes', '*.py'))), (os.path.join('share', package_name, 'config'), glob(os.path.join('config', '*.yaml'))), ], install_requires=['setuptools'],