Hi Michael, : Sounds, excuse the pun, like the mic level is cranked too high. : Have you tried Mic.gainAdjust()?
just today we got a couple of advices to try to set this gain. But we dont know what is the default one, and where to set the new gain value, approximately. So we'll have to experiment...Maybe it will help.. : And what were the TestAcousticRanging errors, maybe there's something : simple to fix. errors are in the attach...we followed the README file and also set the VUTOS env variable but still it doesnt get it and reads from the wrong directories... : independent mobile receivers using ultrasonic rather than the micasb : buzzers (I think the position accuracy will be dependent on the yup, it would be perfect if we had ultrasonic motes at our disposal...but our colledge funds are quite limited... Hrvoje Mestric
compiling TestAcousticRangingC to a mica2 binary ncc -o build/mica2/main.exe -Os -board=micasb -target=mica2 -I%T/lib/DiagMsg -I%T/lib/AcousticRanging -I%T/lib/OrderCorrectADC -v -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -finline-limit=100000 -fnesc-cfile=build/mica2/app.c TestAcousticRangingC.nc -lm
nescc -DPLATFORM_MICA2 -DBOARD_MICASB -fnesc-include=tos -topdir=/opt/tinyos-1.x -o build/mica2/main.exe -Os -v -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -finline-limit=100000 -fnesc-cfile=build/mica2/app.c TestAcousticRangingC.nc -lm -gcc=avr-gcc -mmcu=atmega128 -fnesc-target=avr -fnesc-no-debug -mingw-gcc -I/opt/tinyos-1.x/tos/lib/DiagMsg -I/opt/tinyos-1.x/tos/lib/AcousticRanging -I/opt/tinyos-1.x/tos/lib/OrderCorrectADC -I/opt/tinyos-1.x/tos/sensorboards/micasb -I/opt/tinyos-1.x/tos/platform/mica2 -I/opt/tinyos-1.x/tos/platform/mica128 -I/opt/tinyos-1.x/tos/platform/mica -I/opt/tinyos-1.x/tos/platform/avrmote -I/opt/tinyos-1.x/tos/interfaces -I/opt/tinyos-1.x/tos/types -I/opt/tinyos-1.x/tos/system avr-gcc -specs=C:\tinyos\cygwin\usr\local\lib\ncc\tdspecs -DPLATFORM_MICA2 -DBOARD_MICASB -_fnesc-include=tos -obuild\mica2\main.exe -Os -v -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -_Wnesc-all -finline-limit=100000 -_fnesc-cfile=build/mica2/app.c TestAcousticRangingC.nc -lm -mmcu=atmega128 -_fnesc-target=avr -_fnesc-no-debug -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\DiagMsg -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\AcousticRanging -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\OrderCorrectADC -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\sensorboards\micasb -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica2 -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica128 -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\avrmote -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\types -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\system -DNESC=110 Reading specs from /usr/local/lib/gcc-lib/avr/3.3-tinyos/specs Reading specs from C:\tinyos\cygwin\usr\local\lib\ncc\tdspecs Configured with: ./configure --target=avr --disable-nls Thread model: single gcc version 3.3-tinyos perl -S nesc-compile -_fnesc-include=tos -_Wnesc-all -_fnesc-cfile=build/mica2/app.c -_fnesc-target=avr -_fnesc-no-debug -mmcu=atmega128 -DPLATFORM_MICA2 -DBOARD_MICASB -DDEF_TOS_AM_GROUP=0x7d -DNESC=110 -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\DiagMsg -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\AcousticRanging -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\OrderCorrectADC -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\sensorboards\micasb -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica2 -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica128 -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\avrmote -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\types -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\system -Os -Wall -Wshadow -v -finline-limit=100000 -o /cygdrive/c/DOCUME~1/Korisnik/LOCALS~1/Temp/ccsKLFCo.o TestAcousticRangingC.nc nesc1 -_fnesc-include=tos -_Wnesc-all -_fnesc-target=avr -_fnesc-no-debug -mmcu=atmega128 -DPLATFORM_MICA2 -DBOARD_MICASB -DDEF_TOS_AM_GROUP=0x7d -DNESC=110 -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\DiagMsg -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\AcousticRanging -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\OrderCorrectADC -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\sensorboards\micasb -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica2 -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica128 -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\avrmote -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\types -IC:\tinyos\cygwin\opt\tinyos-1.x\tos\system -Wall -Wshadow -v -finline-limit=100000 TestAcousticRangingC.nc -o build/mica2/app.c preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/tos.h preprocessing TestAcousticRangingC.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/Main.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/StdControl.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/RealMain.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/Pot.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/PotC.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/PotM.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/HPLPot.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica2/HPLPotC.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\avrmote/HPLInit.nc preprocessing TestAcousticRangingM.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/Timer.h TestAcousticRangingM.nc:35: interface AcousticRangingActuator not found C:/tinyos/cygwin/opt/tinyos-1.x/tos/platform/avrmote/HPLInit.nc:51: expected interface `AcousticRangingActuator', but got interface 'HPLInit' TestAcousticRangingM.nc:36: interface AcousticRangingSensor not found C:/tinyos/cygwin/opt/tinyos-1.x/tos/platform/avrmote/HPLInit.nc:51: expected interface `AcousticRangingSensor', but got interface 'HPLInit' preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/Timer.nc TestAcousticRangingM.nc:38: interface DiagMsg not found C:/tinyos/cygwin/opt/tinyos-1.x/tos/interfaces/Timer.nc:42: expected interface `DiagMsg', but got interface 'Timer' preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/Leds.nc TestAcousticRangingM.nc: In function `StdControl.start': TestAcousticRangingM.nc:72: interface has no command or event named `start2' TestAcousticRangingM.nc: In function `Timer.fired': TestAcousticRangingM.nc:90: interface has no command or event named `send' TestAcousticRangingM.nc: At top level: TestAcousticRangingM.nc:104: `sendDone' is not in interface `AcousticRangingActuator' TestAcousticRangingM.nc:111: `receive' is not in interface `AcousticRangingSensor' TestAcousticRangingM.nc:124: `receiveDone' is not in interface `AcousticRangingSensor' TestAcousticRangingM.nc: In function `AcousticRangingSensor.receiveDone': TestAcousticRangingM.nc:130: interface has no command or event named `record' TestAcousticRangingM.nc:132: interface has no command or event named `str' TestAcousticRangingM.nc:133: interface has no command or event named `uint16' TestAcousticRangingM.nc:134: interface has no command or event named `uint16' TestAcousticRangingM.nc:135: interface has no command or event named `int16' TestAcousticRangingM.nc:136: interface has no command or event named `send' preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/GenericComm.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/SendMsg.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\types/AM.h preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/ReceiveMsg.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/AMStandard.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/BareSendMsg.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/PowerManagement.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica2/RadioCRCPacket.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica2/CC1000RadioC.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica2/CC1000Control.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica2/CC1000RadioIntM.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\avrmote/crc.h preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/RadioCoordinator.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/Random.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/ADCControl.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/ADC.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/ADC.h preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\sensorboards\micasb/sensorboard.h preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica2/SpiByteFifo.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica2/CC1000ControlM.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica2/HPLCC1000.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica2/HPLCC1000M.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/RandomLFSR.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica2/ADCC.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/ADCM.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/HPLADC.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica2/HPLADCM.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica2/HPLSpiM.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/TimerC.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/TimerM.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/Clock.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica128/Clock.h preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/ClockC.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica/HPLClock.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/NoLeds.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica2/HPLPowerManagementM.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/LedsC.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/UARTFramedPacket.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/FramerM.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/TokenReceiveMsg.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/ByteComm.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/FramerAckM.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/UART.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\system/UARTM.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\interfaces/HPLUART.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica2/HPLUARTC.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\mica2/HPLUART0M.nc preprocessing C:\tinyos\cygwin\opt\tinyos-1.x\tos\platform\avrmote/InjectMsg.nc TestAcousticRangingC.nc: At top level: TestAcousticRangingC.nc:31: component DiagMsgC not found C:/tinyos/cygwin/opt/tinyos-1.x/tos/platform/avrmote/InjectMsg.nc:43: expected component `DiagMsgC', but got component 'InjectMsg' TestAcousticRangingC.nc:32: component OutsideRangingActuatorC not found C:/tinyos/cygwin/opt/tinyos-1.x/tos/platform/avrmote/InjectMsg.nc:43: expected component `OutsideRangingActuatorC', but got component 'InjectMsg' TestAcousticRangingC.nc:33: component OutsideRangingSensorC not found C:/tinyos/cygwin/opt/tinyos-1.x/tos/platform/avrmote/InjectMsg.nc:43: expected component `OutsideRangingSensorC', but got component 'InjectMsg' TestAcousticRangingC.nc:38: no match TestAcousticRangingC.nc:39: no match TestAcousticRangingC.nc:41: no match TestAcousticRangingC.nc:42: no match TestAcousticRangingC.nc:44: no match make: *** [build/mica2/main.exe] Error 1
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
