The rule of collision penalty
See original GitHub issueHi, yunlong, thank you for developing this amazing repository. There is one thing that need your double check, which is the rule of collision penalty: https://github.com/uzh-rpg/flightmare/blob/092ff357139b2e98fc92bcdee50f38f85b55246d/flightlib/src/envs/vision_env/vision_env.cpp#L296-L300
I have confirmed the result of relative_dist
would be either 1
or max_detection_range_
according to this coding.
I am not sure whether you code like this intentionally, or maybe following coding would be better?
Scalar relative_dist = (relative_pos_norm_[sort_idx] > 0) && (relative_pos_norm_[sort_idx] < max_detection_range_) ?\
relative_pos_norm_[sort_idx]: max_detection_range_;
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:7 (7 by maintainers)
Top Results From Across the Web
NCAA Rule 8-7 Collision Rule - Umpire Bible
Penalty: If the runner attempts to dislodge the ball or initiates an avoidable collision, the runner shall be declared out, even if the...
Read more >Formula 1 revises its rules over collision penalties for 2017
Formula 1 drivers will not receive penalties for collisions in 2017 unless it is absolutely clear who is at fault, the FIA has...
Read more >Penalties - SailGP Explained
Penalties can be awarded for breaking any of the following rules ... points (deducted from a boat's score in a particular race) in...
Read more >Collision Damage - Rule 2 - RRS | Post
In the scenario described above, involving serious damage (nearly sinking), L retired from the race and by that took the appropriate penalty under...
Read more >Helmet-to-helmet collision - Wikipedia
Intentionally causing a helmet-to-helmet collision is a penalty in most football leagues, including many high school leagues. Two helmets colliding in the 108th ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I didn’t tune the reward. I am not surprised that the result is not good.
Some general suggestions are
cd ./saved
andtensorboard --logdir=./
thanks a lot @tongtybj