Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path coordinate, no random #3909

Closed
supercourgette opened this issue Aug 14, 2016 · 1 comment
Closed

Path coordinate, no random #3909

supercourgette opened this issue Aug 14, 2016 · 1 comment

Comments

@supercourgette
Copy link
Contributor

supercourgette commented Aug 14, 2016

When using the FollowPath task, the bot goes exactly over the coordinates points defined in the path config file. Maybe it is the indented behavior, but in such a case, could we have the possibility to decide if we want to have a little bit of random displacement above those points?

Expected Behavior

If the bot passes above a coordinates defined in the path config file, there should be a little bit of random in its displacement.

Actual Behavior

The bot passes EXACTLY above those point, every time.

capture

Your config.json (remove your credentials and any other private info)

Part of my config

  {
    "type": "FollowPath",
    "config": {
      "path_mode": "loop",
      "path_start_mode": "first",
      "path_file": "configs/path_test.json"
    }
  }

The path file

[
    {"location": "35.408692, 139.595838"},
    {"location": "35.408640, 139.596106"},
    {"location": "35.409630, 139.596161"},
    {"location": "35.410486, 139.596138"},
    {"location": "35.410090, 139.595673"},
    {"location": "35.409169, 139.594980"},
    {"location": "35.408735, 139.594644"},
    {"location": "35.409057, 139.593690"},
    {"location": "35.408735, 139.594644"},
    {"location": "35.406922, 139.594217"},
    {"location": "35.407166, 139.595777"},
    {"location": "35.408605, 139.596055"},
    {"location": "35.408605, 139.596055"},
    {"location": "35.408605, 139.596055"},
    {"location": "35.408605, 139.596055"},
    {"location": "35.408896, 139.595787"}
]

Steps to Reproduce

Just run it as usual, with the task FollowPath as defined above.

Other Information

OS:Windows10
Git Commit: cdd1d53 (dev branch)
Python Version: Python 2.7.11 (32b)

@mjmadsen
Copy link
Contributor

The noise added should improve this. If it does not add the degree of variance you would like, please reopen.

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

No branches or pull requests

3 participants