[Positioner] Generated requests: time received=sent
For generated calibration requests, time_sent is now equals to time_received.
This commit is contained in:
parent
7da5196627
commit
57cdeeb360
|
@ -43,10 +43,6 @@ void Autocalibration::generate_reference_point()
|
||||||
const ReferencePoint
|
const ReferencePoint
|
||||||
¤t_rp = Stock::find_create_reference_point(point) ;
|
¤t_rp = Stock::find_create_reference_point(point) ;
|
||||||
|
|
||||||
/* Create the timestamp */
|
|
||||||
Timestamp time_sent ;
|
|
||||||
time_sent.now() ;
|
|
||||||
|
|
||||||
/* Prepare the virtual mobile */
|
/* Prepare the virtual mobile */
|
||||||
string vmob_mac(PosUtil::int_to_mac(nb_virtual_mobiles++)) ;
|
string vmob_mac(PosUtil::int_to_mac(nb_virtual_mobiles++)) ;
|
||||||
// The gain and trx power of the mobile will be the average of
|
// The gain and trx power of the mobile will be the average of
|
||||||
|
@ -65,7 +61,7 @@ void Autocalibration::generate_reference_point()
|
||||||
|
|
||||||
/* Create the calibration request */
|
/* Create the calibration request */
|
||||||
CalibrationRequest cr(OWL_REQUEST_GENERATED) ;
|
CalibrationRequest cr(OWL_REQUEST_GENERATED) ;
|
||||||
cr.set_time_sent(time_sent) ;
|
cr.set_time_sent(cr.get_time_received()) ;
|
||||||
cr.set_mobile(&mobile) ;
|
cr.set_mobile(&mobile) ;
|
||||||
cr.set_measurements(measurements) ;
|
cr.set_measurements(measurements) ;
|
||||||
cr.set_reference_point(¤t_rp) ;
|
cr.set_reference_point(¤t_rp) ;
|
||||||
|
|
Loading…
Reference in New Issue