You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

3.3 KiB

Stretch Troubleshooting Guide

This guide covers common issues and ways to resolve them. Please check the Hello Robot Forum for additional topics not covered here.

Xbox teleoperation is not working

The provided Easy SMX wireless controller can accidentally be placed in the wrong mode. The mode is indicated by the round illuminated ring (shown as Connect below). The top 2 LEDs only should be illuminated. If a different LED pattern is shown then the button mapping expected by stretch_xbox_controller_teleop.py will be incorrect.

To set the controller into the correct mode:

  • Hold the center button down for 5s. It will switch modes. Release.
  • Repeat until the top half of the ring (upper two lights) is illuminated.

In addition, check that the provided USB dongle is plugged into the robot USB port in its trunk.

Battery is not staying charged

=== "Stretch RE1"

Please review the troubleshooting section of the [Stretch RE1 Battery Maintenance Guide](https://docs.hello-robot.com/0.2/stretch-hardware-guides/battery_maintenance_guide_re1/).

=== "Stretch 2"

Please review the troubleshooting section of the [Stretch 2 Battery Maintenance Guide](https://docs.hello-robot.com/0.2/stretch-hardware-guides/battery_maintenance_guide_re2).

RPC Transport Errors (Stretch doesn't respond to commands)

If more than one instance of Stretch Body's Robot class is instantiated at a time, Stretch Body will report communication errors and will not always execute motion commands as expected. This is because the Robot class manages communications with the robot hardware and it doesn't support multiple writes to the USB devices.

These errors can appear as

Transport RX Error on RPC_ACK_SEND_BLOCK_MORE False 0 102
---- Debug Exception
--------------- New RPC -------------------------
Framer sent RPC_START_NEW_RPC
...

or as

IOError(None): None
...

To check if an instance of Robot is already instantiated, you may use the Unix top command to monitor active processes. You may use the Unix pkill command to end the background instance of Robot.

pkill -9 python

As shipped, Stretch launches stretch_xbox_controller_teleop.py upon boot. It is necessary to turn off this automatic launch feature, otherwise, your own Robot instance will conflict with this script. Additionally, if you are logged into multiple accounts, a Robot instance may be active in another user account.

To turn it off, search for 'Startup' from Ubuntu Activities. Uncheck the box for 'hello_robot_xbox_teleop'.


All materials are Copyright 2022 by Hello Robot Inc. Hello Robot and Stretch are registered trademarks.