# SoftBank Robotics documentation What's new in NAOqi 2.8?

# Diagnosis effect API

NAOqi Motion - Overview | API

## Method list

class `ALMotionProxy`

- `ALMotionProxy::setDiagnosisEffectEnabled`
- `ALMotionProxy::getDiagnosisEffectEnabled`

## Methods

void `ALMotionProxy::``setDiagnosisEffectEnabled`(const bool& enable)

  Enable or Disable the diagnosis reflex.

  Parameters: | enable – Enable or disable the diagnosis reflex.

bool `ALMotionProxy::``getDiagnosisEffectEnabled`()

  Allow to know if the diagnosis reflex is activated.

  Returns: | Return true is the diagnosis reflex is activated.

Glossary Site map Index Support Contact Legal Notices