I think we do not need to lock here, since we just need a value that does not change. We should initialize a planning_frame_ variable in the constructor of this class, and use it here. No need to lock in the constructor.