Example #1
0
void init_once()
{
	_shell_task_id = pthread_self();
	//printf("[init] shell id: %lu\n", (unsigned long)_shell_task_id);
	work_queues_init();
	hrt_work_queue_init();
	hrt_init();
	param_init();
}
Example #2
0
void init_once(void)
{
	_shell_task_id = pthread_self();
	//printf("[init] shell id: %lu\n", (unsigned long)_shell_task_id);
	work_queues_init();
	hrt_work_queue_init();
	hrt_init();

#ifdef CONFIG_SHMEM
	PX4_DEBUG("Syncing params to shared memory\n");
	init_params();
#endif
}
Example #3
0
void init_once(void)
{
	// Required for QuRT
	//_posix_init();

//	_shell_task_id = pthread_self();
//	PX4_INFO("Shell id is %lu", _shell_task_id);

	work_queues_init();
	hrt_work_queue_init();
	hrt_init();

	/* Shared memory param sync*/
	init_params();
}
Example #4
0
void init_once(void)
{
	// Required for QuRT
	//_posix_init();
        PX4_WARN( "Before calling work_queue_init" );

//	_shell_task_id = pthread_self();
//	PX4_INFO("Shell id is %lu", _shell_task_id);

	work_queues_init();
        PX4_WARN( "Before calling hrt_init" );
	hrt_work_queue_init();
	hrt_init();
        PX4_WARN( "after calling hrt_init" );
}
Example #5
0
void init_once(void)
{
	work_queues_init();
	hrt_work_queue_init();
	hrt_init();
}