git commit -m "first commit"

This commit is contained in:
2026-05-28 10:29:58 +07:00
commit 167c52aeb6
2048 changed files with 740251 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
cmake_minimum_required(VERSION 3.0.2)
project(dwb_msgs)
find_package(catkin REQUIRED
COMPONENTS geometry_msgs nav_2d_msgs message_generation nav_msgs
)
add_message_files(FILES
CriticScore.msg
LocalPlanEvaluation.msg
Trajectory2D.msg
TrajectoryScore.msg
)
add_service_files(FILES
DebugLocalPlan.srv
GenerateTrajectory.srv
GenerateTwists.srv
GetCriticScore.srv
ScoreTrajectory.srv
)
generate_messages(DEPENDENCIES geometry_msgs nav_2d_msgs nav_msgs)
catkin_package(
CATKIN_DEPENDS geometry_msgs message_runtime nav_2d_msgs nav_msgs
)

View File

@@ -0,0 +1,7 @@
# The result from one critic scoring a Twist.
# Name of the critic
string name
# Score for the critic, not multiplied by the scale
float32 raw_score
# Scale for the critic, multiplied by the raw_score and added to the total score
float32 scale

View File

@@ -0,0 +1,10 @@
# Full Scoring for running the local planner
# Header, used for timestamp
Header header
# All the trajectories evaluated and their scores
TrajectoryScore[] twists
# Convenience index of the best (lowest) score in the twists array
uint16 best_index
# Convenience index of the worst (highest) score in the twists array. Useful for scaling.
uint16 worst_index

View File

@@ -0,0 +1,11 @@
# For a given velocity command, the poses that the robot will go to in the allotted time.
# Input Velocity
nav_2d_msgs/Twist2D velocity
# Poses the robot will go to, given our kinematic model
geometry_msgs/Pose2D[] poses
# Time difference between the current pose and the poses in the trajectory.
# Parallel array to poses. Length should be the same.
duration[] time_offsets

View File

@@ -0,0 +1,8 @@
# Complete scoring for a given twist.
# The trajectory being scored
Trajectory2D traj
# The Scores for each of the critics employed
CriticScore[] scores
# Convenience member that totals the critic scores
float32 total

View File

@@ -0,0 +1,19 @@
<?xml version="1.0"?>
<package format="2">
<name>dwb_msgs</name>
<version>0.3.0</version>
<description>Message/Service definitions specifically for the dwb_local_planner</description>
<maintainer email="davidvlu@gmail.com">David V. Lu!!</maintainer>
<license>BSD</license>
<buildtool_depend>catkin</buildtool_depend>
<depend>geometry_msgs</depend>
<depend>nav_2d_msgs</depend>
<depend>nav_msgs</depend>
<build_depend>message_generation</build_depend>
<build_export_depend>message_runtime</build_export_depend>
<exec_depend>message_runtime</exec_depend>
</package>

View File

@@ -0,0 +1,7 @@
# For a given pose velocity and global_plan, run the local planner and return full results
nav_2d_msgs/Pose2DStamped pose
nav_2d_msgs/Twist2D velocity
nav_2d_msgs/Path2D global_plan
nav_2d_msgs/Pose2DStamped goal
---
LocalPlanEvaluation results

View File

@@ -0,0 +1,6 @@
# For a given start pose, velocity and desired velocity, generate which poses will be visited
geometry_msgs/Pose2D start_pose
nav_2d_msgs/Twist2D start_vel
nav_2d_msgs/Twist2D cmd_vel
---
Trajectory2D traj

View File

@@ -0,0 +1,4 @@
# For a given velocity, generate which twist commands will be evaluated
nav_2d_msgs/Twist2D current_vel
---
nav_2d_msgs/Twist2D[] twists

View File

@@ -0,0 +1,8 @@
nav_2d_msgs/Pose2DStamped pose
nav_2d_msgs/Twist2D velocity
nav_2d_msgs/Path2D global_plan
nav_2d_msgs/Pose2DStamped goal
Trajectory2D traj
string critic_name
---
CriticScore score

View File

@@ -0,0 +1,7 @@
nav_2d_msgs/Pose2DStamped pose
nav_2d_msgs/Twist2D velocity
nav_2d_msgs/Path2D global_plan
nav_2d_msgs/Pose2DStamped goal
Trajectory2D traj
---
TrajectoryScore score