spear-sim / spear

SPEAR: A Simulator for Photorealistic Embodied AI Research
MIT License
243 stars 18 forks source link

improved utils in Std and Unreal classes, camera enabled when paused #264

Closed mikeroberts3000 closed 9 months ago

mikeroberts3000 commented 9 months ago

Thank you for reviewing this in detail and finding some great things to fix! 😄

mikeroberts3000 commented 9 months ago

Note that I previously thought it would not be practical for our entry points to take const references as input arguments. I thought this because we often want to construct std::span objects from input std::vector objects, and I didn't think it was practical to construct a std::span<T> object from a const std::vector<T>& reference. But I realized this is actually pretty clean and easy. So we can keep the convention that our entry points take const references as input, and we don't need to use the mutable keyword in our new work queue implementation.