void RobomonAtlantis::setSimulation(int state)
{
if(state) {
- robottype_publisher_hokuyo_scan_create(&orte, NULL, this);
+ robottype_publisher_sick_scan_create(&orte, NULL, this);
} else {
if (!simulationEnabled)
return;
- robottype_publisher_hokuyo_scan_destroy(&orte);
+ robottype_publisher_sick_scan_destroy(&orte);
}
simulationEnabled = state;
}
case QEVENT(QEV_MOTION_STATUS):
emit motionStatusReceivedSignal();
break;
- case QEVENT(QEV_HOKUYO_SCAN):
+ case QEVENT(QEV_SICK_SCAN):
hokuyoScan->newScan(&orte.sick_scan);
break;
case QEVENT(QEV_JAWS_CMD):
generic_rcv_cb, new OrteCallbackInfo(this, QEV_ESTIMATED_POSITION_INDEP_ODO));
robottype_subscriber_est_pos_best_create(&orte,
generic_rcv_cb, new OrteCallbackInfo(this, QEV_ESTIMATED_POSITION_BEST));
- robottype_subscriber_hokuyo_scan_create(&orte,
- generic_rcv_cb, new OrteCallbackInfo(this, QEV_HOKUYO_SCAN));
+ robottype_subscriber_sick_scan_create(&orte,
+ generic_rcv_cb, new OrteCallbackInfo(this, QEV_SICK_SCAN));
robottype_subscriber_jaws_cmd_create(&orte,
generic_rcv_cb, new OrteCallbackInfo(this, QEV_JAWS_CMD));
robottype_subscriber_fsm_main_create(&orte,