Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Get Camera Status

URL

/rw/vision

Method

GET

URL Params

resource=camera-status Required

name={camera-name} Required

Data Params

None

Success Response

HTTP_OK(200)

see HTTP Status codes

Example Response

<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>vision</title>
<base href="http://localhost/rw/vision/"/>
</head>
<body>
<div class="state">
<a href="vision?resource=camera-status&name=mycamera" rel="self"/>
<ul>
<li class="vision-camera-status-li" title="camera-status">
<span class="camera-status">Program</span>
</li>
</ul>
</div>
</body>
</html>

Resources

  • camera-status: status of the camera {Disconnected | Program | Running | Unconfigured}

Error Response

BAD_REQUEST(400)

Robot controller errors, see Robot controller return codes

Sample Call

curl --digest -u "Default User":robotics "http://localhost/rw/vision?resource=camera-status&name=mycamera"

Notes

Not supported in bootserver mode