URL
/rw/vision
Method
GET
URL Params
resource=camera-validity Required
name={camera-name} Required
See Common URL parameters
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-validity&name=camera1" rel="self"/>
<ul>
<li class="vision-valid-camera-li" title="valid-camera">
<span class="is-valid-camera-name">TRUE</span>
</li>
</ul>
</div>
</body>
</html>
Resources
- is-valid-camera-name: Given camera Name is valid or not
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-validity&name=camera1"
Notes
Not supported in bootserver mode