Open chaliburton opened 4 years ago
@chaliburton don't quite understand the logic and what we need to do here, but I think it should be doable with the infrastructure I setup for parameters configuration. I think you just want to check whether we're in simulator or Carla? Do you think you can implement this yourself? What I did for the twist controller https://github.com/chaliburton/CarND-Capstone/commit/babeca1eaaa7d54ee554142971f4fff587703f16 can be used as an example. You just need to use ParamsConfig.isSite():
to check if you're running on Carla or simulator.
lowered frequency for now to allow images every 20 hz
Line 197: if sample_time_image >= 0.25: # <-- set this to frequency of ROS_CameraPublishHz