forked from compAIR/libcreate
* Rename 'isIRDetect*' functions to 'isLightBumper*'
* Documentation / code cleanup * Add function 'driveRadius' * Add function 'isVirtualWall'
This commit is contained in:
parent
cdc6927e76
commit
75dd293bfd
5 changed files with 157 additions and 84 deletions
|
@ -24,13 +24,13 @@ namespace create {
|
|||
ADD_PACKET(ID_TEMP, 1, "temperature");
|
||||
ADD_PACKET(ID_CHARGE , 2, "battery_charge");
|
||||
ADD_PACKET(ID_CAPACITY, 2, "battery_capacity");
|
||||
ADD_PACKET(ID_VIRTUAL_WALL, 1, "virtual_wall");
|
||||
|
||||
if (model == CREATE_1) {
|
||||
ADD_PACKET(ID_DISTANCE, 2, "distance");
|
||||
ADD_PACKET(ID_ANGLE, 2, "angle");
|
||||
}
|
||||
else if (model == CREATE_2) {
|
||||
//ADD_PACKET(ID_VIRTUAL_WALL, 1, "virtual_wall");
|
||||
//ADD_PACKET(ID_OVERCURRENTS, 1, "overcurrents");
|
||||
ADD_PACKET(ID_DIRT_DETECT, 1, "dirt_detect");
|
||||
//ADD_PACKET(ID_UNUSED_1, 1, "unused 1");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue