Git Product home page Git Product logo

realsense2_description's Introduction

Realsense2_Description

Brief Review

IMPORTANT NOTE: You need to add to the src folder the realsense_gazebo_plugin package that you could download from PAL Robotics or my repository

This is the original and modified folder for the Intel Realsense ROS repo. We only took the realsense2_description folder. The project here will let you know how to import and use realsense cameras in gazebo.

Below a few image examples of the outcome.

The project tree:

This applications function as follows.

  • First we will excecute the launch the file to view the d435 model
  • Next the rviz and gazebo applications will launch
  • When rviz and gazebo are launched you can view the D435 camera in gazebo and rviz
  • Then when everything is loaded you could add objects in gazebo and see these objects and differents topics in rviz
  • Play then with the paramenters as you wish
Using realsense2_description package
  • Create a ROS ros workspace and compile an empty package:
    cd ~
    mkdir -p catkin_ws/src
    cd catkin_ws
    catkin_make
  • Open the .bashrc with nano:
    nano ~/.bashrc
  • Insert this line at the end of the ~/.bashrc file for sourcing your workspace:
    source ~/catkin_ws/devel/setup.bash
  • Clone this repo in the ~/catkin_ws/src folder by typing:
    cd ~/catkin_ws/src
    git clone https://github.com/issaiass/realsense2_description
    git clone https://github.com/issaiass/realsense_gazebo_plugin
  • Go to the root folder ~/catkin_ws and make the folder running catkin_make to ensure the application compiles.
  • Finally launch the application by:
    roslaunch realsense2_description view_d435_model_rviz_gazebo.launch
  • You must see that roscore and all configurations loading succesfully.
  • When everything ends, you must see gazebo and rviz loaded and the intel realsense d435 camera with an empty world.
  • Next put an object in front of the camera and play in rviz with the paramenters
  • Remember that the frames are inside the camera so you will see in rviz initially some artifacts (camera chassis internals), you must zoom if you do not want to see it

Results

You could see the results on this youtube video.

The video only shows the application running, not the explanation of the code.

Video Explanation

I will try my best for making an explanatory video of the application as in this youtube video.

Issues
  • No issues
Future Work
  • This package is maintained by the intel company. Always prefer to see the intel realsense ros github repo for new implementations and models.
Contributiong

Your contributions are always welcome! Please feel free to fork and modify the content but remember to finally do a pull request.

๐Ÿ“ฑ Having Problems?

License

realsense2_description's People

Contributors

issaiass avatar kamalanathann avatar pedsancue avatar

Forkers

damianpm98

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.