Get the operation mode of the controller
URL
/rw/panel/opmode
Method
GET
URL Params
None
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>panel</title>
<base href= "http://localhost/rw/panel/opmode/" />
</head>
<body>
<div class="state">
<a href= "" rel="self"/>
<a href= "?action=show" rel="action"/>
<ul>
<li class="pnl-opmode" title="opmode">
<span class="opmode">MANR</span>
</li>
</ul>
</div>
</body>
</html>
Resources
- opmode The operation mode {INIT | AUTO_CH | MANF_CH | MANR | MANF | AUTO | UNDEF}
- INIT : State init
- AUTO_CH : State change request for automatic mode
- MANF_CH : State change request for manual mode & full speed
- MANR : State manual mode & reduced speed
- MANF : State manual mode & full speed
- AUTO : State automatic mode
- UNDEF : Undefined
Error Response
BAD_REQUEST(400)
See Robot controller return codes
Sample Call
curl --digest -u "Default User":robotics "http://localhost/rw/panel/opmode"
Notes
Not supported in bootserver mode