Changeset 5 in flair-src for trunk/lib/FlairSensorActuator
- Timestamp:
- Apr 7, 2016, 1:33:11 PM (9 years ago)
- Location:
- trunk/lib/FlairSensorActuator/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSensorActuator/src/ParrotBldc_impl.cpp
r3 r5 216 216 led3 &= 0x03; 217 217 218 //printf("LEDS: %d %d %d %d \n", led0, led1, led2, led3);219 220 218 tx[0]=0x60 | ((led0&1)<<4) | ((led1&1)<<3) | ((led2&1)<<2) | ((led3&1) <<1); 221 219 tx[1]=((led0&2)<<3) | ((led1&2)<<2) | ((led2&2)<<1) | ((led3&2)<<0); -
trunk/lib/FlairSensorActuator/src/ParrotNavBoard.cpp
r3 r5 223 223 } 224 224 } 225 225 226 uint16_t ParrotNavBoard::Checksum(const uint8_t *data) const{ 226 227 uint16_t checksum = 0; -
trunk/lib/FlairSensorActuator/src/unexported/ParrotBldc_impl.h
r3 r5 16 16 /*********************************************************************/ 17 17 18 //see linux-ardrone2-2.6.32-9/drivers/parrot/char/gpio2_ioctl.h for ardrone2 specific gpios definitions 18 19 19 20 #ifndef PARROTBLDC_IMPL_H
Note:
See TracChangeset
for help on using the changeset viewer.