Skip to content

Commit

Permalink
fixed srv from planner by moving it to rktl_msgs for the CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
T3OTWAWKI committed Mar 2, 2024
1 parent a215ead commit 4f75ad7
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
1 change: 1 addition & 0 deletions src/rktl_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ rosidl_generate_interfaces(${PROJECT_NAME}
"msg/Path.msg"
"msg/Score.msg"
"msg/Waypoint.msg"
"srv/CreateBezierPath.srv"
DEPENDENCIES geometry_msgs std_msgs builtin_interfaces # Add packages that above messages depend on, in this case geometry_msgs for Sphere.msg
)

Expand Down
8 changes: 8 additions & 0 deletions src/rktl_msgs/srv/CreateBezierPath.srv
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
float64 velocity
geometry_msgs/Pose[] target_poses
builtin_interfaces/Duration[] target_durations
builtin_interfaces/Duration bezier_segment_duration
builtin_interfaces/Duration linear_segment_duration
---
rktl_msgs/BezierPath[] bezier_paths
rktl_msgs/Path linear_path
1 change: 1 addition & 0 deletions src/rktl_planner/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@
<export>
<build_type>ament_python</build_type>
</export>

</package>
2 changes: 1 addition & 1 deletion src/rktl_planner/rktl_planner/nodes/path_planner.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
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_planner.srv import CreateBezierPath, CreateBezierPathRequest
from rktl_msgs.srv import CreateBezierPath, CreateBezierPathRequest

def create_simple_path_req(car_odom, ball_odom, goal_pos):
req = CreateBezierPathRequest()
Expand Down
8 changes: 0 additions & 8 deletions src/rktl_planner/srv/CreateBezierPath.srv

This file was deleted.

0 comments on commit 4f75ad7

Please sign in to comment.