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

[WIP] Nav observer #9

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

[WIP] Nav observer #9

wants to merge 8 commits into from

Conversation

hsd-dev
Copy link
Owner

@hsd-dev hsd-dev commented May 6, 2020

An observer for turtlesim's sensor data. The observer initially trains a model with pre-labeled data and uses the current sensor data to predict the actions turtlesim needs to take to avoid colliding with the wall. The predicted actions are published as diagnostic msg.

nav_model.py code by @ipa-rar

TODO:

  • ML code needs python3, melodic running on python2
  • sensor data scaling

observes sensor data published by turtlesim and publishes predicted actions as diagnostics msg
@hsd-dev
Copy link
Owner Author

hsd-dev commented May 6, 2020

@ipa-nhg fyi

@hsd-dev
Copy link
Owner Author

hsd-dev commented May 7, 2020

NavModel exposes a service of type PredictAction and uses roslibpy to avoid issues with Python3.

NavObserver generates a diagnostics msg based on the current sensor values.

level: 0
name: ''
message: "Action prediction"
hardware_id: ''
values: 
  - 
    key: "action"
    value: "Slight-Left-Turn"

@hsd-dev hsd-dev changed the base branch from observers to master May 7, 2020 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant