Skip to content

Commit

Permalink
add comment of vehicle state
Browse files Browse the repository at this point in the history
  • Loading branch information
chengyuan0124 committed Sep 25, 2024
1 parent f916410 commit afabf7c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions carma_messenger_vehicle_plugin/src/msger_veh_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ def set_veh_state(self, veh_id, state):
Parameters:
- veh_id: The ID of the vehicle.
- state: The new state to set for the vehicle.
* 0: vehicle not created
* 1: vehicle is created and is driving in the scene
* 2: vehicle is created but finish the route and destroyed
type: int
"""
if veh_id in self._veh_state_dict:
Expand Down

0 comments on commit afabf7c

Please sign in to comment.