Skip to content

Commit

Permalink
Add ROSSerialization
Browse files Browse the repository at this point in the history
  • Loading branch information
axmmisaka committed Jul 21, 2023
1 parent d02927f commit 75823af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/CCpp/src/ROS/ROSSerialization.lf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ reactor Clock(offset: time = 0, period: time = 1 sec) {

timer t(0, period)
state count: int = 0
state serialized_msg: rclcpp::SerializedMessage = {= 0u =}
state serialized_msg: rclcpp::SerializedMessage = {= rclcpp::SerializedMessage(0u) =}

reaction(t) -> y {=
(self->count)++;
Expand Down

0 comments on commit 75823af

Please # to comment.