void function ( ) { debug . log ( Debug . FINE , "srini_string" + isInit ) ; board . init ( ) ; if ( ! isHalt ) { isInit = true ; initVoltageCheck ( ) ; StatusEvent loc0 = new StatusEvent ( this , Statuses . INIT ) ; fireEvent ( loc0 ) ; } }
initializes the gopigo and fires an event once the init is done . concode_field_sep Gopigo instance concode_elem_sep boolean isInit concode_elem_sep Debug debug concode_elem_sep Motion motion concode_elem_sep CopyOnWriteArrayList<GopigoListener> listeners concode_elem_sep Encoders encoders concode_elem_sep UltraSonicSensor ultraSonicSensor concode_elem_sep double minVoltage concode_elem_sep double criticalVoltage concode_elem_sep IRReceiverSensor irReceiverSensor concode_elem_sep Led ledLeft concode_elem_sep Motor motorRight concode_elem_sep Timer voltageTimer concode_elem_sep Motor motorLeft concode_elem_sep boolean isHalt concode_elem_sep Led ledRight concode_elem_sep Servo servo concode_elem_sep Board board concode_elem_sep int voltageTimerTime concode_field_sep Double getMinVoltage concode_elem_sep void setCriticalVoltage concode_elem_sep void fireEvent concode_elem_sep Boolean isHalt concode_elem_sep void setMinVoltage concode_elem_sep void removeListener concode_elem_sep Double getCriticalVoltage concode_elem_sep void initVoltageCheck concode_elem_sep void halt concode_elem_sep Boolean isOperative concode_elem_sep void reset concode_elem_sep void onHalt concode_elem_sep Gopigo getInstance concode_elem_sep void free concode_elem_sep void addListener