Hi Dave,<br><br>can you post more of the console outputs?  The warning you posted is to be expected; as there are no transmissions in the erratic setup in gazebo, it's using the gazebo_ros_diffdrive to control a differential_position2d controller.  I am only using mechanism control stack to publish fixed transforms as commented in the urdf.  Assuming things compiled without errors, the demo should bring up gazebo
 and rviz with an erratic in the wg world.<br><br>In your urdf, some of the visual elements and collision elements are inconsistent, was it done on purpose?  I've attached one with minor adjustments.  Also, with the current setup, without a laser sensor publisher you will not be able to drive the pioneer3dx model using 2dnav stack.<br>

<br>hope this helps,<br>John<br><br><br><div class="gmail_quote">On Fri, Jul 2, 2010 at 1:12 AM, David Feil-Seifer <span dir="ltr"><<a href="mailto:david.feilseifer@gmail.com" target="_blank">david.feilseifer@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
OK, I tried using the erratic model, with no luck. I got the following message:<br>
<br>
Node: /gazebo_1278058054452352000<br>
Time: 12.532000000<br>
Severity: Warn<br>
Location: ros/stacks/pr2_mechanism/pr2_mechanism_model/src/robot.cpp:RobotState::RobotState:170<br>
Published Topics: /rosout, /clock, /base_scan,<br>
/base_pose_ground_truth, /joint_states, /mechanism_statistics<br>
<br>
None of the joints in the robot desription matches up to a motor. The<br>
robot is uncontrollable.<br>
<br>
I tried adding a transmission, even though this was stated to be<br>
pr2-only on the wiki (see attached file), and that made the above<br>
error go away, but there was still no way to control the robot. While<br>
it was publishing a /base_pose_ground_truth topic, there was no<br>
subscription to anything other than /clock and /time. Is there some<br>
other way to defined motors in urdf for gazebo?<br>
<br>
A related question. The rear caster wheel is un-actuated. Is there any<br>
way for that joint to be published by default to a certain angle?<br>
Unless gazebo publishes an angle (which currently it will not without<br>
a transmission), the links will not show up in rviz. Obviously, this<br>
is not nearly as important, but a cosmetic issue.<br>
<br>
Thanks in advance,<br>
Dave<br>
<div><div></div><div><br>
On Tue, Jun 29, 2010 at 12:01 PM, John Hsu <<a href="mailto:johnhsu@willowgarage.com" target="_blank">johnhsu@willowgarage.com</a>> wrote:<br>
> There is an erratic model in gazebo with 2dnav stack hooked up.<br>
> You'll need to get the unreleased wg-ros-pkg repository for this to work,<br>
><br>
> svn co <a href="https://code.ros.org/svn/wg-ros-pkg/trunk" target="_blank">https://code.ros.org/svn/wg-ros-pkg/trunk</a> wg-ros-pkg-unreleased<br>
><br>
> The package is:<br>
><br>
> /u/johnhsu/projects/cturtle_wg_all/wg-ros-pkg-unreleased/stacks/wg_robots_gazebo/erratic_gazebo<br>
><br>
> This is an unreleased stack, but should be in working state:<br>
><br>
> rosmake erratic_gazebo<br>
> roslaunch erratic_gazebo erratic_2dnav_demo.launch<br>
><br>
> Let me know if you run into any issues.<br>
> John<br>
><br>
><br>
> On Tue, Jun 29, 2010 at 11:53 AM, David Feil-Seifer<br>
> <<a href="mailto:david.feilseifer@gmail.com" target="_blank">david.feilseifer@gmail.com</a>> wrote:<br>
>><br>
>> I am trying to make a urdf model for the pioneer 3dx robot that can be<br>
>> used in gazebo. The robot is a 2-wheeled diff drive robot with a singe<br>
>> rear caster.I have the robot visualizing correctly in rviz. However, I<br>
>> want this robot to be drivable. I am a little unclear from the wiki<br>
>> tutorials regarding gazebo and urdf on how to accomplish this? Is the<br>
>> GazeboRosDiffdrive node something that I could use for the pioneer as<br>
>> well as the erratic? What information do I need to have about the<br>
>> pioneer in order to make a urdf model work in gazebo?<br>
>> _______________________________________________<br>
>> ros-users mailing list<br>
>> <a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
>> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
><br>
><br>
> _______________________________________________<br>
> ros-users mailing list<br>
> <a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
><br>
><br>
</div></div><br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br>