Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

User/evannawfal/22 add lookup table mappings to ros config #26

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion controller/wingsail/wingsail_ctrl_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,13 @@ def __declare_ros_parameters(self):
node. This node will monitor for any changes to these parameters during execution and will
update itself accordingly.
"""
# TODO Update global YAML file with more configuration parameters and declare them here
self.get_logger().debug("Declaring ROS parameters...")
self.declare_parameters(
namespace="",
parameters=[
("pub_period_sec", rclpy.Parameter.Type.DOUBLE),
("reynolds_number", rclpy.Parameter.Type.DOUBLE_ARRAY),
("angle_of_attack", rclpy.Parameter.Type.DOUBLE_ARRAY),
],
)

Expand Down