Adding new medium for range_and_bearing
Posted: Mon Nov 04, 2024 5:17 pm
				
				Hi!
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:
and in the experiments file:
sensors:
and in the media section:
I know you are probably really busy but this would truly be a life saver.
Thank you in advance,
Peleg
			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