Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
ros_camera_bev
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yangxue
ros_camera_bev
Commits
7c0fd42f
Commit
7c0fd42f
authored
Mar 28, 2025
by
yangxue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update waytous_perception_msgs
parent
5969f84a
Show whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
146 additions
and
409 deletions
+146
-409
CMakeLists.txt
src/camera_bev_infer/CMakeLists.txt
+2
-2
CameraBevParam.yaml
src/camera_bev_infer/configs/CameraBevParam.yaml
+2
-2
package.xml
src/camera_bev_infer/package.xml
+3
-0
sensor_manager.cpp
src/camera_bev_infer/src/sensor_manager.cpp
+4
-5
CMakeLists.txt
src/waytous_perception_msgs/CMakeLists.txt
+89
-122
DrivableAreaMap.msg
src/waytous_perception_msgs/msg/DrivableAreaMap.msg
+0
-19
DrivingScene.msg
src/waytous_perception_msgs/msg/DrivingScene.msg
+0
-23
EnvironmentModel.msg
src/waytous_perception_msgs/msg/EnvironmentModel.msg
+0
-8
FlatnessMap.msg
src/waytous_perception_msgs/msg/FlatnessMap.msg
+0
-11
FleetObject.msg
src/waytous_perception_msgs/msg/FleetObject.msg
+0
-15
FleetObjectArray.msg
src/waytous_perception_msgs/msg/FleetObjectArray.msg
+0
-3
NormalMap.msg
src/waytous_perception_msgs/msg/NormalMap.msg
+0
-16
Object.msg
src/waytous_perception_msgs/msg/Object.msg
+31
-44
ObjectArray.msg
src/waytous_perception_msgs/msg/ObjectArray.msg
+2
-13
ObjectArrayTemp.msg
src/waytous_perception_msgs/msg/ObjectArrayTemp.msg
+0
-5
ObjectTemp.msg
src/waytous_perception_msgs/msg/ObjectTemp.msg
+0
-58
Rect.msg
src/waytous_perception_msgs/msg/Rect.msg
+0
-5
Road.msg
src/waytous_perception_msgs/msg/Road.msg
+0
-1
RoadArray.msg
src/waytous_perception_msgs/msg/RoadArray.msg
+0
-3
Scene.msg
src/waytous_perception_msgs/msg/Scene.msg
+3
-7
TrafficLight.msg
src/waytous_perception_msgs/msg/TrafficLight.msg
+0
-21
WallMap.msg
src/waytous_perception_msgs/msg/WallMap.msg
+0
-8
package.xml
src/waytous_perception_msgs/package.xml
+10
-18
No files found.
src/camera_bev_infer/CMakeLists.txt
View file @
7c0fd42f
...
@@ -35,7 +35,7 @@ include_directories(/usr/include/glog)
...
@@ -35,7 +35,7 @@ include_directories(/usr/include/glog)
include_directories
(
${
CMAKE_SOURCE_DIR
}
/../../deepinfer/include
)
include_directories
(
${
CMAKE_SOURCE_DIR
}
/../../deepinfer/include
)
link_directories
(
${
CMAKE_SOURCE_DIR
}
/../../deepinfer/build/src
)
link_directories
(
${
CMAKE_SOURCE_DIR
}
/../../deepinfer/build/src
)
set
(
cv_bridge_DIR /usr/local/share/cv_bridge/cmake
)
find_package
(
catkin REQUIRED COMPONENTS
find_package
(
catkin REQUIRED COMPONENTS
cv_bridge
cv_bridge
roscpp
roscpp
...
@@ -56,7 +56,7 @@ include_directories(
...
@@ -56,7 +56,7 @@ include_directories(
catkin_package
(
catkin_package
(
INCLUDE_DIRS include
INCLUDE_DIRS include
LIBRARIES
${
perception_camera_bev
}
LIBRARIES
${
perception_camera_bev
}
CATKIN_DEPENDS cv_bridge roscpp sensor_msgs std_msgs geometry_msgs message_runtime roslib
CATKIN_DEPENDS cv_bridge roscpp sensor_msgs std_msgs geometry_msgs message_runtime roslib
waytous_perception_msgs
)
)
set
(
CMAKE_CUDA_ARCHITECTURES 35 50 72
)
set
(
CMAKE_CUDA_ARCHITECTURES 35 50 72
)
...
...
src/camera_bev_infer/configs/CameraBevParam.yaml
View file @
7c0fd42f
rgb_sub_topic_name
:
/sensor/camera/front_middle/image/bgr
rgb_sub_topic_name
:
/sensor/camera/
inner/image
# /sensor/camera/
front_middle/image/bgr
pointcloud_sub_topic_name
:
/total_calib_pointcloud
pointcloud_sub_topic_name
:
/
livox/lidar_hap
# /
total_calib_pointcloud
detection_pub_topic_name
:
/camera/objects
detection_pub_topic_name
:
/camera/objects
# static_gridmap_pub_topic_name: /perception/camera/bev_static_gridmap
# static_gridmap_pub_topic_name: /perception/camera/bev_static_gridmap
creator_id
:
0000
creator_id
:
0000
...
...
src/camera_bev_infer/package.xml
View file @
7c0fd42f
...
@@ -59,6 +59,8 @@
...
@@ -59,6 +59,8 @@
<build_depend>
std_msgs
</build_depend>
<build_depend>
std_msgs
</build_depend>
<build_depend>
geometry_msgs
</build_depend>
<build_depend>
geometry_msgs
</build_depend>
<build_depend>
image_transport
</build_depend>
<build_depend>
image_transport
</build_depend>
<build_depend>
waytous_perception_msgs
</build_depend>
<build_export_depend>
waytous_perception_msgs
</build_export_depend>
<build_export_depend>
cv_bridge
</build_export_depend>
<build_export_depend>
cv_bridge
</build_export_depend>
<build_export_depend>
roscpp
</build_export_depend>
<build_export_depend>
roscpp
</build_export_depend>
<build_export_depend>
roslib
</build_export_depend>
<build_export_depend>
roslib
</build_export_depend>
...
@@ -74,6 +76,7 @@
...
@@ -74,6 +76,7 @@
<exec_depend>
std_msgs
</exec_depend>
<exec_depend>
std_msgs
</exec_depend>
<exec_depend>
geometry_msgs
</exec_depend>
<exec_depend>
geometry_msgs
</exec_depend>
<exec_depend>
image_transport
</exec_depend>
<exec_depend>
image_transport
</exec_depend>
<exec_depend>
waytous_perception_msgs
</exec_depend>
<!-- The export tag contains other, unspecified, tags -->
<!-- The export tag contains other, unspecified, tags -->
...
...
src/camera_bev_infer/src/sensor_manager.cpp
View file @
7c0fd42f
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
* @Author: wxin
* @Author: wxin
* @Date: 2023-09-03 02:18:07
* @Date: 2023-09-03 02:18:07
* @email: xin.wang@waytous.com
* @email: xin.wang@waytous.com
* @LastEditors:
wxin
* @LastEditors:
yangxue xue.yang@waytous.com
* @LastEditTime: 202
4-01-18 04:29:42
* @LastEditTime: 202
5-03-27 02:21:08
*/
*/
...
@@ -74,6 +74,7 @@ cameraFramePtr sensorManager::infer()
...
@@ -74,6 +74,7 @@ cameraFramePtr sensorManager::infer()
std
::
cout
<<
"Error: manager init but multi model engine havenot init."
<<
std
::
endl
;
std
::
cout
<<
"Error: manager init but multi model engine havenot init."
<<
std
::
endl
;
return
nullptr
;
return
nullptr
;
}
}
// 获取最新图像
auto
ros_img
=
getCurImage
();
auto
ros_img
=
getCurImage
();
if
(
ros_img
==
nullptr
){
if
(
ros_img
==
nullptr
){
// std::cout<< "Warning: dont get image or current image frame got same timestamp with the pre one."<<std::endl;
// std::cout<< "Warning: dont get image or current image frame got same timestamp with the pre one."<<std::endl;
...
@@ -165,7 +166,7 @@ void sensorManager::publishDetection()
...
@@ -165,7 +166,7 @@ void sensorManager::publishDetection()
if
(
point_cloud_ptr
!=
nullptr
){
if
(
point_cloud_ptr
!=
nullptr
){
Cloud
::
Ptr
pcl_cloud
(
new
Cloud
);
Cloud
::
Ptr
pcl_cloud
(
new
Cloud
);
pcl
::
fromROSMsg
(
*
point_cloud_ptr
,
*
pcl_cloud
);
pcl
::
fromROSMsg
(
*
point_cloud_ptr
,
*
pcl_cloud
);
// 2d->bev,结果保存到vGrid中
// 2d->bev,结果保存到vGrid中
(frame->objs_有track_id, vGrid->vInsObjs没有)
// vision_converter_->Process_objects(frame_ptr->img_src_, pcl_cloud, frame_ptr->objs_, *vGrid);
// vision_converter_->Process_objects(frame_ptr->img_src_, pcl_cloud, frame_ptr->objs_, *vGrid);
vision_converter_
->
Process_objects
(
frame_ptr
->
img_src_
,
frame_ptr
->
depth_
,
pcl_cloud
,
frame_ptr
->
objs_
,
*
vGrid
);
vision_converter_
->
Process_objects
(
frame_ptr
->
img_src_
,
frame_ptr
->
depth_
,
pcl_cloud
,
frame_ptr
->
objs_
,
*
vGrid
);
}
else
{
}
else
{
...
@@ -286,8 +287,6 @@ void sensorManager::publishDetection()
...
@@ -286,8 +287,6 @@ void sensorManager::publishDetection()
}
}
}
}
};
};
src/waytous_perception_msgs/CMakeLists.txt
View file @
7c0fd42f
cmake_minimum_required
(
VERSION 2.8.3
)
cmake_minimum_required
(
VERSION 3.5
)
project
(
waytous_perception_msgs
)
project
(
waytous_perception_msgs
)
set
(
CATKIN_ENABLE_TESTING OFF
)
set
(
CMAKE_CXX_STANDARD 11
)
# # Version.
# set (MAJOR_VERSION "1")
# set (MINOR_VERSION "0")
# set (PATCH_VERSION "4")
# # Need ros.
# set (HT_BUILDSYS_NEED_ROS ON)
## Compile as C++11, supported in ROS Kinetic and newer
# # Import cmake modules.
# add_compile_options(-std=c++11)
# list (APPEND CMAKE_MODULE_PATH "$ENV{HT_BUILDSYS_CMAKE_MODULES}")
# include (HtCMakePub)
# install_system_packages (
# PACKAGES "ros-$ENV{ROS_DISTRO}-jsk-recognition-msgs" "ros-$ENV{ROS_DISTRO}-geometry-msgs")
## Find catkin macros and libraries
## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
## is used, also find other catkin packages
find_package
(
catkin REQUIRED
COMPONENTS
find_package
(
catkin REQUIRED
geometry_msgs
COMPONENTS
message_generation
message_generation
message_runtime
geometry_msgs
nav_msgs
jsk_recognition_msgs
std_msgs
grid_map_msgs
roscpp
roscpp
rospy
sensor_msgs
sensor_msgs
tf
std_msgs
tf2
)
)
## System dependencies are found with CMake's conventions
## System dependencies are found with CMake's conventions
...
@@ -26,107 +39,42 @@ find_package(catkin REQUIRED COMPONENTS
...
@@ -26,107 +39,42 @@ find_package(catkin REQUIRED COMPONENTS
## Uncomment this if the package has a setup.py. This macro ensures
## Uncomment this if the package has a setup.py. This macro ensures
## modules and global scripts declared therein get installed
## modules and global scripts declared therein get installed
## See http://ros.org/doc/api/catkin/html/user_guide/setup_dot_py.html
## See http://ros.org/doc/
groovy/
api/catkin/html/user_guide/setup_dot_py.html
# catkin_python_setup()
# catkin_python_setup()
################################################
#######################################
## Declare ROS messages, services and actions ##
## Declare ROS messages and services ##
################################################
#######################################
## To declare and build messages, services or actions from within this
## package, follow these steps:
## * Let MSG_DEP_SET be the set of packages whose message types you use in
## your messages/services/actions (e.g. std_msgs, actionlib_msgs, ...).
## * In the file package.xml:
## * add a build_depend tag for "message_generation"
## * add a build_depend and a exec_depend tag for each package in MSG_DEP_SET
## * If MSG_DEP_SET isn't empty the following dependency has been pulled in
## but can be declared for certainty nonetheless:
## * add a exec_depend tag for "message_runtime"
## * In this file (CMakeLists.txt):
## * add "message_generation" and every package in MSG_DEP_SET to
## find_package(catkin REQUIRED COMPONENTS ...)
## * add "message_runtime" and every package in MSG_DEP_SET to
## catkin_package(CATKIN_DEPENDS ...)
## * uncomment the add_*_files sections below as needed
## and list every .msg/.srv/.action file to be processed
## * uncomment the generate_messages entry below
## * add every package in MSG_DEP_SET to generate_messages(DEPENDENCIES ...)
## Generate messages in the 'msg' folder
## Generate messages in the 'msg' folder
file
(
GLOB_RECURSE MESSAGE_FILES
RELATIVE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/msg"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/msg/*.msg"
)
add_message_files
(
add_message_files
(
FILES
FILES
${
MESSAGE_FILES
}
Rect.msg
FlatnessMap.msg
NormalMap.msg
Object.msg
ObjectArray.msg
ObjectTemp.msg
ObjectArrayTemp.msg
Road.msg
RoadArray.msg
Scene.msg
WallMap.msg
FleetObject.msg
)
)
## Generate services in the 'srv' folder
# add_service_files(
# FILES
# Service1.srv
# Service2.srv
# )
## Generate actions in the 'action' folder
# add_action_files(
# FILES
# Action1.action
# Action2.action
# )
## Generate added messages and services with any dependencies listed here
## Generate added messages and services with any dependencies listed here
generate_messages
(
generate_messages
(
DEPENDENCIES
DEPENDENCIES geometry_msgs jsk_recognition_msgs std_msgs sensor_msgs
geometry_msgs
nav_msgs
sensor_msgs
std_msgs
grid_map_msgs
)
)
################################################
## Declare ROS dynamic reconfigure parameters ##
################################################
## To declare and build dynamic reconfigure parameters within this
## package, follow these steps:
## * In the file package.xml:
## * add a build_depend and a exec_depend tag for "dynamic_reconfigure"
## * In this file (CMakeLists.txt):
## * add "dynamic_reconfigure" to
## find_package(catkin REQUIRED COMPONENTS ...)
## * uncomment the "generate_dynamic_reconfigure_options" section below
## and list every .cfg file to be processed
## Generate dynamic reconfigure parameters in the 'cfg' folder
# generate_dynamic_reconfigure_options(
# cfg/DynReconf1.cfg
# cfg/DynReconf2.cfg
# )
###################################
###################################
## catkin specific configuration ##
## catkin specific configuration ##
###################################
###################################
## The catkin_package macro generates cmake config files for your package
## The catkin_package macro generates cmake config files for your package
## Declare things to be passed to dependent projects
## Declare things to be passed to dependent projects
## INCLUDE_DIRS: uncomment this if your package contains header files
## LIBRARIES: libraries you create in this project that dependent projects also need
## LIBRARIES: libraries you create in this project that dependent projects also need
## CATKIN_DEPENDS: catkin_packages dependent projects also need
## CATKIN_DEPENDS: catkin_packages dependent projects also need
## DEPENDS: system dependencies of this project that dependent projects also need
## DEPENDS: system dependencies of this project that dependent projects also need
catkin_package
(
catkin_package
(
INCLUDE_DIRS
# INCLUDE_DIRS include
#
LIBRARIES waytous_perception_msgs
#
LIBRARIES msgs_ht
CATKIN_DEPENDS geometry_msgs std_msgs message_generation message_runtime grid_map_msgs sensor_msgs nav_msgs roscpp sensor_msgs tf tf2
CATKIN_DEPENDS message_runtime sensor_msgs std_msgs
# DEPENDS system_lib
# DEPENDS system_lib
)
)
...
@@ -136,38 +84,24 @@ catkin_package(
...
@@ -136,38 +84,24 @@ catkin_package(
## Specify additional locations of header files
## Specify additional locations of header files
## Your package locations should be listed before other locations
## Your package locations should be listed before other locations
include_directories
(
# include_directories(include
#include
# ${catkin_INCLUDE_DIRS}
${
catkin_INCLUDE_DIRS
}
)
## Declare a C++ library
# add_library(${PROJECT_NAME}
# src/${PROJECT_NAME}/waytous_perception_msgs.cpp
# )
# )
## Add cmake target dependencies of the library
## Declare a cpp library
## as an example, code may need to be generated before libraries
# add_library(msgs_ht
## either from message generation or dynamic reconfigure
# src/${PROJECT_NAME}/msgs_ht.cpp
# add_dependencies(${PROJECT_NAME} ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
# )
## Declare a C++ executable
## With catkin_make all packages are built within a single CMake context
## The recommended prefix ensures that target names across packages don't collide
# add_executable(${PROJECT_NAME}_node src/waytous_perception_msgs_node.cpp)
## Rename C++ executable without prefix
## Declare a cpp executable
## The above recommended prefix causes long target names, the following renames the
# add_executable(gps_ht_node src/gps_ht_node.cpp)
## target back to the shorter version for ease of user use
## e.g. "rosrun someones_pkg node" instead of "rosrun someones_pkg someones_pkg_node"
# set_target_properties(${PROJECT_NAME}_node PROPERTIES OUTPUT_NAME node PREFIX "")
## Add cmake target dependencies of the executable
## Add cmake target dependencies of the executable
/library
##
same as for the library above
##
as an example, message headers may need to be generated before nodes
# add_dependencies(
${PROJECT_NAME}_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}
)
# add_dependencies(
gps_ht_node gps_ht_generate_messages_cpp
)
## Specify libraries to link a library or executable target against
## Specify libraries to link a library or executable target against
# target_link_libraries(
${PROJECT_NAME}
_node
# target_link_libraries(
gps_ht
_node
# ${catkin_LIBRARIES}
# ${catkin_LIBRARIES}
# )
# )
...
@@ -176,7 +110,7 @@ include_directories(
...
@@ -176,7 +110,7 @@ include_directories(
#############
#############
# all install targets should use catkin DESTINATION variables
# all install targets should use catkin DESTINATION variables
# See http://ros.org/doc/api/catkin/html/adv_user_guide/variables.html
# See http://ros.org/doc/
groovy/
api/catkin/html/adv_user_guide/variables.html
## Mark executable scripts (Python etc.) for installation
## Mark executable scripts (Python etc.) for installation
## in contrast to setup.py, you can choose the destination
## in contrast to setup.py, you can choose the destination
...
@@ -186,16 +120,18 @@ include_directories(
...
@@ -186,16 +120,18 @@ include_directories(
# )
# )
## Mark executables and/or libraries for installation
## Mark executables and/or libraries for installation
# install(TARGETS
${PROJECT_NAME} ${PROJECT_NAME}
_node
# install(TARGETS
msgs_ht gps_ht
_node
# ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
# ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
# LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
# LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
# RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
# RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
# )
# )
## Mark cpp header files for installation
#
# Mark cpp header files for installation
# install(DIRECTORY include/${PROJECT_NAME}/
# install(DIRECTORY include/${PROJECT_NAME}/
# DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
# DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
# FILES_MATCHING PATTERN "*.h"
# FILES_MATCHING
# PATTERN "*.h"
# PATTERN "*.hpp"
# PATTERN ".svn" EXCLUDE
# PATTERN ".svn" EXCLUDE
# )
# )
...
@@ -211,10 +147,41 @@ include_directories(
...
@@ -211,10 +147,41 @@ include_directories(
#############
#############
## Add gtest based cpp test target and link libraries
## Add gtest based cpp test target and link libraries
# catkin_add_gtest(${PROJECT_NAME}-test test/test_
waytous_perception_msgs
.cpp)
# catkin_add_gtest(${PROJECT_NAME}-test test/test_
gps_ht
.cpp)
# if(TARGET ${PROJECT_NAME}-test)
# if(TARGET ${PROJECT_NAME}-test)
# target_link_libraries(${PROJECT_NAME}-test ${PROJECT_NAME})
# target_link_libraries(${PROJECT_NAME}-test ${PROJECT_NAME})
# endif()
# endif()
## Add folders to be run by python nosetests
## Add folders to be run by python nosetests
# catkin_add_nosetests(test)
# catkin_add_nosetests(test)
# Pack.
# set (CPACK_PACKAGE_NAME "ht-${PROJECT_NAME}")
# set (CPACK_PACKAGE_VERSION_MAJOR "${MAJOR_VERSION}")
# set (CPACK_PACKAGE_VERSION_MINOR "${MINOR_VERSION}")
# set (CPACK_PACKAGE_VERSION_PATCH "${PATCH_VERSION}")
# set (CPACK_PACKAGE_CONTACT "You Changbin <changbin.you@waytous.com>, Guo xiangyu <xiangyu.guo@waytous.com>")
# set (CPACK_DEBIAN_PACKAGE_DESCRIPTION "common messages. Branch: ${GIT_BRANCH}. Commit: ${GIT_LAST_COMMIT}.")
# add_deb_dependencies (
# PACKAGES "ros-$ENV{ROS_DISTRO}-ros-base" "ros-$ENV{ROS_DISTRO}-jsk-recognition-msgs" "ros-$ENV{ROS_DISTRO}-geometry-msgs")
# include(HtCMakeDeb)
# # 将生成的 xxx.h 生成 interface 库
# add_library(${PROJECT_NAME} INTERFACE)
# add_dependencies(${PROJECT_NAME}
# ${${PROJECT_NAME}_EXPORTED_TARGETS}
# ${catkin_EXPORTED_TARGETS}
# )
# target_link_libraries(${PROJECT_NAME} INTERFACE
# ${catkin_LIBRARIES}
# )
# target_include_directories(${PROJECT_NAME} INTERFACE
# ${catkin_INCLUDE_DIRS}
# )
# target_include_directories(${PROJECT_NAME} INTERFACE
# ${CATKIN_DEVEL_PREFIX}/include
# )
src/waytous_perception_msgs/msg/DrivableAreaMap.msg
deleted
100755 → 0
View file @
5969f84a
Header header
grid_map_msgs/GridMap elevation_map #高程图
grid_map_msgs/GridMap flatness_map #平整度信息图
grid_map_msgs/GridMap slope_map #坡度地图
grid_map_msgs/GridMap occupancy_map #可行驶区域
#---------------------fitness_level--------------------
int8 FLATNESS_LEVEL0 = 0
int8 FLATNESS_LEVEL1 = 1
int8 FLATNESS_LEVEL2 = 2
int8 FLATNESS_LEVEL3 = 3
int8 FLATNESS_LEVEL4 = 4
#---------------------occupancy_level--------------------
int8 OCC_UNKNOWN = 0
int8 OCC_FREE = 1
int8 OCC_MOVABLE = 2
int8 OCC_STATIC = 3
src/waytous_perception_msgs/msg/DrivingScene.msg
deleted
100755 → 0
View file @
5969f84a
Header header
int8 weather_type # 天气
int8 light_type # 光照条件
int8 place_type # 地点
#-------------------weather_type-----------------
int8 WEATHER_UNKNOWN = 0 # 未知
int8 WEATHER_SUNNY = 1 # 晴天
int8 WEATHER_CLOUDY = 2 # 多云
int8 WEATHER_RAINY = 3 # 雨天
int8 WEATHER_HAZE = 4 # 雾霾
int8 WEATHER_SNOWY = 5 # 雪天
int8 LIGHT_DAYTIME = 0 # 白天
int8 LIGHT_DUSK = 1 # 黄昏
int8 LIGHT_NIGHT = 2 # 晚上
#-------------------place_type-----------------
int8 PLACE_COMMON_ROAD = 0
int8 PLACE_PARKING_SPACE = 1
int8 PLACE_CROSSWALK = 2
int8 PLACE_GAS_STATION = 3
int8 PLACE_WEIGHT_STATION = 4
src/waytous_perception_msgs/msg/EnvironmentModel.msg
deleted
100755 → 0
View file @
5969f84a
std_msgs/Header header
waytous_perception_msgs/ObjectArray objects
waytous_perception_msgs/DrivableAreaMap maps
waytous_perception_msgs/DrivingScene scene
waytous_perception_msgs/TrafficLight[] trafficlight_array
src/waytous_perception_msgs/msg/FlatnessMap.msg
deleted
100755 → 0
View file @
5969f84a
Header header
grid_map_msgs/GridMap elevation_map #高程图
grid_map_msgs/GridMap flatness_map #平整度信息图
#---------------------fitness_level--------------------
int8 FLATNESS_LEVEL0 = 0
int8 FLATNESS_LEVEL1 = 1
int8 FLATNESS_LEVEL2 = 2
int8 FLATNESS_LEVEL3 = 3
int8 FLATNESS_LEVEL4 = 4
src/waytous_perception_msgs/msg/FleetObject.msg
deleted
100755 → 0
View file @
5969f84a
int8 id # 车辆ID, required
int8 property # 车辆归属, required
int16 weight # 车辆重量
geometry_msgs/Pose pose # 车辆定位, required
geometry_msgs/Vector3 dimensions # 车辆大小
geometry_msgs/Vector3 velocity # 车辆速度, required
geometry_msgs/Vector3 accelerate # 车辆加速度
int8[] next_map_id # 未来行驶的路径ID
float32[] id_probs # 预测可能性
#---------------------property--------------------
int8 PROPERTY_OUTSIDER = 0 # 缺省为非系统内车辆
int8 PROPERTY_MGV = 1 # 系统内有人车
int8 PROPERTY_UGV = 2 # 系统内无人车
src/waytous_perception_msgs/msg/FleetObjectArray.msg
deleted
100755 → 0
View file @
5969f84a
std_msgs/Header header
FleetObject[] fleet_object_list
\ No newline at end of file
src/waytous_perception_msgs/msg/NormalMap.msg
deleted
100755 → 0
View file @
5969f84a
Header header
float32 ogmwidth #二维栅格地图宽
float32 ogmheight #二维栅格地图高
int16 vehicle_x #车辆在栅格图中的水平位置
int16 vehicle_y #车辆在栅格图中的竖直位置
float32 rectangle_minx #拟合矩形左边界
float32 rectangle_maxx #拟合矩形右边界
float32 rectangle_miny #拟合矩形下边界
float32 rectangle_maxy #拟合矩形上边界
float32 slopeupdegree #坡度值
float32 slopedestination #斜坡方向(0-360度)
bool vehiclepositionflag #斜坡类型(可用来判断是否为斜坡点,及正坡/负坡)
geometry_msgs/Vector3 normal #normal
sensor_msgs/PointCloud2 pointcloud_with_normal
src/waytous_perception_msgs/msg/Object.msg
View file @
7c0fd42f
int8 sensor_type # Object sensor source, required
int8 id # Object ID, required
int8 id # Object ID, required
int8 property # vehicle property, optional
int8 label_type # Classification, optional
float32 exist_prob # exist probability
############### 2D Rect
############### 2D Rect
waytous_perception_msgs/Rect obb2d # [x,y,w,h,orientation], required
jsk_recognition_msgs/Rect rect # [x,y,w,h], required
float32 orientation # Radian [-pi, pi], orientation of the object, optional
############### 3D Dimension
############### 3D Dimension
geometry_msgs/Pose
pose # the pose of the center
of the object, position is required, quaternion is optional
geometry_msgs/Pose
pose # the pose of the center
of the object, position is required, quaternion is optional
geometry_msgs/Vector3 dimensions # required
geometry_msgs/Vector3 dimensions # required
sensor_msgs/PointCloud2 pointcloud # the points in the object, optional
geometry_msgs/Polygon convex_hull # the hull of the obejct, required
geometry_msgs/Polygon convex_hull # the hull of the obejct, required
sensor_msgs/PointCloud2 cloud # the cloud of the obejct, option
############### confidence use in common
############### classification info
float64 score # required
int8 type # major type, optional
float32[] type_probs
int8 sub_type # sub type, optional
float32[] sub_type_probs
############### tracking info
############### tracking info
int8 track_id # required
int8 track_id # required
geometry_msgs/Vector3 velocity # required
geometry_msgs/Vector3[] velocity # required
float32[] velocity_covariance # optional
float64[9] velocity_covariance # required
geometry_msgs/Vector3 accelerate # required
float64 velocity_confidence # required
geometry_msgs/Vector3[] trace # optional
int8 motion_state # optional
geometry_msgs/Vector3[] trajectory # optional
geometry_msgs/Vector3[] trace # required
FleetObject fleet_object # optional
#---------------------sensor_type--------------------
int8 SENSOR_INVALID = 0
#---------------------major_type--------------------
int8 SENSOR_CAMERA = 1
int8 SENSOR_LIDAR = 2
int8 SENSOR_RADAR = 3
#---------------------label_type--------------------
int8 TYPE_UNKNOWN = 0
int8 TYPE_UNKNOWN = 0
int8 TYPE_PEDESTRIAN = 1
int8 TYPE_PEDESTRIAN = 1
int8 TYPE_BICYCLE = 2
int8 TYPE_CAR = 2
int8 TYPE_VEHICLE = 3
int8 TYPE_TRUCK = 3
int8 TYPE_MACHINERY = 4
int8 TYPE_DUMPER = 4
int8 TYPE_UNKNOWN_MOVABLE = 5
int8 TYPE_EXCAVATOR = 5
int8 TYPE_UNKNOWN_STATIC = 6
int8 TYPE_FLUSHER = 6
#---------------------sub_type--------------------
int8 TYPE_GRADER = 7
int8 SUBTYPE_UNKNOWN = 0
int8 TYPE_DOZER = 8
int8 SUBTYPE_CAR = 1
#---------------------motion--------------------
int8 SUBTYPE_VAN = 2
int8 MOTION_UNKNOWN = 0
int8 SUBTYPE_TRUCK = 3
int8 MOTION_MOVING = 1
int8 SUBTYPE_DUMPER = 4
int8 MOTION_STATIONARY = 2
int8 SUBTYPE_FLUSHER = 5
int8 SUBTYPE_DOZER = 6
int8 SUBTYPE_EXCAVATOR = 7
int8 SUBTYPE_CYCLIST = 8
int8 SUBTYPE_MOTORCYCLIST = 9
int8 SUBTYPE_TRICYCLIST = 10
int8 SUBTYPE_PEDESTRIAN = 11
int8 SUBTYPE_TRAFFIC_CONE = 12
int8 SUBTYPE_UNKNOWN_MOVABLE = 13
int8 SUBTYPE_UNKNOWN_STATIC = 14
#---------------------property--------------------
int8 PROPERTY_OUTSIDER = 0
int8 PROPERTY_MGV = 1
int8 PROPERTY_UGV = 2
src/waytous_perception_msgs/msg/ObjectArray.msg
View file @
7c0fd42f
Header header
Header header
int8 sensor_type # Object sensor source, required
sensor_msgs/Image image
waytous_perception_msgs/Object[] foreground_objects
waytous_perception_msgs/Object[] foreground_objects
waytous_perception_msgs/Object[] background_objects
waytous_perception_msgs/Object[] background_objects
waytous_perception_msgs/Scene current_scene
\ No newline at end of file
#---------------------sensor_type--------------------
int8 SENSOR_INVALID = 0
int8 SENSOR_RADAR = 1
int8 SENSOR_LIDAR = 2
int8 SENSOR_CAMERA = 4
int8 SENSOR_VEHICLE = 8
int8 SENSOR_V2X = 16
int8 SENSOR_FLEET = 32
\ No newline at end of file
src/waytous_perception_msgs/msg/ObjectArrayTemp.msg
deleted
100755 → 0
View file @
5969f84a
Header header
sensor_msgs/Image roi_image
waytous_perception_msgs/ObjectTemp[] foreground_objects
waytous_perception_msgs/ObjectTemp[] background_objects
waytous_perception_msgs/Scene current_scene
src/waytous_perception_msgs/msg/ObjectTemp.msg
deleted
100755 → 0
View file @
5969f84a
int8 id # Object ID, required
int8 property # vehicle property, optional
float32 exist_prob # exist probability
############### 2D Rect
waytous_perception_msgs/Rect obb2d # [x,y,w,h,orientation], required
############### 3D Dimension
geometry_msgs/Pose pose # the pose of the center of the object, position is required, quaternion is optional
geometry_msgs/Vector3 dimensions # required
geometry_msgs/Polygon convex_hull # the hull of the obejct, required
sensor_msgs/PointCloud2 cloud # the cloud of the obejct, option
############### classification info
int8 type # major type, optional
float32[] type_probs
int8 sub_type # sub type, optional
float32[] sub_type_probs
############### tracking info
uint32 track_id # required
geometry_msgs/Vector3 velocity # required
float32[] velocity_covariance # optional
geometry_msgs/Vector3 accelerate # required
geometry_msgs/Vector3[] trace # optional
geometry_msgs/Vector3[] trajectory # optional
FleetObject fleet_object # optional
#---------------------major_type--------------------
int8 TYPE_UNKNOWN = 0
int8 TYPE_PEDESTRIAN = 1
int8 TYPE_BICYCLE = 2
int8 TYPE_VEHICLE = 3
int8 TYPE_MACHINERY = 4
int8 TYPE_UNKNOWN_MOVABLE = 5
int8 TYPE_UNKNOWN_STATIC = 6
#---------------------sub_type--------------------
int8 SUBTYPE_UNKNOWN = 0
int8 SUBTYPE_CAR = 1
int8 SUBTYPE_VAN = 2
int8 SUBTYPE_TRUCK = 3
int8 SUBTYPE_DUMPER = 4
int8 SUBTYPE_FLUSHER = 5
int8 SUBTYPE_DOZER = 6
int8 SUBTYPE_EXCAVATOR = 7
int8 SUBTYPE_CYCLIST = 8
int8 SUBTYPE_MOTORCYCLIST = 9
int8 SUBTYPE_TRICYCLIST = 10
int8 SUBTYPE_PEDESTRIAN = 11
int8 SUBTYPE_TRAFFIC_CONE = 12
int8 SUBTYPE_UNKNOWN_MOVABLE = 13
int8 SUBTYPE_UNKNOWN_STATIC = 14
#---------------------property--------------------
int8 PROPERTY_OUTSIDER = 0
int8 PROPERTY_MGV = 1
int8 PROPERTY_UGV = 2
int8 MOTION_UNKNOWN = 0
int8 MOTION_MOVING = 1
int8 MOTION_STATIONARY = 2
src/waytous_perception_msgs/msg/Rect.msg
deleted
100755 → 0
View file @
5969f84a
float64 x
float64 y
float64 w
float64 h
float64 orientation
src/waytous_perception_msgs/msg/Road.msg
View file @
7c0fd42f
int8 label
int8 label
geometry_msgs/Vector3[] points
geometry_msgs/Vector3[] points
#---------------------label--------------------
#---------------------label--------------------
int8 TYPE_ROAD = 0
int8 TYPE_ROAD = 0
int8 TYPE_ROAD_EDGE = 1
int8 TYPE_ROAD_EDGE = 1
...
...
src/waytous_perception_msgs/msg/RoadArray.msg
View file @
7c0fd42f
Header header
Header header
waytous_perception_msgs/Road[] road_list
waytous_perception_msgs/Road[] road_list
src/waytous_perception_msgs/msg/Scene.msg
View file @
7c0fd42f
Header header
Header header
int8 type
int8 type
waytous_perception_msgs/Rect
rect
jsk_recognition_msgs/Rect[]
rect
float64 reliable
float64
[]
reliable
#---------------------type--------------------
#---------------------type--------------------
int8 TYPE_NORMAL = 0
int8 TYPE_NORMAL = 0
int8 TYPE_FOG = 1
int8 TYPE_FOG = 1
int8 TYPE_DUST = 2
int8 TYPE_DUST = 2
int8 TYPE_RAIN = 3
int8 TYPE_RAIN = 3
int8 TYPE_SNOW = 4
int8 TYPE_SNOW = 4
int8 TYPE_DARK = 5
int8 TYPE_DARK = 4
int8 TYPE_TRAFFIC_LIGHT_GREEN = 6
int8 TYPE_TRAFFIC_LIGHT_RED = 7
int8 TYPE_TRAFFIC_LIGHT_YELLOW = 8
int8 TYPE_TRAFFIC_LIGHT_UNKNOWN = 9
src/waytous_perception_msgs/msg/TrafficLight.msg
deleted
100755 → 0
View file @
5969f84a
std_msgs/Header header
string id # 地图红绿灯ID
int8 sensor_type # 信息来源
int8 color # 红绿灯颜色
waytous_perception_msgs/Rect rect # 红绿灯二维位置
geometry_msgs/Polygon polygon # 红绿灯三维位置
int8 confidence # 检测置信度
float32 remaining_time # 剩余时间
#----------------sensor_type--------------------------
int8 SENSOR_INVALID = 0
int8 SENSOR_CAMERA = 1
int8 SENSOR_V2X = 2
#----------------color--------------------------
int8 COLOR_UNKNOWN = 0
int8 COLOR_RED = 1
int8 COLOR_YELLOW = 2
int8 COLOR_GREEN = 3
int8 COLOR_BLACK = 4
src/waytous_perception_msgs/msg/WallMap.msg
deleted
100755 → 0
View file @
5969f84a
std_msgs/Header header
int16 ogmwidth #二维栅格地图宽
int16 ogmheight #二维栅格地图高
int16 vehicle_x #车辆在栅格图中的水平位置
int16 vehicle_y #车辆在栅格图中的竖直位置
float32 ogmresolution #栅格分辨率
int16[] data #栅格点(像素为1和2的栅格为挡墙)
\ No newline at end of file
src/waytous_perception_msgs/package.xml
View file @
7c0fd42f
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<!-- One maintainer tag required, multiple allowed, one person per tag -->
<!-- One maintainer tag required, multiple allowed, one person per tag -->
<!-- Example: -->
<!-- Example: -->
<!-- <maintainer email="jane.doe@example.com">Jane Doe</maintainer> -->
<!-- <maintainer email="jane.doe@example.com">Jane Doe</maintainer> -->
<maintainer
email=
"
yul@todo.todo"
>
yul
</maintainer>
<maintainer
email=
"
guo@todo.todo"
>
guo
</maintainer>
<!-- One license tag required, multiple allowed, one license per tag -->
<!-- One license tag required, multiple allowed, one license per tag -->
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<!-- Url tags are optional, but multiple are allowed, one per tag -->
<!-- Url tags are optional, but multiple are allowed, one per tag -->
<!-- Optional attribute type can be: website, bugtracker, or repository -->
<!-- Optional attribute type can be: website, bugtracker, or repository -->
<!-- Example: -->
<!-- Example: -->
<!-- <url type="website">http://wiki.ros.org/
waytous_perception_
msgs</url> -->
<!-- <url type="website">http://wiki.ros.org/msgs</url> -->
<!-- Author tags are optional, multiple are allowed, one per tag -->
<!-- Author tags are optional, multiple are allowed, one per tag -->
...
@@ -49,34 +49,26 @@
...
@@ -49,34 +49,26 @@
<!-- Use doc_depend for packages you need only for building documentation: -->
<!-- Use doc_depend for packages you need only for building documentation: -->
<!-- <doc_depend>doxygen</doc_depend> -->
<!-- <doc_depend>doxygen</doc_depend> -->
<buildtool_depend>
catkin
</buildtool_depend>
<buildtool_depend>
catkin
</buildtool_depend>
<build_depend>
geometry_msgs
</build_depend>
<build_depend>
message_generation
</build_depend>
<build_depend>
message_generation
</build_depend>
<build_depend>
message_runtime
</build_depend>
<build_depend>
geometry_msgs
</build_depend>
<build_depend>
nav
_msgs
</build_depend>
<build_depend>
jsk_recognition
_msgs
</build_depend>
<build_depend>
roscpp
</build_depend>
<build_depend>
roscpp
</build_depend>
<build_depend>
rospy
</build_depend>
<build_depend>
sensor_msgs
</build_depend>
<build_depend>
sensor_msgs
</build_depend>
<build_depend>
tf
</build_depend>
<build_depend>
tf2
</build_depend>
<build_depend>
grid_map_msgs
</build_depend>
<build_depend>
std_msgs
</build_depend>
<build_depend>
std_msgs
</build_depend>
<build_export_depend>
geometry_msgs
</build_export_depend>
<build_export_depend>
geometry_msgs
</build_export_depend>
<build_export_depend>
grid_map_msgs
</build_export_depend>
<build_export_depend>
jsk_recognition_msgs
</build_export_depend>
<build_export_depend>
nav_msgs
</build_export_depend>
<build_export_depend>
roscpp
</build_export_depend>
<build_export_depend>
roscpp
</build_export_depend>
<build_export_depend>
rospy
</build_export_depend>
<build_export_depend>
sensor_msgs
</build_export_depend>
<build_export_depend>
sensor_msgs
</build_export_depend>
<build_export_depend>
tf
</build_export_depend>
<build_export_depend>
tf2
</build_export_depend>
<build_export_depend>
std_msgs
</build_export_depend>
<build_export_depend>
std_msgs
</build_export_depend>
<exec_depend>
geometry_msgs
</exec_depend>
<exec_depend>
grid_map_msgs
</exec_depend>
<exec_depend>
message_runtime
</exec_depend>
<exec_depend>
message_runtime
</exec_depend>
<exec_depend>
nav_msgs
</exec_depend>
<exec_depend>
geometry_msgs
</exec_depend>
<exec_depend>
jsk_recognition_msgs
</exec_depend>
<exec_depend>
roscpp
</exec_depend>
<exec_depend>
roscpp
</exec_depend>
<exec_depend>
rospy
</exec_depend>
<exec_depend>
sensor_msgs
</exec_depend>
<exec_depend>
sensor_msgs
</exec_depend>
<exec_depend>
tf
</exec_depend>
<exec_depend>
tf2
</exec_depend>
<exec_depend>
std_msgs
</exec_depend>
<exec_depend>
std_msgs
</exec_depend>
<exec_depend>
message_generation
</exec_depend>
<!-- The export tag contains other, unspecified, tags -->
<!-- The export tag contains other, unspecified, tags -->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment