ROBOTIS-GIT / OpenCR

Software for ROS Embedded board (a.k.a. OpenCR). OpenCR means Open-source Control Module for ROS.
Apache License 2.0
383 stars 238 forks source link

Fix wrong size of velocity arrays #332

Open ruddyscent opened 10 months ago

ruddyscent commented 10 months ago

Though MortorLocation::MOTOR_NUM_MAX and VelocityType::TYPE_NUM_MAX are the same for TurtleBot, the length of the speed-related array should be VelocityType::TYPE_NUM_MAX given the semantics of the variable.