-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
683 additions
and
377 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# frontal_delphi_radar | ||
## 毫米波雷达目标属性含义 | ||
对于每一个雷达目标点,有如下属性 | ||
`target_ID` | ||
`range` | ||
`v` | ||
`angle` | ||
`x` | ||
`y` | ||
`x` | ||
`valid` | ||
`status` | ||
`moving` | ||
`moving_fast` | ||
`moving_slow` | ||
|
||
## ROS related | ||
## Nodes | ||
### Node: get_radar_data(get_radar_data.cpp) | ||
获取并解析雷达数据,发布毫米波雷达数据话题 | ||
#### Subscribed Topics | ||
- **`/ecu_data`**([std_msgs::Float32]) | ||
- **`/imudata`**([sensor_msgs::Imu]) | ||
#### Published Topics | ||
- **`radardata`**([frontal_delphi_radar::RadarData]) | ||
### Node: frontal_delphi_radar(main.cpp) | ||
雷达点可视化 | ||
#### Subscribed Topics | ||
- **`/radardata`**([frontal_delphi_radar::RadarData]) | ||
#### Published Topics | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<launch> | ||
<param name="robot_description" | ||
textfile="$(find sensor_driver)/urdf/multivelodyne_3d.urdf" /> | ||
|
||
<node name="robot_state_publisher" pkg="robot_state_publisher" | ||
type="robot_state_publisher" /> | ||
|
||
<arg name="rviz" default="true" /> | ||
<arg name="vehicle_name" default="BYD_TANG"/> <!--BYD_TANG, HUACHEN--> | ||
<arg name="listen_port" default="9001"/> | ||
|
||
|
||
<arg name="configfile" default="$(find sensor_driver)/config/configmulti.xml" /> | ||
<arg name="logdir" default="--log_dir=/home/zhanghm/catkin_ws/log" /> | ||
<arg name="glogparam" default="--logtostderr=0 --colorlogtostderr=1 --stderrthreshold=5 $(arg logdir)" /> | ||
|
||
<node pkg="sensor_driver" type="masternode" name="masternode" args="$(arg glogparam)" output="screen"> | ||
<param name="config_file" value="$(arg configfile)"/> | ||
<!--get vehicel ECU data--> | ||
<node pkg="frontal_delphi_radar" type="get_ECU" name="get_ecudata" output="screen"> | ||
<param name="vehicle_name" value="$(arg vehicle_name)"/> | ||
<param name="listen_port" value="$(arg listen_port)"/> | ||
</node> | ||
|
||
<node pkg="sensor_driver" type="getecudata" name="getecudata" args="--logtostderr=0 --colorlogtostderr=1 --stderrthreshold=2 $(arg logdir)" output="screen"> | ||
</node> | ||
|
||
<node pkg="sensor_driver" type="getinsdata" name="getinsdata" args="--logtostderr=0 --colorlogtostderr=1 --stderrthreshold=2 $(arg logdir)" output="screen"> | ||
<node pkg="frontal_delphi_radar" type="get_radar_data" name="get_radar_data" output="screen"> | ||
</node> | ||
|
||
<node pkg="frontal_delphi_radar" type="frontal_delphi_radar" name="frontal_delphi_radar" args="--logtostderr=0 --colorlogtostderr=1 --stderrthreshold=0 $(arg logdir)" output="screen"> | ||
<node pkg="frontal_delphi_radar" type="frontal_delphi_radar" name="frontal_delphi_radar" output="screen"> | ||
</node> | ||
|
||
<node pkg="frontal_delphi_radar" type="get_radar_data" name="get_radar_data" args="--logtostderr=0 --colorlogtostderr=1 --stderrthreshold=0 $(arg logdir)" output="screen"> | ||
</node> | ||
|
||
|
||
|
||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<launch> | ||
|
||
<node pkg="frontal_delphi_radar" type="get_ECU" name="get_ecudata" output="screen"> | ||
</node> | ||
|
||
<node pkg="frontal_delphi_radar" type="get_radar_data" name="get_radar_data" output="screen"> | ||
</node> | ||
|
||
<node pkg="frontal_delphi_radar" type="frontal_delphi_radar" name="frontal_delphi_radar" output="screen"> | ||
</node> | ||
|
||
|
||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<launch> | ||
<param name="robot_description" | ||
textfile="$(find sensor_driver)/urdf/multivelodyne_3d.urdf" /> | ||
|
||
<node name="robot_state_publisher" pkg="robot_state_publisher" | ||
type="robot_state_publisher" /> | ||
|
||
<arg name="rviz" default="true" /> | ||
|
||
|
||
<arg name="configfile" default="$(find sensor_driver)/config/configmulti.xml" /> | ||
<arg name="logdir" default="--log_dir=/home/zhanghm/catkin_ws/log" /> | ||
<arg name="glogparam" default="--logtostderr=0 --colorlogtostderr=1 --stderrthreshold=5 $(arg logdir)" /> | ||
|
||
<node pkg="sensor_driver" type="masternode" name="masternode" args="$(arg glogparam)" output="screen"> | ||
<param name="config_file" value="$(arg configfile)"/> | ||
</node> | ||
|
||
<node pkg="sensor_driver" type="getecudata" name="getecudata" args="--logtostderr=0 --colorlogtostderr=1 --stderrthreshold=2 $(arg logdir)" output="screen"> | ||
</node> | ||
|
||
<node pkg="sensor_driver" type="getinsdata" name="getinsdata" args="--logtostderr=0 --colorlogtostderr=1 --stderrthreshold=2 $(arg logdir)" output="screen"> | ||
</node> | ||
|
||
<node pkg="frontal_delphi_radar" type="frontal_delphi_radar" name="frontal_delphi_radar" args="--logtostderr=0 --colorlogtostderr=1 --stderrthreshold=0 $(arg logdir)" output="screen"> | ||
</node> | ||
|
||
<node pkg="frontal_delphi_radar" type="get_radar_data" name="get_radar_data" args="--logtostderr=0 --colorlogtostderr=1 --stderrthreshold=0 $(arg logdir)" output="screen"> | ||
</node> | ||
|
||
|
||
|
||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
std_msgs/Header header | ||
RadarPoint[64] delphi_detection_array | ||
uint8 ACC_Target_ID | ||
float32 ESR_vehicle_speed | ||
float32 ESR_yaw_rate | ||
float32 vehicle_speed_origin | ||
float32 yaw_rate_origin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.