Closed ldt9 closed 1 year ago
@itsmekhalidb Can you take a look at this ASAP. We need to make sure your table that shows up in your UI is being placed in the dictionary because I wasn't seeing it when I printed out self.TrackCTRLSignal._train_info in your update function.
I think this might be an issue with the track controller update function. I added a print statement in mine in the update function and it looked like it added the authority and train ids. I still need to put commanded speed in but it's passing.
When I tried adding the print statement to the track controller update, it showed the curly braces once then said Can't Update and stopped printing.
@jmklamut @rrecker01 Can you guys check you aren't overwriting self._train_info in the ctc track controller API?
Line 128 of CTC.py update function
self.create_departures() does not add a new train ID with info to the dictionary, returns an empty dictionary upon departure