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.
Diff: pixy2.h
- Revision:
- 16:f84b0f970c3e
- Parent:
- 15:c6e090cff722
- Child:
- 17:4f901906d86c
--- a/pixy2.h Tue Mar 12 17:50:43 2019 +0000 +++ b/pixy2.h Tue Mar 12 18:02:48 2019 +0000 @@ -457,7 +457,7 @@ T_pixy2ErrorCode pixy2_getFPS (T_pixy2ReturnCode *framerate); /** - * Gets all detected blocks in the most recent frame. + * Gets all detected color blocks in the most recent frame. * The new data is then available in the blocks member variable. The returned blocks are sorted by area, with the largest blocks appearing first in the blocks array. * @note General description : https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:color_connected_components * @note Frame Documentation : https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:porting_guide @@ -472,10 +472,10 @@ T_pixy2ErrorCode pixy2_getBlocks (Byte sigmap, Byte maxBloc); /** - * This function gets the latest main features of Line tracking (including the Vector, any intersection that connects to the Vector, and barcodes). - * @note The main feature is the feature that is the most likely to be relevant for line traking. - * @note In case of multiple vector (for example 2 lines unconnected), the function will return only the vector of the line you are the most likely to follow. + * This function gets the latest main features of Line tracking. * The results are returned in the variables vectors, intersections, and barcodes, respectively. + * The main feature is the feature that is the most likely to be relevant for line traking. + * In case of multiple vector (for example 2 lines unconnected), the function will return only the vector of the line you are the most likely to follow. * @note General description : https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:line_tracking * @note Frame Documentation : https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:porting_guide * @note Function Documentation : https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:pixy2_full_api#plugin_include__wiki__v2__line_api @@ -488,7 +488,7 @@ T_pixy2ErrorCode pixy2_getMainFeature (Byte features); /** - * This function gets all the latest features of Line tracking (including the Vector, any intersection that connects to the Vector, and barcodes). + * This function gets all the latest features of Line tracking. * The results are returned in the variables vectors, intersections, and barcodes, respectively. * @note General description : https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:line_tracking * @note Frame Documentation : https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:porting_guide @@ -528,7 +528,7 @@ * @note Upon encountering an intersection, the line tracking algorithm will find the path in the intersection that matches the turn angle most closely. */ T_pixy2ErrorCode pixy2_setNexTurn (sWord angle); -T_pixy2ErrorCode pixy2_setDefaultTurn (Word angle); +T_pixy2ErrorCode pixy2_setDefaultTurn (sWord angle); T_pixy2ErrorCode pixy2_setVector (Byte vectorIndex); T_pixy2ErrorCode pixy2_ReverseVector (void); T_pixy2ErrorCode pixy2_getRGB (Word x, Word y, Byte saturate, T_pixy2Pixel *pixel);