Open rodrigoqueiroz opened 4 years ago
Vehicle.state.yaw
compute_vehicle_state()
Vehicle.py
... self.state.x_vel = x_vector[1] ... self.state.y_vel = y_vector[1] ... heading = np.array([y_vector[1], x_vector[1]]) if self.reversing: heading *= -1 self.state.yaw = math.degrees(math.atan2(heading[1], heading[0]))
Issues
Vehicle.state.yaw
is computed is as follows (fromcompute_vehicle_state()
inVehicle.py
):