Hi all!
My team and I are working on a Capstone project and we’re trying to get an IMU sensor to work on a self-balancing two-wheeled robot all through Python, but we keep getting the following error:
Incompatible device of velocity tensor in function getVelocities: expected device 0, received device -1
We tried creating the sensor through the Python class and adding it to the World
’s scene
property, creating through kit commands, creating with or without initialization…
We’ve searched high and low for a solution (or even the origin of the issue), but to no avail. Weird thing is, the IMU sensor still works and gives back valid data, but the console is filled with those errors.
Any help would be greatly appreciated!