Questions about the firmware

Here is the place for all your dsPic or autopilot questions.

Moderator: lukasz

Re: Questions about the firmware

Postby Tom » Thu Oct 07, 2010 7:29 pm

Hi TC,

The dt comes from:
Code: Select all
vTaskDelayUntil( &xLastExecutionTime, ( ( portTickType ) 20 / portTICK_RATE_MS ) );   //!> 50Hz


TICK_RATE = 1000 ticks per second

To enable datalogging without the GPS, you just need to comment out this line:
Code: Select all
        // wait for GPS (date & time!)
        while(sensor_data.gps.status != ACTIVE)
                vTaskDelayUntil( &xLastExecutionTime, ( ( portTickType ) 1000 / portTICK_RATE_MS ) ); 



Feel free to open up new topics for new questions :-)

Tom
User avatar
Tom
Site Admin
 
Posts: 1016
Joined: Fri Nov 13, 2009 6:27 pm
Location: Belgium

Previous

Return to Firmware

Who is online

Users browsing this forum: No registered users and 2 guests

cron