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

Commit

Permalink
User/evannawfal/22 add lookup table mappings to ros config (#26)
Browse files Browse the repository at this point in the history
* added LUT mappings

* __declare_ros_parameters updated

* fixed types for reynolds_number and angle_of_attack
  • Loading branch information
evannawfal authored Feb 3, 2024
1 parent 9164f21 commit 6cab0cb
Showing 1 changed file with 2 additions and 1 deletion.
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

0 comments on commit 6cab0cb

Please sign in to comment.