-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simulated d435 model does not work #2422
Comments
Hi @PhilipAmadasun May I first ask whether the /scan topic works if you perform roslaunch with the RealSense ROS wrapper's rs_d435_camera_with_model launch file if you are not using that launch file already? For example:
|
@MartyG-RealSense When I just run what you suggested on it's own, rviz opens up and I see the model of the camera but on the terminal:
|
Thanks very much @PhilipAmadasun four your patience. After researching your issue, I concluded that the best place to start would be to try to resolve the No RealSense devices were found! warnings at the bottom of your log. Please first try adding initial_reset:=true to your roslaunch instruction or setting initial_reset to true instead of false in your launch file. This will reset the camera hardware at launch. |
@MartyG-RealSense I added initial_reset:=true and still get the same problem. I see the model on rviz but no realsense devices found. Just a reminder I want to get the simulated camera to work. |
Are you using a Gazebo plugin for D435 like the one at https://github.com/pal-robotics/realsense_gazebo_plugin The subject of RealSense Gazebo plugins is discussed further at #1170 |
@MartyG-RealSense No I have not, if I clone this to my workspace or something the camera starts working? |
I have not tried a RealSense Gazebo plugin myself, so I do not have advice about what the outcome of using one may be. |
so then the if the camera can work without that package what could be the
other possible problems?
…On Sun, Jul 24, 2022 at 3:35 PM MartyG-RealSense ***@***.***> wrote:
I have not tried a RealSense Gazebo plugin myself, so I do not have advice
about what the outcome of using one may be.
—
Reply to this email directly, view it on GitHub
<#2422 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AND3KDUUELQFQWFWXGE6MDDVVXAJNANCNFSM54NK2NSQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thanks very much for your patience. I conducted extensive further research but the number of different elements involved in this particular case (RealSense, Gazebo, gmapping, turtlebot2 and no data on the /scan topic) means that there are no references that match up closely to your problem. Some references recommended that if a simulated camera was being used with Gazebo and /scan had no data then try resetting Gazebo, as Gazebo might not provide data for the /scan topic on the first attempt. An example of this advice is at: |
Hi @PhilipAmadasun Do you require further assistance with this case, please? Thanks! |
I need to try out some of your advice this monday and get back to you.
…On Sat, Jul 30, 2022 at 11:26 PM MartyG-RealSense ***@***.***> wrote:
Hi @PhilipAmadasun <https://github.com/PhilipAmadasun> Do you require
further assistance with this case, please? Thanks!
—
Reply to this email directly, view it on GitHub
<#2422 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AND3KDXH7OIS4YBBSUYBAXLVWYL7XANCNFSM54NK2NSQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@MartyG-RealSense I installed the gazebo_realsense_plugin thing in my realsense_ws workspace. I don't know how exactly to use it. How will this help my simulated d435? |
The plugin has a pal-robotics GitHub support forum like this one. https://github.com/pal-robotics/realsense_gazebo_plugin/issues/ This case in particular from that forum may be helpful: pal-robotics/realsense_gazebo_plugin#7 |
Has there been any progress on your Gazebo-related issue please? |
@MartyG-RealSense I follow the instructions in the forum and I'm sorta stuck on the last step of what urdf file to change. I cam accross this file "turtlebot_gazebo.urdf.xacro":
Should I change the plugin here, which seems to be a controller for a kinect camera, would that change anything? |
The ROS wrapper provides a set of urdf.xacro files for RealSense cameras at the link below. https://github.com/IntelRealSense/realsense-ros/tree/development/realsense2_description/urdf The file for the D435 camera model is _d435.urdf.xacro I do not know if changing the controller from the Kinect one makes a difference. You could try changing the urdf.xacro file first and see what difference it makes. We mentioned plugins earlier in this discussion at #2422 (comment) |
Hi @PhilipAmadasun Was the comment above helpful to you, please? Thanks! |
Hi @PhilipAmadasun Do you require further assistance with this case, please? Thanks! |
Case closed due to no further comments received. |
@MartyG-RealSense Sorry for late respnse, I still have issues with the simulated gazebo, I realize that my rostopic list doesnt even show any camera topics. So I'm guessing I need to use that realsense gazebo plugin package. I built it in a workspace but have no clue how to use it.The repo does not give any instructions on how. would you know? |
A user of the RealSense Gazebo plugin created their own instructions at their forked GitHub version of the plugin. https://github.com/AzulRadio/realsense_gazebo_plugin These were based on instructions at the pal-robotics support forum at pal-robotics/realsense_gazebo_plugin#7 |
I have installed realsense2_description and wish to use it for my simulated turtlebor2. I can see the d435 camera model connected to my turtelbot2in gazebo but the /scan topic does not receive any data so gmapping doesnt work. Is there some parameter in some file somewhere that I'm supposed to change?
The text was updated successfully, but these errors were encountered: