Move tools/bazel.rc to prepare for bazel 0.17 (#1375)
* Move tools/bazel.rc to prepare for bazel 0.17 Bazel 0.17 will no longer import the legacy "tools/bazel.rc" config file. This change ensures compatibility with the new versions. For users on bazel 0.16 and earlier who have a ~/.bazelrc, this change will cause bazel to ignore their ~/.bazelrc and load this one instead. Hopefully this won't break anyone. (famous last words)master
parent
4d6120d2cb
commit
8d0457d1d8
|
@ -256,7 +256,8 @@ void OptimizationProblem2D::Solve(
|
||||||
}
|
}
|
||||||
// Add cost functions for landmarks.
|
// Add cost functions for landmarks.
|
||||||
AddLandmarkCostFunctions(landmark_nodes, freeze_landmarks, node_data_,
|
AddLandmarkCostFunctions(landmark_nodes, freeze_landmarks, node_data_,
|
||||||
&C_nodes, &C_landmarks, &problem, options_.huber_scale());
|
&C_nodes, &C_landmarks, &problem,
|
||||||
|
options_.huber_scale());
|
||||||
// Add penalties for violating odometry or changes between consecutive nodes
|
// Add penalties for violating odometry or changes between consecutive nodes
|
||||||
// if odometry is not available.
|
// if odometry is not available.
|
||||||
for (auto node_it = node_data_.begin(); node_it != node_data_.end();) {
|
for (auto node_it = node_data_.begin(); node_it != node_data_.end();) {
|
||||||
|
|
|
@ -352,7 +352,8 @@ void OptimizationProblem3D::Solve(
|
||||||
}
|
}
|
||||||
// Add cost functions for landmarks.
|
// Add cost functions for landmarks.
|
||||||
AddLandmarkCostFunctions(landmark_nodes, freeze_landmarks, node_data_,
|
AddLandmarkCostFunctions(landmark_nodes, freeze_landmarks, node_data_,
|
||||||
&C_nodes, &C_landmarks, &problem, options_.huber_scale());
|
&C_nodes, &C_landmarks, &problem,
|
||||||
|
options_.huber_scale());
|
||||||
// Add constraints based on IMU observations of angular velocities and
|
// Add constraints based on IMU observations of angular velocities and
|
||||||
// linear acceleration.
|
// linear acceleration.
|
||||||
if (!options_.fix_z_in_3d()) {
|
if (!options_.fix_z_in_3d()) {
|
||||||
|
|
Loading…
Reference in New Issue