ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
adore::if_ROS::SIM_Factory Class Reference

#include <simfactory.h>

Inheritance diagram for adore::if_ROS::SIM_Factory:
Inheritance graph
Collaboration diagram for adore::if_ROS::SIM_Factory:
Collaboration graph

Public Member Functions

 SIM_Factory (ros::NodeHandle *n)
 
virtual TMotionCommandReadergetMotionCommandReader () override
 read a motion command More...
 
virtual TGearSelectionCommandReadergetGearSelectionCommandReader () override
 read a gear selection command More...
 
virtual TIndicatorCommandReadergetIndicatorCommandReader () override
 read an indicator command More...
 
virtual TVehicleMotionStateWritergetVehicleMotionStateWriter () override
 write updates on the true vehicle motion state More...
 
virtual TVehicleMotionStateWritergetOdometryEstimatedVehicleStateWriter () override
 write updates on the odometry estimated vehicle motion state More...
 
virtual TVehicleMotionStateWritergetLocalizationEstimatedVehicleStateWriter () override
 write updates on the localization estimated vehicle motion state More...
 
virtual TVehicleMotionStateReadergetVehicleMotionStateReader () override
 read updates on the true vehicle motion state More...
 
virtual TVehicleExtendedStateWritergetVehicleExtendedStateWriter () override
 write updates on the vehicle extended state (buttons, etc.) More...
 
virtual TSimulationTimeReadergetSimulationTimeReader () override
 read the simulation time More...
 
virtual TSimulationTimeWritergetSimulationTimeWriter () override
 write the simulation time More...
 
virtual TClockTimeWritergetClockTimeWriter () override
 write clock time More...
 
virtual TVehiclePoseResetFeedgetVehiclePoseResetFeed () override
 read simulation commands for vehicle position and orientation resetting More...
 
virtual TVehicleTwistResetFeedgetVehicleTwistResetFeed () override
 read simulation commands for vehicle speed resetting More...
 
virtual TVehiclePoseResetWritergetVehiclePoseResetWriter () override
 
virtual TVehicleTwistResetWritergetVehicleTwistResetWriter () override
 send simulation commands for vehicle speed resetting More...
 
virtual TSimulationIDResetFeedgetSimulationIDResetFeed () override
 send simulation commands for resetting simulation id and v2xstation id More...
 
virtual TV2XStationIDResetFeedgetV2XStationIDResetFeed () override
 read simulation commands for v2x station id resetting More...
 
virtual TVehicleDimensionsResetWritergetVehicleDimensionsResetWriter (std::string ns) override
 send simulation commands for resetting vehicle dimensions More...
 
virtual TVehicleDimensionsResetFeedgetVehicleDimensionsResetFeed () override
 receive simulation commands for resetting vehicle dimensions More...
 
virtual TParticipantSetWritergetParticipantSetWriter () override
 send simulated sensor data More...
 
virtual TParticipantWritergetParticipantWriter () override
 send ego state to simulation feed More...
 
virtual TParticipantFeedgetParticipantFeed ()
 get state updates from all vehicles More...
 
virtual adore::mad::AWriter< adore::env::SimTrafficLight > * getTrafficLightWriter () override
 send simulated traffic light states
More...
 
virtual adore::mad::AReader< adore::env::SimTrafficLightMap > * getTrafficLightReader () override
 receive simulated traffic light states More...
 
virtual adore::mad::AWriter< int64_t > * getTransformIDtoAdoreWriter ()
 send id of vehicle to transform More...
 

Private Attributes

ros::NodeHandle * n_
 

Additional Inherited Members

- Public Types inherited from adore::sim::AFactory
typedef adore::mad::AReader< adore::fun::MotionCommandTMotionCommandReader
 
typedef adore::mad::AReader< adore::fun::GearSelectionCommandTGearSelectionCommandReader
 
typedef adore::mad::AReader< adore::fun::IndicatorCommandTIndicatorCommandReader
 
typedef adore::mad::AReader< double > TSimulationTimeReader
 
typedef adore::mad::AWriter< double > TSimulationTimeWriter
 
typedef adore::mad::AWriter< adore::fun::VehicleMotionState9dTVehicleMotionStateWriter
 
typedef adore::mad::AReader< adore::fun::VehicleMotionState9dTVehicleMotionStateReader
 
typedef adore::mad::AWriter< adore::fun::VehicleExtendedStateTVehicleExtendedStateWriter
 
typedef adore::mad::AFeed< adore::sim::ResetVehiclePoseTVehiclePoseResetFeed
 
typedef adore::mad::AFeed< adore::sim::ResetVehicleTwistTVehicleTwistResetFeed
 
typedef adore::mad::AWriter< adore::sim::ResetVehiclePoseTVehiclePoseResetWriter
 
typedef adore::mad::AWriter< adore::sim::ResetVehicleTwistTVehicleTwistResetWriter
 
typedef adore::mad::AFeed< int64_t > TSimulationIDResetFeed
 
typedef adore::mad::AFeed< int64_t > TV2XStationIDResetFeed
 
typedef adore::mad::AWriter< adore::sim::ResetVehicleDimensionsTVehicleDimensionsResetWriter
 
typedef adore::mad::AFeed< adore::sim::ResetVehicleDimensionsTVehicleDimensionsResetFeed
 
typedef adore::mad::AWriter< adore::env::traffic::TParticipantSetTParticipantSetWriter
 
typedef adore::mad::AWriter< adore::env::traffic::ParticipantTParticipantWriter
 
typedef adore::mad::AFeed< adore::env::traffic::ParticipantTParticipantFeed
 
typedef adore::mad::AWriter< std::pair< uint32_t, uint32_t > > TClockTimeWriter
 
typedef adore::mad::AWriter< adore::env::SimTrafficLightTSimTrafficLightWriter
 
typedef adore::mad::AReader< adore::env::SimTrafficLightMapTSimTrafficLightReader
 
typedef adore::mad::AFeedWithCallback< std::string > TSimulationCoordinationFeed
 
typedef adore::mad::AWriter< std::string > TSimulationCoordinationWriter
 

Detailed Description

ROS implementation for data transmission of SIM data.

Constructor & Destructor Documentation

◆ SIM_Factory()

adore::if_ROS::SIM_Factory::SIM_Factory ( ros::NodeHandle *  n)
inline

Member Function Documentation

◆ getClockTimeWriter()

virtual TClockTimeWriter* adore::if_ROS::SIM_Factory::getClockTimeWriter ( )
inlineoverridevirtual

write clock time

Implements adore::sim::AFactory.

◆ getGearSelectionCommandReader()

virtual TGearSelectionCommandReader* adore::if_ROS::SIM_Factory::getGearSelectionCommandReader ( )
inlineoverridevirtual

read a gear selection command

Implements adore::sim::AFactory.

◆ getIndicatorCommandReader()

virtual TIndicatorCommandReader* adore::if_ROS::SIM_Factory::getIndicatorCommandReader ( )
inlineoverridevirtual

read an indicator command

Implements adore::sim::AFactory.

◆ getLocalizationEstimatedVehicleStateWriter()

virtual TVehicleMotionStateWriter* adore::if_ROS::SIM_Factory::getLocalizationEstimatedVehicleStateWriter ( )
inlineoverridevirtual

write updates on the localization estimated vehicle motion state

Implements adore::sim::AFactory.

◆ getMotionCommandReader()

virtual TMotionCommandReader* adore::if_ROS::SIM_Factory::getMotionCommandReader ( )
inlineoverridevirtual

read a motion command

Implements adore::sim::AFactory.

◆ getOdometryEstimatedVehicleStateWriter()

virtual TVehicleMotionStateWriter* adore::if_ROS::SIM_Factory::getOdometryEstimatedVehicleStateWriter ( )
inlineoverridevirtual

write updates on the odometry estimated vehicle motion state

Implements adore::sim::AFactory.

◆ getParticipantFeed()

virtual TParticipantFeed* adore::if_ROS::SIM_Factory::getParticipantFeed ( )
inlinevirtual

get state updates from all vehicles

Implements adore::sim::AFactory.

◆ getParticipantSetWriter()

virtual TParticipantSetWriter* adore::if_ROS::SIM_Factory::getParticipantSetWriter ( )
inlineoverridevirtual

send simulated sensor data

Implements adore::sim::AFactory.

◆ getParticipantWriter()

virtual TParticipantWriter* adore::if_ROS::SIM_Factory::getParticipantWriter ( )
inlineoverridevirtual

send ego state to simulation feed

Implements adore::sim::AFactory.

◆ getSimulationIDResetFeed()

virtual TSimulationIDResetFeed* adore::if_ROS::SIM_Factory::getSimulationIDResetFeed ( )
inlineoverridevirtual

send simulation commands for resetting simulation id and v2xstation id

Implements adore::sim::AFactory.

◆ getSimulationTimeReader()

virtual TSimulationTimeReader* adore::if_ROS::SIM_Factory::getSimulationTimeReader ( )
inlineoverridevirtual

read the simulation time

Implements adore::sim::AFactory.

◆ getSimulationTimeWriter()

virtual TSimulationTimeWriter* adore::if_ROS::SIM_Factory::getSimulationTimeWriter ( )
inlineoverridevirtual

write the simulation time

Implements adore::sim::AFactory.

Here is the caller graph for this function:

◆ getTrafficLightReader()

virtual adore::mad::AReader<adore::env::SimTrafficLightMap>* adore::if_ROS::SIM_Factory::getTrafficLightReader ( )
inlineoverridevirtual

receive simulated traffic light states

Implements adore::sim::AFactory.

◆ getTrafficLightWriter()

virtual adore::mad::AWriter<adore::env::SimTrafficLight>* adore::if_ROS::SIM_Factory::getTrafficLightWriter ( )
inlineoverridevirtual

send simulated traffic light states

Implements adore::sim::AFactory.

◆ getTransformIDtoAdoreWriter()

virtual adore::mad::AWriter<int64_t>* adore::if_ROS::SIM_Factory::getTransformIDtoAdoreWriter ( )
inlinevirtual

send id of vehicle to transform

Implements adore::sim::AFactory.

◆ getV2XStationIDResetFeed()

virtual TV2XStationIDResetFeed* adore::if_ROS::SIM_Factory::getV2XStationIDResetFeed ( )
inlineoverridevirtual

read simulation commands for v2x station id resetting

Implements adore::sim::AFactory.

◆ getVehicleDimensionsResetFeed()

virtual TVehicleDimensionsResetFeed* adore::if_ROS::SIM_Factory::getVehicleDimensionsResetFeed ( )
inlineoverridevirtual

receive simulation commands for resetting vehicle dimensions

Implements adore::sim::AFactory.

◆ getVehicleDimensionsResetWriter()

virtual TVehicleDimensionsResetWriter* adore::if_ROS::SIM_Factory::getVehicleDimensionsResetWriter ( std::string  ns)
inlineoverridevirtual

send simulation commands for resetting vehicle dimensions

Implements adore::sim::AFactory.

◆ getVehicleExtendedStateWriter()

virtual TVehicleExtendedStateWriter* adore::if_ROS::SIM_Factory::getVehicleExtendedStateWriter ( )
inlineoverridevirtual

write updates on the vehicle extended state (buttons, etc.)

Implements adore::sim::AFactory.

◆ getVehicleMotionStateReader()

virtual TVehicleMotionStateReader* adore::if_ROS::SIM_Factory::getVehicleMotionStateReader ( )
inlineoverridevirtual

read updates on the true vehicle motion state

Implements adore::sim::AFactory.

◆ getVehicleMotionStateWriter()

virtual TVehicleMotionStateWriter* adore::if_ROS::SIM_Factory::getVehicleMotionStateWriter ( )
inlineoverridevirtual

write updates on the true vehicle motion state

Implements adore::sim::AFactory.

◆ getVehiclePoseResetFeed()

virtual TVehiclePoseResetFeed* adore::if_ROS::SIM_Factory::getVehiclePoseResetFeed ( )
inlineoverridevirtual

read simulation commands for vehicle position and orientation resetting

Implements adore::sim::AFactory.

◆ getVehiclePoseResetWriter()

virtual TVehiclePoseResetWriter* adore::if_ROS::SIM_Factory::getVehiclePoseResetWriter ( )
inlineoverridevirtual

Implements adore::sim::AFactory.

◆ getVehicleTwistResetFeed()

virtual TVehicleTwistResetFeed* adore::if_ROS::SIM_Factory::getVehicleTwistResetFeed ( )
inlineoverridevirtual

read simulation commands for vehicle speed resetting

Implements adore::sim::AFactory.

◆ getVehicleTwistResetWriter()

virtual TVehicleTwistResetWriter* adore::if_ROS::SIM_Factory::getVehicleTwistResetWriter ( )
inlineoverridevirtual

send simulation commands for vehicle speed resetting

Implements adore::sim::AFactory.

Member Data Documentation

◆ n_

ros::NodeHandle* adore::if_ROS::SIM_Factory::n_
private

The documentation for this class was generated from the following file: