Skip to content

Commit

Permalink
feat(ego_entity_simulation): add flog for considering slope in ego en…
Browse files Browse the repository at this point in the history
…tity simulation

Signed-off-by: Kotaro Yoshimoto <[email protected]>
  • Loading branch information
HansRobo committed Jan 31, 2024
1 parent defed9e commit ada5f90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ class EgoEntitySimulation

traffic_simulator_msgs::msg::EntityStatus status_;

bool consider_road_slope_ = false;

public:
const std::shared_ptr<hdmap_utils::HdMapUtils> hdmap_utils_ptr_;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ EgoEntitySimulation::EgoEntitySimulation(
: autoware(std::make_unique<concealer::AutowareUniverse>()),
vehicle_model_type_(getVehicleModelType()),
vehicle_model_ptr_(makeSimulationModel(vehicle_model_type_, step_time, parameters)),
hdmap_utils_ptr_(hdmap_utils)
hdmap_utils_ptr_(hdmap_utils),
consider_road_slope_(getParameter<bool>("consider_road_slope", false))
{
}

Expand Down

0 comments on commit ada5f90

Please sign in to comment.