Hello everyone,
I'm trying to replicate the pioneer 2dx example for a uni project using this time my own robot, which has four wheels.
Thus I put two different differential drive plugins in my robot.gazebo file:
true 100 front_sx_joint front_dx_joint 5 12 8 bot2489/cmd_vel odom odom base_link true true 0 5 na true 100 back_sx_joint back_dx_joint 5 12 8 bot2489/cmd_vel odom odom base_link true true 0 5 na
the joints I refer to are defined in the wheel.xacro file that is later imported and implemented in the main xacro of the robot
transmission_interface/SimpleTransmission EffortJointInterface EffortJointInterface 1
The problem is that apparently the plugin is not working: it doesn't publish on the /odom topic and it doesn't subscribe to the /bot2489/cmd_vel topic.
I use three different launch files, one for gazebo, one for the navigation stack (move base, gmapping etc...) and one for rviz, exactly like in the pioneer package (except for the fourth package that is a simple controller and for the moment I don't need it)
If may help, I'm using ROS Kinetic and the pioneer example works well.
Does anyone have any idea of what is going wrong?
edit: in the robot.gazebo file, there are also a camera and a laser plugin that are correctly published and visualized from RViz
↧