Skip to content
Merged
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion pendulum_control/src/pendulum_logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ int main(int argc, char * argv[])
auto logger_node = rclcpp::Node::make_shared("pendulum_logger");

auto logging_callback =
[](const pendulum_msgs::msg::RttestResults::SharedPtr msg) {
[](const pendulum_msgs::msg::RttestResults::ConstSharedPtr msg) {
printf("Commanded motor angle: %f\n", msg->command.position);
printf("Actual motor angle: %f\n", msg->state.position);

Expand Down