Merge branch 'heigth_sensor' of github.com:SemvdH/5g_drone_ROS2 into heigth_sensor
This commit is contained in:
@@ -13,7 +13,7 @@ class HeightSensorPublisher : public rclcpp::Node
|
|||||||
{
|
{
|
||||||
publisher_ = this->create_publisher<std_msgs::msg::String>("height_sensor", 10);
|
publisher_ = this->create_publisher<std_msgs::msg::String>("height_sensor", 10);
|
||||||
timer_ = this->create_wall_timer(
|
timer_ = this->create_wall_timer(
|
||||||
500ms, std::bind(&HeightSensorPublisher::timer_callback, this));
|
1ms, std::bind(&HeightSensorPublisher::timer_callback, this));
|
||||||
RCLCPP_INFO(this->get_logger(), "Constructor of height sensor publisher");
|
RCLCPP_INFO(this->get_logger(), "Constructor of height sensor publisher");
|
||||||
|
|
||||||
setup_serial_port();
|
setup_serial_port();
|
||||||
|
|||||||
Reference in New Issue
Block a user