Skip to content
Snippets Groups Projects
Commit 0d5feaa0 authored by Irene Garcia Camacho's avatar Irene Garcia Camacho
Browse files

Updated some ROS_INFO's in the smart charger client.

parent aefeb8b8
No related branches found
No related tags found
1 merge request!4Filtered localization
......@@ -91,17 +91,19 @@ void SmartChargerClientAlgNode::smart_charger_data_callback(const humanoid_commo
{
ROS_INFO("Battery connected");
// if(msg->avg_time_empty < low_battery_limit)
ROS_INFO("Avg time to empty:");
ROS_INFO("Avg time to empty: %f", msg->avg_time_empty);
ROS_INFO("Avg time to full: %f", msg->avg_time_full);
}
if(msg->batt_status=="Connected and charging")
{
ROS_INFO("Battery connected and charging");
// if(charger_data.avg_time_full<high_battery_limit)
ROS_INFO("Avg time to full:");
ROS_INFO("Avg time to empty: %f", msg->avg_time_empty);
ROS_INFO("Avg time to full: %f", msg->avg_time_full);
}
if(msg->batt_status=="Unknown")
{
ROS_INFO("Battery status unkown");
ROS_INFO("Battery status unknown");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment