Robotics StackExchange | Archived questions

KeyError:'laptop_battery_state'

Hey guys. I'm working on the migration of ROS hydro in turtlebot 2 to ROS Indigo. I have a problem with the kobukidashboard.I can see the kobuki battery but not the laptop one. and when i do a "rostopic echo /turtlebot../diagnostics_agg" , i can't see the LapTop Battery key in the /Power System . in the logfile it gave this error:

if powerstate['laptopbatterystate'] != 'OK': KeyError: 'laptopbattery_state'

*

Any help,suggestions would be welcomed.

Thank You !

Asked by AyoubEL on 2015-06-04 08:19:00 UTC

Comments

Answers