Add proto3 installation to jenkins Dockerfile. (#590)
[RFC=0000](https://github.com/googlecartographer/rfcs/blob/master/text/0000-proto3-transition.md)master
parent
5210e92533
commit
3e684b298b
|
@ -31,7 +31,8 @@ DEFINE_string(map_filename, "", "If non-empty, filename of a map to load.");
|
|||
DEFINE_bool(
|
||||
start_trajectory_with_default_topics, true,
|
||||
"Enable to immediately start the first trajectory with default topics.");
|
||||
DEFINE_string(save_map_filename, "",
|
||||
DEFINE_string(
|
||||
save_map_filename, "",
|
||||
"If non-empty, serialize state and write it to disk before shutting down.");
|
||||
|
||||
namespace cartographer_ros {
|
||||
|
|
|
@ -194,7 +194,8 @@ void Node::PublishOccupancyGrid(const std::string& frame_id,
|
|||
occupancy_grid.info.origin.orientation.y = 0.;
|
||||
occupancy_grid.info.origin.orientation.z = 0.;
|
||||
|
||||
const uint32_t* pixel_data = reinterpret_cast<uint32_t*>(cairo_image_surface_get_data(surface));
|
||||
const uint32_t* pixel_data =
|
||||
reinterpret_cast<uint32_t*>(cairo_image_surface_get_data(surface));
|
||||
occupancy_grid.data.reserve(width * height);
|
||||
for (int y = height - 1; y >= 0; --y) {
|
||||
for (int x = 0; x < width; ++x) {
|
||||
|
|
|
@ -37,6 +37,9 @@ COPY cartographer_rviz/package.xml catkin_ws/src/cartographer_ros/cartographer_r
|
|||
COPY scripts/install_debs.sh cartographer_ros/scripts/
|
||||
RUN cartographer_ros/scripts/install_debs.sh && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install proto3.
|
||||
RUN /catkin_ws/src/cartographer/scripts/install_proto3.sh
|
||||
|
||||
# Build, install, and test all packages individually to allow caching. The
|
||||
# ordering of these steps must match the topological package ordering as
|
||||
# determined by Catkin.
|
||||
|
|
Loading…
Reference in New Issue