Hi,
 
I'm very busy at the moment, so will give you a couple of pointers. If you are 
still stuck then email again next week and I'll be able to look in more detail.
 
*Start by using the TestAcousticRanging. This has the main functionality to 
carry out the ranging, without the added timing parts which may confuse matters.
*Ensure you have the full VU package directory. Look in vu\tos\lib for the 
Actuator and Sensor components. You can either use a makefile to point to this 
folder, or simply copy the whole package across to your application directory.
*The customised MICA2 timer is not compatible with the MICAz because of a 
registry clash with the radio. There is a MICAz high rate time already 
available which is reserved for use by the radio. However as this application 
never samples when the radio is active, you can actually is the same timer for 
both the radio and the high-rate sampling. In order to prevent the compiler 
complaining about redefinition of variables etc. you will need to make copies 
of the high-rate clock interface and components and rename some of the global 
variables.
*An alternative to this clock problem would be to write your own high-rate 
timer abstraction for the MICAz, you can look at the available registries and 
commands on the processor spec sheet (this is what I tried first, but my 
hacking wasn't good enough to actually get it to work).
 
 
The results I got had large offsets from the true distances, as well as 
intermittent outliers. These can be remedied with a bit of data analysis.
 
Hope this helps,
 
Mike

-----Original Message-----
From: Jorge Grande [mailto:[EMAIL PROTECTED]
Sent: 26 April 2007 10:42
To: Michael Collett
Subject: TinyOS


Dear Michael,

I am writing to you in relation with the messages you wrote at the TinyOS 
Mailing List a few months ago. 

I am working with MICAZ motes and MTS310CB sensorboards. I'm trying to test the 
Acoustic Ranging application implemented by Vanderbilt but I'm not able because 
I'm having too many problems with the compilation.  

I've been several days trying to compile it correctly but I don't know what to 
do, I think I'll finally become crazy.
I've made some changes to the files and added some paths but I still get error 
messages.

To be precise, I got these messages:


In file included from TestAcousticRangingC.nc:31:
In component `TestAcousticRangingM':
TestAcousticRangingM.nc:35: interface AcousticRangingActuator not found
TestAcousticRangingM.nc:36: interface AcousticRangingSensor not found
In file included from TestAcousticRangingC.nc:31:
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'
In file included from /opt/tinyos-1.x/tos/platform/micaz/TimerJiffyAsyncC.nc:11,
                 from /opt/tinyos-1.x/tos/lib/CC2420Radio/CC2420RadioC.nc:92,
                 from /opt/tinyos-1.x/tos/lib/CC2420Radio/RadioCRCPacket.nc:46,
                 from /opt/tinyos-1.x/tos/system/GenericComm.nc:69,
                 from TestAcousticRangingC.nc:31:
In component `TimerJiffyAsyncM':
/opt/tinyos-1.x/tos/platform/micaz/TimerJiffyAsyncM.nc:12: interface Clock2 not 
found
/opt/tinyos-1.x/tos/platform/micaz/TimerJiffyAsyncM.nc: In function 
`StdControl.stop':
/opt/tinyos-1.x/tos/platform/micaz/TimerJiffyAsyncM.nc:38: interface has no 
command or event named `intDisable'
/opt/tinyos-1.x/tos/platform/micaz/TimerJiffyAsyncM.nc: At top level:
/opt/tinyos-1.x/tos/platform/micaz/TimerJiffyAsyncM.nc:44: `fire' is not in 
interface `Timer'
/opt/tinyos-1.x/tos/platform/micaz/TimerJiffyAsyncM.nc: In function 
`Timer.fire':
/opt/tinyos-1.x/tos/platform/micaz/TimerJiffyAsyncM.nc:48: interface has no 
command or event named `intDisable'
/opt/tinyos-1.x/tos/platform/micaz/TimerJiffyAsyncM.nc:56: interface has no 
command or event named `setIntervalAndScale'
/opt/tinyos-1.x/tos/platform/micaz/TimerJiffyAsyncM.nc: In function 
`TimerJiffyAsync.setOneShot':
/opt/tinyos-1.x/tos/platform/micaz/TimerJiffyAsyncM.nc:68: interface has no 
command or event named `setIntervalAndScale'
/opt/tinyos-1.x/tos/platform/micaz/TimerJiffyAsyncM.nc:71: interface has no 
command or event named `setIntervalAndScale'
/opt/tinyos-1.x/tos/platform/micaz/TimerJiffyAsyncM.nc: In function 
`TimerJiffyAsync.stop':
/opt/tinyos-1.x/tos/platform/micaz/TimerJiffyAsyncM.nc:85: interface has no 
command or event named `intDisable'
In component `TimerJiffyAsyncC':
/opt/tinyos-1.x/tos/platform/micaz/TimerJiffyAsyncC.nc: At top level:
/opt/tinyos-1.x/tos/platform/micaz/TimerJiffyAsyncC.nc:15: no match
In component `TestAcousticRangingC':
TestAcousticRangingC.nc:32: component OutsideRangingActuatorC not found
TestAcousticRangingC.nc:33: component OutsideRangingSensorC not found
TestAcousticRangingC.nc:38: no match
TestAcousticRangingC.nc:39: no match
TestAcousticRangingC.nc:41: no match
TestAcousticRangingC.nc:42: no match
make: *** [exe0] Error 1


I would appreciate your help very much; indeed, I think the error has to be a 
"small mistake" but I'm not able to solve it!

Thank you in advance again, 

Kind regards,

Jorge




-------------------------------------------------------------------
This e-mail and any attachments may contain confidential and/or
privileged material; it is for the intended addressee(s) only.
If you are not a named addressee, you must not use, retain or
disclose such information.

NPL Management Ltd cannot guarantee that the e-mail or any
attachments are free from viruses.

NPL Management Ltd. Registered in England and Wales. No: 2937881
Registered Office: Serco House, 16 Bartley Wood Business Park,
                   Hook, Hampshire, United Kingdom  RG27 9UY
-------------------------------------------------------------------
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to