Skip to content

Commit

Permalink
bugfix in odometry test (invalid period value)
Browse files Browse the repository at this point in the history
  • Loading branch information
randaz81 committed Jan 28, 2025
1 parent f275d58 commit a32551f
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ TEST_CASE("dev::odometry2d_nws_yarpTest", "[yarp::dev]")
{
Property nws_cfg;
nws_cfg.put("device", "odometry2D_nws_yarp");
nws_cfg.put("period", "0.010");
nws_cfg.put("name", "/laser");
nws_cfg.put("period", 0.010);
nws_cfg.put("name", "/odom");
REQUIRE(nws_driver.open(nws_cfg));
}

Expand All @@ -48,8 +48,8 @@ TEST_CASE("dev::odometry2d_nws_yarpTest", "[yarp::dev]")
{
Property pnws_cfg;
pnws_cfg.put("device", "odometry2D_nws_yarp");
pnws_cfg.put("period", "0.010");
pnws_cfg.put("name", "/laser");
pnws_cfg.put("period", 0.010);
pnws_cfg.put("name", "/odom");
REQUIRE(ddnws.open(pnws_cfg));

Property pdev_cfg;
Expand Down

0 comments on commit a32551f

Please sign in to comment.