I'm trying to add a new medium for the rab sensor which will simulate partial occlusions.
I took the original rab medium as an example to start with.
I created the new medium and registred it as following:
Code: Select all
REGISTER_MEDIUM(CRABMediumOcclusions,
"range_and_bearing_occlusions",
"Peleg ",
"1.0",
"New RAB medium. TODO: add description",
"New Rab medium long. TODO: add description",
"Under development");
sensors:
Code: Select all
<range_and_bearing implementation="medium" medium="range_and_bearing_occlusions" show_rays="true" />
Code: Select all
<media>
<range_and_bearing id="range_and_bearing_occlusions" check_occlusions="false" />
</media>
Thank you in advance,
Peleg