The navigation stack supports obstacle avoidance from 3D point clouds out of the box. Here’s the tutorial:
It’s better to ask this kind of question over at https://answers.ros.org/. If you encounter problems while following the tutorial, create a question over there and copy a link here, I’ll try to answer.