-
Notifications
You must be signed in to change notification settings - Fork 89
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
Error Using ArduPilotPlugin Iris URDF #23
Comments
Hi, URDF is only useful in ROS side, using URDF to visualize robot in RVIZ is another thing to setup in RViz. You don't need collisions, inertial parameters to visualize. |
Hi @SwiftGust. The master SITL for the normal SDF iris model in Gazebo work fine for me. But I am trying to make it work in RViz also. My goal: Add realsense depth camera URDF+ Gazebo Plugin to Iris in Gazebo AND visualise robot model + depth cloud in RViz. My attempt: With the iris drone in your repo, because it is defined in SDF, I cannot get a visualisation of the Robot Model or Depth Cloud in RViz. So I tried to convert the Iris SDF to an URDF then add the ardupilot plugin (and then depth camera plugin). The camera works but the ardupilot plugin does not. The URDF defined drone in gazebo connects to ardupilot but it does not take off. I'm not sure why it doesn't take off? But there is someone with a similar problem: khancyr#26 Is it possible to define the Iris + Ardupilot Gazebo Plugin in URDF instead of SDF? Regarding your questions:
I have sent you a message on gitter if you want to chat in more detail. Here is the file I'm using: |
Hi @ed-muthiah. To visualize your robot in RViz, you don't need to setup anything more in Gazebo side. P.S. I missed you already visualized your drone there but I will leave here for the others. On the other hand, if you want to use URDF in Gazebo. So I think you should check this converted SDF file is correct in regarding plugin definition as same as in this repository. |
I am currently trying to convert the Iris model.sdf to an urdf so that I can get RViz depth cloud visualizations when I add a depth camera. I was able to successfully convert the model.sdf to and urdf to get the correct collisions, visuals and inertias.
However I'm having trouble with the ardupilot plugin. I am able to establish a connection but sending takeoff commands does not work. The command is acknowledge but nothing happens in Gazebo.
This the current urdf:
model.txt
The text was updated successfully, but these errors were encountered: