This PR introduces a new feature enabling realistic rotation of vehicle wheels in Godot RVIZ2. The enhancement is designed to improve the visual representation of vehicle movement.
Key Features:
Dynamic Wheel Rotation: Wheels rotate based on the vehicle's current speed, with smooth transitions that reflect real-world behavior during acceleration and deceleration.
Vehicle Kinematics Integration: Wheel rotation logic is integrated with the existing VelocityReport's get_velocity() method, ensuring wheel movements are synchronized with the vehicle's speed.
Implementation Details:
Rotation logic added to the _process method in the vehicle's script, utilizing VelocityReport to retrieve the vehicle's current velocity.
Rotation amount for each wheel is calculated based on vehicle speed and applied to WheelBackR, WheelBackL, WheelFrontR, and WheelFrontL nodes.
Impact:
This enhancement significantly improves the user experience by adding a more realistic and immersive element to vehicle handling in Godot RVIZ2.
Description:
This PR introduces a new feature enabling realistic rotation of vehicle wheels in Godot RVIZ2. The enhancement is designed to improve the visual representation of vehicle movement.
Key Features:
VelocityReport
'sget_velocity()
method, ensuring wheel movements are synchronized with the vehicle's speed.Implementation Details:
_process
method in the vehicle's script, utilizingVelocityReport
to retrieve the vehicle's current velocity.WheelBackR
,WheelBackL
,WheelFrontR
, andWheelFrontL
nodes.Impact:
This enhancement significantly improves the user experience by adding a more realistic and immersive element to vehicle handling in Godot RVIZ2.