Exemple #1
0
void exec_loadParams()
{
 	cc_loadParams();
	ser_loadParams();
	cam_loadParams();
	rcs_loadParams();

	ptLoadParams();

	loadParams(); // local
}
Exemple #2
0
void exec_loadParams()
{
    cc_loadParams();
    ser_loadParams();
    cam_loadParams();
#ifndef LEGO
    rcs_loadParams();

    ptLoadParams();
    //chaseLoadParams();
#endif
    loadParams(); // local
}
Exemple #3
0
int cam_init()
{
	g_sccb = new CSccb(0x60);

	// flush sccb
	g_sccb->Read(0xA0);

	// start in mode 0
	cam_setRegs(g_baseRegs, sizeof(g_baseRegs));
	cam_setMode(0);
	
	g_chirpUsb->registerModule(g_module);
	
	g_getFrameM0 = g_chirpM0->getProc("getFrame", NULL);

	if (g_getFrameM0<0)
		return -1;

	cam_loadParams();

	return 0;
}