diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 45acf90fed839847508a7a4dbd6edc4e35c6d59e..742df8ab7fade6b7e9a07d1cd92e90364397fa9e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -173,12 +173,12 @@ stages: .clone_wolfrosnode_template: &clone_wolfrosnode_definition - roscd - cd ../src - - git -b $WOLF_ROS_NODE_BRANCH clone ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_ros/wolf_ros_node.git + - git clone -b $WOLF_ROS_NODE_BRANCH ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_ros/wolf_ros_node.git .build_and_test_template: &build_and_test_definition - roscd - cd ../src - - git clone -b $CI_COMMIT_BRANCHssh://git@gitlab.iri.upc.edu:2202/${CI_PROJECT_PATH}.git + - git clone -b $CI_COMMIT_BRANCH ssh://git@gitlab.iri.upc.edu:2202/${CI_PROJECT_PATH}.git - cd .. - catkin_make diff --git a/src/subscriber_laser2d.cpp b/src/subscriber_laser2d.cpp index 6bf2130194cc3c25681cf87bf9a38a317cb2ea97..976b54f447214293b98a6129754c5eb07402cdfb 100644 --- a/src/subscriber_laser2d.cpp +++ b/src/subscriber_laser2d.cpp @@ -34,7 +34,7 @@ SubscriberLaser2d::SubscriberLaser2d(const std::string& _unique_name, sensor_laser_ = std::dynamic_pointer_cast<SensorLaser2d>(sensor_ptr_); assert(sensor_laser_ != nullptr && "SubscriberLaser2d: sensor provided is not of type SensorLaser2d"); - laser_params_from_msg_ = not _server.getParam<bool>(prefix_ + "/load_params_from_msg"); + laser_params_from_msg_ = _server.getParam<bool>(prefix_ + "/load_params_from_msg"); upside_down_ = getParamWithDefault<bool>(_server, prefix_ + "/upside_down", false); }