Skip to content

Commit 2f55bc3

Browse files
committed
restore non-cartesian field test
1 parent feb6411 commit 2f55bc3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

opennav_coverage/test/test_server.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class ServerShim : public opennav_coverage::CoverageServer
4141
void configure(const rclcpp_lifecycle::State & state)
4242
{
4343
this->on_configure(state);
44-
cartesian_frame_ = true; // Test files in GPS
44+
cartesian_frame_ = false; // Test files in GPS
4545
}
4646
void activate(const rclcpp_lifecycle::State & state) {this->on_activate(state);}
4747
void deactivate(const rclcpp_lifecycle::State & state) {this->on_deactivate(state);}
@@ -98,7 +98,7 @@ TEST(ServerTest, testServerTransactions)
9898
auto goal_msg = opennav_coverage_msgs::action::ComputeCoveragePath::Goal();
9999
goal_msg.use_gml_file = true; // Use file
100100
goal_msg.gml_field =
101-
ament_index_cpp::get_package_share_directory("opennav_coverage") + "/cartesian_test_field.xml";
101+
ament_index_cpp::get_package_share_directory("opennav_coverage") + "/test_field.xml";
102102

103103
auto future_goal_handle = action_client->async_send_goal(goal_msg);
104104
EXPECT_EQ(

opennav_coverage/test/tester.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def main():
125125
goal.generate_path = True
126126

127127
goal.use_gml_file = True
128-
goal.gml_field = get_package_share_directory('opennav_coverage') + '/cartesian_test_field.xml'
128+
goal.gml_field = get_package_share_directory('opennav_coverage') + '/test_field.xml'
129129
goal.gml_field_id = 0
130130

131131
# Cartesian coordinates corresponding to a similar XML as test_field.xml

0 commit comments

Comments
 (0)