[dev_arch_opt_3.0]
[Change] [ 1、删除地图中废弃的定位回掉方法 2、修改小地图监听位置更改的方式,设置为10HZ,更新地图解决跳变问题 ] Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
@@ -205,6 +205,19 @@ public class MogoLocation implements Cloneable {
|
||||
}
|
||||
}
|
||||
|
||||
public double getYawRate() {
|
||||
if (gnssInfo != null) {
|
||||
return gnssInfo.getYawRate();
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
public void setYawRate(double yawRate) {
|
||||
if (gnssInfo != null) {
|
||||
gnssInfo = gnssInfo.toBuilder().setYawRate(yawRate).build();
|
||||
}
|
||||
}
|
||||
|
||||
public String getAddress() {
|
||||
return address;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user