Ticket #65 (assigned development)

Opened 3 years ago

Last modified 3 months ago

Add ID check for digital sensors in Open-functions

Reported by: atorf Owned by: staas
Priority: low Milestone: vNext
Component: Toolbox Function Keywords:
Cc:

Description

Inside the Open-functions for digital sensors, we could use COM_ReadI2C to retrieve the vendor and sensor name strings. We could then check whether this matches, (i.e. "LEGO" and "Sonar" for the NXT Ultrasonic, or "Hitechnc" and "ColorPD" for the Color V2 sensor), and if not we could issue a warning / error.

This detect and prevent sensor / port mismatches easily…

A simple example of checking sensor-identity is currently implemented inside CalibrateColor.

Attachments

Change History

Changed 3 months ago by staas

  • owner set to staas
  • status changed from new to assigned
  • milestone set to vNext

Scince e.g. the new NXT IRSeeker V2 uses slightly different adresses i will implement this for the next Version of the Toolbox.

Add/Change #65 (Add ID check for digital sensors in Open-functions)

Author



Change Properties
<Author field>
Action
as assigned
as The resolution will be set. Next status will be 'closed'
to The owner will change from staas. Next status will be 'assigned'
The owner will change from staas to anonymous. Next status will be 'accepted'
 
Note: See TracTickets for help on using tickets.