Launch headtohead with spliner:
roslaunch stack_master headtohead.launch LU_table:=NUCX_hangar_pacejka overtake_mode:=spliner od_mode:=sami
After successful launch, you should see the following messages in the command line:
[Tracking] Dynamic Tracker Server Launched...
[Perception Detect]: Ready
[Perception Classifier]: Ready
Launch rqt
and go into dynamic_tracker_server
ttl_dynamic
: the time to live of the dynamic prediction of the opponent.ratio_to_glob_path
: the ratio between the target velocity and the global velocity. Defines to which target speed the dynamic prediction will convert. If set to 1, target velocity is equal the raceline speedttl_static
: time to live of the static and not-classified objects. Be aware that the ttl of static obstacle only gets decreased if they are/should be visiblemin_nb_meas
: minimum number of measurements of a obstacle before it gets classified as static or dynamicdist_deletion
: distance under which an obstacle can be deleted (if it is visible)dist_infront
: distance under which obstacles infront of the car get publishedmin_std
: standard deviation of the position under which obstacles get classified as static. Needs to be increased when using pf2max_std
: standard deviation of the position over which obstacles get classified as dynamic. Needs to be increased when using pf2vs_reset
: average velocity in s direction under which a dynamic obstacle gets reset to a static obstacleaggro_multi
: a multiplier for the association distance for dynamic obstaclesdebug_mode
: will enable some prints to the console for debuggingpublish_static
: enable/disable publishing of static obstacles. May help when many FP are presentnoMemoryMode
: will disable the memory mode of the tracker. Can help with thight curves and trailing
min_obs_size
: minimum size of the point could in laser points. Can be used to filter out FPmax_obs_size
: maximum size of an object in meters. Can be used to filter out FPmax_viewing_distance
: the maximum distance the detection can see. Maximum allowed for the race is 10mboundaries_inflation
: artificially increases the boundaries for detection. Can help to filter out FP along the boundaries.
Did you build and sauce?
- Enable
noMemoryMode
- Increase
boundaries_inflation
- Increase
boundaries_inflation
- Consider inflating the boundaries with map editor
- change
ratio_to_glob_path
, 1 is raceline speed
- decrease
min_obs_size
- increase
max_viewing_distance
- decrease
max_obs_size
- increase
min_nb_meas
- increase
min_std
andmax_std
- incrase/decrease
vs_reset
- enable
debug_mode
and fix it OR disablepublish_static
This variables should not need to be touched during the race. Listed for completeness.
rate
: set to 40HzP_vs
: proportional gain for the s-velocityP_d
: proportional gain for bringing back the d-position to the centerP_vd
: proportional gain for the d-velocitymeasurment_var_s
: the variance of the measurment noise in the s directionmeasurment_var_d
: the variance of the measurment noise in the d directionmeasurment_var_vs
: the variance of the measurment noise in the s-velocitymeasurment_var_vd
: the variance of the measurment noise in the d-velocityprocess_var_vs
: the variance of the process velocity noise in the s directionprocess_var_vd
: the variance of the process velocity noise in the d directionmax_dist
: maximal distance for association of the obstaclesvar_pub
: obstacles with a bigger variance are not published
rate
: set to 40Hzlambda
: minimum reliable detection range in degreessigma
: standard deviation of the noise of the lidar ranges in metermin_2_points_dist
: minimum distance between two points