@@ -17,8 +17,8 @@ def test_ped_creation(self): # Check if the different types of Peds can be creat
1717 state = spawnState (sim )
1818 state .position .z -= 5
1919 sim .add_agent ("Jaguar2015XE (Apollo 3.5)" , lgsvl .AgentType .EGO , state )
20- for name in ["PedestrianDefault" ]: #[" Bob", "Entrepreneur ", "Howard", "Johnny ", \
21- # "Pamela", "Presley", "Robin", "Stephen", "Zoe"]:
20+ for name in ["Bob" , "EntrepreneurFemale " , "Howard" , "Johny " , \
21+ "Pamela" , "Presley" , "Red " , "Robin" , "Stephen" , "Zoe" ]:
2222 agent = self .create_ped (sim , name , spawnState (sim ))
2323 cmEqual (self , agent .state .position , sim .get_spawn ()[0 ].position , name )
2424 self .assertEqual (agent .name , name )
@@ -31,7 +31,7 @@ def test_ped_random_walk(self): # Check if pedestrians can walk randomly
3131 state = spawnState (sim )
3232 spawnPoint = state .transform .position
3333
34- bob = self .create_ped (sim , "PedestrianDefault " , state )
34+ bob = self .create_ped (sim , "Bob " , state )
3535 bob .walk_randomly (True )
3636 sim .run (2 )
3737
@@ -68,7 +68,7 @@ def test_ped_circle_waypoints(self): # Check if pedestrians can follow waypoints
6868 waypoints .append (hit .point )
6969
7070 state .transform .position = waypoints [0 ]
71- zoe = self .create_ped (sim , "PedestrianDefault " , state )
71+ zoe = self .create_ped (sim , "Zoe " , state )
7272 def on_waypoint (agent ,index ):
7373 msg = "Waypoint " + str (index )
7474 mEqual (self , zoe .state .position , waypoints [index ], msg )
@@ -87,7 +87,7 @@ def test_waypoint_idle_time(self):
8787 sy = state .position .y
8888 sz = state .position .z + 10
8989 state .transform .position = lgsvl .Vector (sx , sy , sz )
90- zoe = self .create_ped (sim , "PedestrianDefault " , state )
90+ zoe = self .create_ped (sim , "Zoe " , state )
9191
9292 def on_waypoint (agent , index ):
9393 sim .stop ()
0 commit comments