mirror of
https://github.com/SHC-ASTRA/rover-ros2.git
synced 2026-02-11 09:20:40 +00:00
feat: (latency_tester) parameterize mcu_name
ik this is not related to arm stfu this is the everything branch now
This commit is contained in:
Submodule src/astra_descriptions updated: 2481b22969...3e6cf87393
@@ -26,7 +26,7 @@ class LatencyTester : public rclcpp::Node
|
||||
{
|
||||
public:
|
||||
LatencyTester()
|
||||
: Node("latency_tester"), count_(0), target_mcu_("core")
|
||||
: Node("latency_tester"), count_(0)
|
||||
{
|
||||
publisher_ = this->create_publisher<std_msgs::msg::String>("/anchor/relay", 10);
|
||||
timer_ = this->create_wall_timer(
|
||||
@@ -35,6 +35,8 @@ public:
|
||||
"/anchor/debug",
|
||||
10,
|
||||
std::bind(&LatencyTester::response_callback, this, std::placeholders::_1));
|
||||
|
||||
target_mcu_ = this->declare_parameter<std::string>("target_mcu", "core");
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user