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

Adding odometry simulator #54

Open
threewisemonkeys-as opened this issue Jul 17, 2020 · 0 comments
Open

Adding odometry simulator #54

threewisemonkeys-as opened this issue Jul 17, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@threewisemonkeys-as
Copy link
Contributor

threewisemonkeys-as commented Jul 17, 2020

A class for an odometry simulator would be very useful for testing controllers. SInce our courrent controllers output a velocity, the simulator would take the velocity command at each step and numerically integrate (basically add) it to get distance travelled.

Now to simulate real life conditions, instead of giving back the position derived directly by integrating (the true position) the class will add gaussian noise (using np.random.randn) to it and then return it back to controller. The simulator would be added in /utils

Basic structure would be

class Simulator
    def __init__(controller)
        ...
    def run(parameters)
        ...
@threewisemonkeys-as threewisemonkeys-as added enhancement New feature or request good first issue Good for newcomers labels Jul 17, 2020
@pranavgo pranavgo self-assigned this Jul 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants