Skip to content

Add ability to change mode #13

Open

Description

@jacobperron

Could have a subscriber that listens to a custom message for changing the mode of Create (OFF, PASSIVE, SAFE, and FULL). Or as a minimum, have a parameter to the node that starts the robot in SAFE or FULL mode.

Activity

  1. added this to the 1.1.0 milestone on Apr 1, 2016
  2. jacobperron commented on Jun 20, 2016

    @jacobperron
    MemberAuthor

    Added functionality to set-modes branch. Will merge after testing.

  3. modified the milestones: 2.0.0, 1.1.0 on Jul 23, 2016
  4. andrewrgross commented on Oct 6, 2021

    @andrewrgross

    @jacobperron I'm trying to send a Roomba a command to go into passive mode from ROS. How far did you get with this branch?

  5. jacobperron commented on Oct 7, 2021

    @jacobperron
    MemberAuthor

    @andrewrgross It was so long ago, I don't recall exactly why I stopped working on this. If I remember correctly, the branch is pretty much feature-complete, but I may have ran into a bug/behaviour issue that I didn't resolve.

  6. matttsmith commented on Feb 15, 2022

    @matttsmith

    @andrewrgross Did you find anything? I'm going to start working on this as well - just started working with ROS on a Roomba Create 2.

  7. andrewrgross commented on Feb 15, 2022

    @andrewrgross

    I did actually! It may or may not be useful to you depending on your function, but it turns out that if you send a docking command and it docks, it goes into passive mode! This is the command:

    rostopic pub -1 dock std_msgs/Empty

    If it's on the dock and you press this, it goes passive, and then if you undock, it becomes active again:

    rostopic pub -1 undock std_msgs/Empty

    I included a bit more info here: https://crashbot.atlassian.net/wiki/spaces/BOT/pages/31293441/Power

    and here: https://crashbot.atlassian.net/wiki/spaces/BOT/pages/32014337/State+Overview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions