You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why is initial_lane_direction for RailCar not a parameter? It's not a context variable
Drop the template param from AgentBase? (it's no longer a system), no - hypothetically useful for the templated AutomotiveSimulator class in some future
asserts in AddAgent should probably be just checks, err msg and return -1
exceptions by CheckNameUniqueness in AddAgent shouldn't be exceptions
Stretch
Agents that can load anytime -> get inserted between updates
Use SceneGraph instead of the aggregator
Parameters streaming/publishing
TrajectoryAgent
Dump AgentType/AgentData from TrajectoryAgent (should be handled separately?)
Rename to TrajectoryFollower (system, not an agent)
Unwind if(plugin_library_name != "trajectory-agent") when loadable_initial_states_ goes away
Python
replace robot_id with human readable names
Architecture Thoughts
Systems, Diagrams and then agents
NotDo
Agentcounter automagically from AgentPluginBase? No, necessary for uniquely id'ing a port to the aggregator. There may be other systems to be id'd, not just agents. Threading issues can also be a problem, better to have a single instance generating them.
The text was updated successfully, but these errors were encountered:
@basicNew renamed the title as this is mostly a private scratchpad - I'm keen to get very familiar with the agent development, here and back in drake so we can better support our needs across the different sims at TRI.
I'll farm out work if I want assistance on these things, but feel free to pick up on some if you don't have anything else to tackle or it's an itch for you as well.
Working notes.
Has-A Agents
Non-Dynamically Loaded Agents
src/systems/maliput_railcar_system.h/cc
ToDo
AutomotiveSimulator::InitializeSimpleCar
? ⇨ Still need AutomotiveSimulator<T>::InitializeSimpleCars()? #397DrakeLcmInterface
as an arg toLoadableAgent::Configure
⇨ Has-a drake agents #404initial_lane_direction
for RailCar not a parameter? It's not a context variableAgentBase
? (it's no longer a system), no - hypothetically useful for the templated AutomotiveSimulator class in some futureAutomotiveSimulator::get_lcm()
,lcm_
can disappear? Yes ⇨ [infra] drop the unused lcm interface #408loadable_agent_initial_states_
in the agents instead of the simulator ⇨ Python bound trajectory agent #417, Python bound agents Part II #425DefaultContext
methods instead of anInitialize
method?get_system
usage in AutomotiveSimulator::InitializeAgents`, we have n-system agentsAutomotiveSimulator::ConnectCarOutputsAndPriusVis
get_system
usage fromAgentBase
maliput::FindLane
convenience libraryStretch
TrajectoryAgent
loadable_initial_states_
goes awayPython
robot_id
with human readable namesArchitecture Thoughts
NotDo
AgentPluginBase
? No, necessary for uniquely id'ing a port to the aggregator. There may be other systems to be id'd, not just agents. Threading issues can also be a problem, better to have a single instance generating them.The text was updated successfully, but these errors were encountered: