Skip to content

A few questions about the code in the repo vs the paper #1

@cpacker

Description

@cpacker

Hi, I'm interested in reproducing the experiments from the paper, but am running into a few issues:

  • FRS baseline
  • Blind summit
    • in the paper (eg fig 3), the scenario is described as an incline on Town 5, however, the script test_blind_summit appears to be on Town 3, and also a decline (instead of an incline)
    • if I uncomment the lines involving the truck obstacle (which I presume is the hidden agent in figure 3), I get the following error:
    Traceback (most recent call last):
    File "test_blind_summit.py", line 44, in <module>
      truck = Agent(client, truck_path, 295, 10)
    File "Safe_Occlusion_Aware_Planning-main/client/agent.py", line 20, in __init__
      self.actor = self.client.spawn_objects(filter, self.init_waypoint)
    File "Safe_Occlusion_Aware_Planning-main/client/client.py", line 194, in spawn_objects
      spawn_point = waypoint.transform
    AttributeError: 'NoneType' object has no attribute 'transform'
  • Intersection
    • If I uncomment the obstacle spawn/tick comments in test_intersection, I can see the hidden agent in figure 4, but it doesn't appear to move
  • Overtake
    Safe_Occlusion_Aware_Planning-main/risk_analysis/shadow_utils.py:785: 
      RuntimeWarning: divide by zero encountered in true_divide
      V_in_max = (delta_s - 0.5*self.a_max*delta_t**2)/delta_t

Let me know if you'd like me to test anything on my end in case there's user error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions