Gazebo | Ignition | Community
Ask Your Question
0

Ros Control: VelocityJointInterface and PositionJointInterface in one yaml [closed]

asked 2016-09-17 04:56:15 -0500

Franzisdrak gravatar image

Hello,

i am currently trying to build a simple car model from scratch. So far my URDF comes along pretty good and my ROS Node also publishes data to the correct ros Node.

Lately i have tried to swich from all EffortJointInterface/PositionJointCtrlr EffortJointCtrlr to:

2x VelocityJointInterface/VelocityJointCtrlr for the "Engine" of my wheels and 2x PositionJointInterface/PositionJointCtrlr for the Steering of my wheels.

But now i am only able to ctrl the position of my front wheels which are meant for steering and don't get any Velocity to my Rear Axle for forward motion.

!All ctrlr are in a running state, which makes it even stranger!

Do i need to lood the Hardware Interfaces separetly? Does anybody have experiece when working with different Ctrlr and Interfaces on the same model? I possible i want to avoid implementing my own interfaces.

Help is very much appreciated! Franzisdrak

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Franzisdrak
close date 2016-09-19 09:51:34.530107

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-09-19 09:50:56 -0500

Franzisdrak gravatar image

Fixed the error. I forgot to change the Interfaces in my urdf.

edit flag offensive delete link more

Comments

What would be nice, is to see the actual code. Us new guys finding you had the same problem, and not seeing how you fixed doesn't do much.

Coach Allen gravatar imageCoach Allen ( 2020-01-28 15:58:53 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-09-17 04:56:15 -0500

Seen: 1,596 times

Last updated: Sep 19 '16