Skip to content

Commit

Permalink
change back to private, add is_holonomic function
Browse files Browse the repository at this point in the history
Signed-off-by: ddengster <ed.fan@osrfoundation.org>
  • Loading branch information
ddengster committed Aug 10, 2021
1 parent 50adac6 commit 49cb6d3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,9 @@ class SlotcarCommon

void publish_robot_state(const double time);

public:
bool is_holonomic();

private:
// Paramters needed for power dissipation and charging calculations
// Default values may be overriden using values from sdf file
struct PowerParams
Expand Down
5 changes: 5 additions & 0 deletions rmf_robot_sim_common/src/slotcar_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -908,6 +908,11 @@ void SlotcarCommon::publish_robot_state(const double time)
}
}

bool SlotcarCommon::is_holonomic()
{
return _is_holonomic;
}

void SlotcarCommon::publish_tf2(const rclcpp::Time& t)
{
geometry_msgs::msg::TransformStamped tf_stamped;
Expand Down

0 comments on commit 49cb6d3

Please sign in to comment.