iRobotEducation / irobot-edu-python-sdk

Python SDK for iRobot Edu robots (Root or Create 3)
BSD 3-Clause "New" or "Revised" License
16 stars 6 forks source link

Update ir prox examples #22

Closed shamlian closed 10 months ago

shamlian commented 1 year ago

Update IR prox examples to use get_packed_ir_proximity() and add a comment that this will only work with firmware G.3.0 and greater.

shamlian commented 1 year ago

Even better -- create a new get_ir_prox() command that intelligently returns either the 7- or 6-sensor response.

shamlian commented 1 year ago

Committed to pre_0.4.0

felipenmartins commented 1 year ago

A few hours ago the function get_ir_proximity() started to work fine in the Python Web Playground (returning all 7 sensor values). Thanks for the update!