haopengxiang
bdedf648c5
uorb/topics: update delicated match of listener topics
...
bug: if user input obr_topic is sensor_gps_sate(wrong topic, which does not exist), the using of `strncmp` will assign idx=8 (as sesnor_gps) in the first.
However, there is no match in the `g_sensor_list`, hence idx=8 will give out value of `sensor_gps` as output(wrong).
Change: This update aims to match the whole value of sensor name in `g_sensor_list`, while keeping `sensor_name+number` match in this condition.
Signed-off-by: haopengxiang <haopengxiang@xiaomi.com>
2023-08-10 02:01:09 +08:00
..
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2023-02-02 22:49:22 +08:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2023-08-10 02:01:09 +08:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2023-02-02 22:49:22 +08:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2023-08-10 02:01:09 +08:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00
2022-07-23 16:57:58 -03:00