Is there a way to programmatically confirm that the HT sensor mux is responding to interrogations? More specifically, can the program tell whether the SMUX has been correctly powered up by the drive team?

My tests with an SMUX and HTGYRO combination appears to give large negative numbers (-621) when the SMUX is powered off or disconnected, versus more normal gyro values of -15 to -22 when it is functional, so I'm hoping it would be safe to assume that if the first read of the gyro at power up but before calibration returns more than 50 (either + or -) then it is probably not a good value and the autonomous program can sound an alarm for them.

On a related question, is there a way to interrogate the voltage of the SMUX 9VDC battery?

In HTSMUX-driver.h there is a function called HTSMUXreadPowerStatus(). It can only tell you if the battery is still OK, not what level it is at. I have some pretty detailed documentation about the SMUX's functionality and I can assure you that there is no mention of retrieving the actual power level.

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum