Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
irobotSensorPoll.h File Reference
Methods to poll iRobot sensors. More...
Go to the source code of this file.
Functions | |
| int32_t | irobotSensorPollSensorGroup6 (const irobotUARTPort_t port, irobotSensorGroup6_t *const sensorGroup6) |
| Request sensor packet from iRobot and wait for response. | |
Detailed Description
Methods to poll iRobot sensors.
- Date:
- 2013-12-09 Copyright (C) 2013, Jeff C. Jensen, Edward A. Lee, and Sanjit A. Seshia. This software accompanies An Introductory Lab in Embedded and Cyber-Physical Systems and is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License. See http://leeseshia.org/lab.
Definition in file irobotSensorPoll.h.
Function Documentation
| int32_t irobotSensorPollSensorGroup6 | ( | const irobotUARTPort_t | port, |
| irobotSensorGroup6_t *const | sensorGroup6 | ||
| ) |
Request sensor packet from iRobot and wait for response.
- Warning:
- Polling requires both transmitting and receiving to the UART port, hence these functions are *not* thread safe with regard to other UART functions.
- Returns:
- error code
- Parameters:
-
[in] port iRobot UART port [in] sensorGroup6 Sensor group
Definition at line 6 of file irobotSensorPoll.cpp.
Generated on Wed Jul 13 2022 12:36:28 by
1.7.2