-
Notifications
You must be signed in to change notification settings - Fork 450
Closed
Labels
Description
Describe the bug
The odometry is fine when the vehicle moves foward/backwards, but is wrong when steering. My issue seems similar to this one #933
To Reproduce
This is my yaml file:
`controller_manager:
ros__parameters:
update_rate: 30
use_sim_time: true
ackermann_steering_controller:
type: ackermann_steering_controller/AckermannSteeringController
forks_controller:
type: position_controllers/JointGroupPositionController
joint_broad:
type: joint_state_broadcaster/JointStateBroadcaster
ackermann_steering_controller:
ros__parameters:
publish_rate: 50.0
rear_wheels_names: [left_wheel_joint, right_wheel_joint]
front_wheels_names: [left_steering_joint, right_steering_joint]
front_wheel_track: 0.990
rear_wheel_track: 1.042
wheelbase: 1.645
front_wheels_radius: 0.220
rear_wheels_radius: 0.285
front_steering: true
use_stamped_vel: false
max_steering_angle: 0.45
forks_controller:
ros__parameters:
joints:
- forks_joint`
Screenshots
Here is a video that shows what happens. The odometry seems fine when doing straight movements, but not when steering.
Screencast.from.20-12-23.14.48.27.webm
Is there a solution?