Open MrKeith99 opened 1 month ago
With kachaka, rearward scan data cannot be acquired because the LiDAR is blocked by the docking unit.
Also, the number of scan points varies depending on the rotation speed of the motor.
@terakoji-pfr Thank you for your prompt replay.
With kachaka, rearward scan data cannot be acquired because the LiDAR is blocked by the docking unit.
We could imagine that it was because of the docking unit.
However, is it possible to know the actual detecting range of the LiDAR?
I believe is not angle_min: -3.1415927410125732
, angle_max: 3.1415927410125732
.
Also, the number of scan points varies depending on the rotation speed of the motor.
I see! We have tried with other LiDAR sensors, and it was the first time to observe this phenomenon. I will have a look how we can process the data so that we can obtain a constant number of points for processing.
@terakoji-pfr LaserScanのmsg仕様におけるangle_min、angle_maxについてはhttps://docs.ros2.org/latest/api/sensor_msgs/msg/LaserScan.htmlに情報があります。
もし、カチャカの2D LiDARが前方しか見ていないとしたら、現状のカチャカROS 2ブリッジで配信されるscanトピックで設定されているangle_min、angle_maxは360度見ていることになっているので、実状と即していないのではないかという質問だと思います。 また、https://github.com/pf-robotics/kachaka-api/issues/115#issue-2458915708で書かれているように
スキャンデータの変動:
- スキャンデータの ranges 配列の長さがスキャンごとに変わっています。
- 他のセンサー (TOFセンサーなど) のデータとマージされているからだと考えられます。
とあります。通常、angle_min、angle_max、角度分解能は固定なのでranges配列長は固定なことが多いのですが、カチャカROS 2ブリッジで配信されるscanトピックではangle_min、angle_maxが固定なのに対してranges配列長が変動するので、ユーザー側でscanを使った実装ができないという問題もありそうです。
一度ご確認頂きたいです。
[ENG] We are experiencing issues with obtaining a correct scan data from the LiDAR which is being published on the
/kachaka/lidar/scan
topic.Scan Data Header content:
angle_min: -3.1415927410125732
,angle_max: 3.1415927410125732
).Scan Data Length Variation:
ranges
array in the scan data is not constant across scans.It would be beneficial to access the raw LiDAR data and any additional sensor data (e.g., TOF) independently.
[日本語]
/kachaka/lidar/scan
トピックでパブリッシュされているLiDARのスキャンデータに不整合が見られます。スキャンデータヘッダの内容:
angle_min: -3.1415927410125732
,angle_max: 3.1415927410125732
)。スキャンデータの変動:
ranges
配列の長さがスキャンごとに変わっています。生のLiDARデータと他のセンサーデータ (TOFなど) に個別にアクセスできる方法があれば、ご教示ください。
Additional Information:
Here we share the information got with
ros2 topic echo /kachaka/lidar/scan
:Where
ranges
length over the scans seems to be similar to this: