bluerobotics / bluerobotics/ping-python

Ping1D set_range method is broken

Đang mở
#157 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
60
Fork
39
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hi!
I am getting the following error when using the `set_range` method for Ping1d:

```
AttributeError: 'Ping1D' object has no attribute '_scan_start'
```
I am using the latest deployment branch

Looks like the issue is with this line:
https://github.com/bluerobotics/ping-python/blob/af89ebde4fb7e48a7b9d0d416c97e1820eebae4b/brping/ping1d.py#L498

I am calling the set_range method before capturing any data, which seems to break it

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.