ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I think I got rid of it by not executing roscore!

What happens now is that dashboard opens with the first 2 buttons green and Breaks and batteries grey. when I click on breaks, it says: Cannot control breakers until we have received a power board state message

Also it gives the following log:

File "/opt/ros/electric/stacks/turtlebot_viz/turtlebot_dashboard/src/turtlebot_dashboard/power_state_control.py", line 111, in set_power_state self._char_cap = 0.8self._char_cap +0.2float(msg['Charge (mWh)'])
KeyError: 'Charge (mWh)' Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14636, in <lambda> lambda event: event.callable(event.args, *event.kw) ) File "/opt/ros/electric/stacks/turtlebot_viz/turtlebot_dashboard/src/turtlebot_dashboard/turtlebot_frame.py", line 274, in new_dashboard_message self._power_state_ctrl.set_power_state(battery_status) File "/opt/ros/electric/stacks/turtlebot_viz/turtlebot_dashboard/src/turtlebot_dashboard/power_state_control.py", line 111, in set_power_state self._char_cap = 0.8self._char_cap +0.2float(msg['Charge (mWh)'])
KeyError: 'Charge (mWh)' Traceback (most recent call last):

Any ideas? please help! :)