hiwad-aziz / ros2_mpu9250_driver

A ROS2 driver for an MPU9250 sensor.
MIT License
15 stars 14 forks source link

Update LinuxI2cCommunicator.cpp #1

Closed leothehuman closed 2 years ago

leothehuman commented 2 years ago

On my machine, if I ran the original code, there was garbage after the name of the file and I always got the error message. This could have also been fixed by making a filename_ a char[11] instead of char[10], but this also cleans up the case when the length of the bus_number is more than one. (:

hiwad-aziz commented 2 years ago

Thanks for taking care of one of the TODO's 😃