Skip to content
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

Errors showing the robot in gazebo #1

Open
End-Effector opened this issue Feb 27, 2015 · 2 comments
Open

Errors showing the robot in gazebo #1

End-Effector opened this issue Feb 27, 2015 · 2 comments

Comments

@End-Effector
Copy link

Thank you so much for this package!

I'm trying your package and when I roslaunch the gazebo.launch I get several errors. The robot still loads but some pieces are missing. I'm using last version of ubuntu and ros-indigo with gazebo_ros.

List of errors & warnings:

[ERROR] [1425048528.112989998, 0.466000000]: No valid hardware interface element found in joint 'base_left_wheel_joint'.
[ERROR] [1425048528.113168791, 0.466000000]: Failed to load joints for transmission 'base_link_left_wheel_trans'.
[ERROR] [1425048528.113212861, 0.466000000]: No valid hardware interface element found in joint 'base_right_wheel_joint'.
[ERROR] [1425048528.113248201, 0.466000000]: Failed to load joints for transmission 'base_link_right_wheel_trans'.
[ INFO] [1425048528.351695911, 0.466000000]: Loaded gazebo_ros_control.
[ INFO] [1425048528.473662676, 0.466000000]: Starting plugin DiffDrive(ns = //)!
[ WARN] [1425048528.473773444, 0.466000000]: DiffDrive(ns = //): missing default is na
[ INFO] [1425048528.476052292, 0.466000000]: DiffDrive(ns = //): <tf_prefix> =
[ WARN] [1425048528.476219562, 0.466000000]: DiffDrive(ns = //): missing default is false
[ WARN] [1425048528.476261257, 0.466000000]: DiffDrive(ns = //): missing default is false
[ WARN] [1425048528.476351003, 0.466000000]: DiffDrive(ns = //): missing default is 0
[ WARN] [1425048528.476399543, 0.466000000]: DiffDrive(ns = //): missing default is 5
[ WARN] [1425048528.476523022, 0.466000000]: DiffDrive(ns = //): missing default is 1
[ WARN] [1425048528.476661168, 0.466000000]: GazeboRosDiffDrive Plugin (ns = ) missing , defaults to 1

@End-Effector
Copy link
Author

I investigated and I fixed the ERRORS.

In file pioneer3dx_wheel.xacro line 108 change to this:

  <joint name="base_${suffix}_wheel_joint">
  <hardwareInterface>EffortJointInterface</hardwareInterface>
  </joint>

because of this:
http://answers.ros.org/question/186681/no-valid-hardware-interface-element-found-in-joint/

Parts of the robot are still not showing up. Like the yellow wheels caps...

@RafBerkvens
Copy link
Owner

Thanks for suggesting the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants