An implementation of a distributed protocol for cooperative sensing and sending operations of Unmanned Aerial Vehicles (UAVs). It is built on top of TensorFlow Agents and uses reinforcement learning techniques (e.g. Deep Q-Learning, Actor-Critic) to compute ideal trajectories.
152 item.setFlags(item.flags() ^ (
153 Qt.ItemIsEditable | Qt.ItemIsSelectable))
154 value.setFlags(value.flags() ^ (
155 Qt.ItemIsEditable | Qt.ItemIsSelectable))
I want to know what these lines of code mean,becauseI got this error running simulation.py.
" TypeError: unsupported operand type(s) for ^: 'ItemFlags' and 'ItemFlags' "
But it worked fine when I commented out the four lines above.
First of all, thank you very much for allowing me to learn the open source code. I hope you can reply me and help me solve my confusion.