HighwayEnv icon indicating copy to clipboard operation
HighwayEnv copied to clipboard

change my vehicle_class to BicycleVehicle

Open laihuitreg opened this issue 11 months ago • 1 comments

Hello author, I would like to use the vehicle's dynamic model, which means my vehicle_class is BicycleVehicle. I changed the actiontype to ContinuousAction and changed the dynamic parameter to True, but the following error occurred. How can I change the actiontype correctly so that my code can run correctly?

error

laihuitreg avatar Mar 20 '24 05:03 laihuitreg

Hi, sorry I can't seem to find any trace of the code that appears failing, namely self.new_action = safety_supervisor(action) and self.check_collision(vehicle, other, other.trajectories[t] both supposedly in abstract.py. I think this might be code that you added, which could be causing this issue?

eleurent avatar Mar 23 '24 14:03 eleurent