ANYbotics / elevation_mapping

Robot-centric elevation mapping for rough terrain navigation
BSD 3-Clause "New" or "Revised" License
1.25k stars 435 forks source link

Some Info needed for building elevation_mapping in ROS2 Humble. #256

Open babahadjsaid opened 4 months ago

babahadjsaid commented 4 months ago

Hello, So I'm trying to fix the bugs i'm getting when building this lib in ros2 humble, I'm not using your repo as you don't provide ROS2 implementation, but i'm following this one https://github.com/adyczech/elevation_mapping, but the reason i'm putting the issue here is that this lib is originally yours, so you would know better. So i had some issues concerning a couple of lines, some of them were easy and strainght forward, but some (the ones i will share here), were a bit tricky, in sense that they need some technical detail, and they are: in this line: https://github.com/adyczech/elevation_mapping/blob/b2481c22100d83956483dce7db7d62c459db0736/elevation_mapping/src/sensor_processors/SensorProcessorBase.cpp#L136 the Duration class was init with a value of 1.0, which doesn't meet any constractor looking to the constractors i found that the way to do so is by specifying the seconds and nanoseconds as integer, So my question is what is the value you meant by 1.0, is it 1 sec ?

whereas in this line: https://github.com/adyczech/elevation_mapping/blob/b2481c22100d83956483dce7db7d62c459db0736/elevation_mapping/src/input_sources/Input.cpp#L28 a some parameters were being declared, but the syntax needed a default value if the user didn't provide one, can you give me the list of default values that i can put there ? Thank you so much.