darkscyla / MATLAB-Carla-Interface

Interfacing Carla with MATLAB using Python and ROS
107 stars 36 forks source link

IMU #4

Open FortniteMyBoyfriend opened 1 year ago

FortniteMyBoyfriend commented 1 year ago

Hello, give advice on how to write IMU.m in which we could receive data from the accelerometer, gyroscope and compass. I tried data = np.frombuffer(_image.accelerometer , dtype="float")\n'); , but Matlab gives TypeError: a bytes-like object is required, not 'float'