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

turtlebot coffebot

asked 2016-10-26 22:48:59 -0500

GT gravatar image

updated 2016-10-27 12:07:16 -0500

Hi

I am new to this, and have done the tutorial for coffebot. When running the coffee_bot.py script it gives me this fault.

[INFO] [WallTime: 1477587719.617954] wait for the action server to come up
[INFO] [WallTime: 1477587719.825782] Kobuki's battery is now: 102.0%
[INFO] [WallTime: 1477587719.825937] Charging at docking station
[INFO] [WallTime: 1477587719.847846] Anyone need coffee?
[INFO] [WallTime: 1477587719.853516] Notebook's battery is now: 96%
Traceback (most recent call last):
  File "coffee_bot.py", line 298, in <module>
    while(coffebot.deliver_coffee() and not rospy.is_shutdown()):
  File "coffee_bot.py", line 102, in deliver_coffee
    data = json.load(urllib2.urlopen(self.server_public_dns + "/turtlebot-server/coffee_queue.php?pop"))
  File "/usr/lib/python2.7/json/__init__.py", line 290, in load
    **kw)
  File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
[INFO] [WallTime: 1477587720.393432] Stop

Have changed server_public_dns = http:// to my own I got from EC2 mannagment console. Need some pointers to troble shoot.

Tnks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-10-27 17:41:29 -0500

GT gravatar image

Coffebot working

In the tutorial they made turtlebot_new this time I made turtlebot I dont know what went wrong, made a new coffebot server in ec2 and I am up and running. Coffebot is working grate :)

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-10-26 22:48:59 -0500

Seen: 250 times

Last updated: Oct 27 '16