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

4 directions #17

Open
ChopsKingsland opened this issue Jan 2, 2021 · 7 comments
Open

4 directions #17

ChopsKingsland opened this issue Jan 2, 2021 · 7 comments
Assignees

Comments

@ChopsKingsland
Copy link

Is there a way to eliminate NE, SE, SW & NW, so it is only N, E, S & W (& C)?

@bobboteck bobboteck self-assigned this Jan 2, 2021
@bobboteck
Copy link
Owner

Hi @ChopsKingsland, no currently there is no possibility, you could alternatively use the cursor position with GetPosX, GetPosY or with GetX, GetY and rebuild the information you need in your code.
Could I know what your specific need is and how you would like to use it?

@ChopsKingsland
Copy link
Author

I need this to control a Raspberry Pi car with tank steering

@bobboteck
Copy link
Owner

Any more specifics of how it should work?

@ChopsKingsland
Copy link
Author

Any more specifics of how it should work?

It can only go forwards, backwards, left & right; not diagonally...

A bit like this: (C for centre/stop)

\ F /
L| C |R
/ B \

@bobboteck
Copy link
Owner

Ok @ChopsKingsland I understand your request, I think it can be done, but I don't know how to give you a timetable for the realization, in the meantime I mark it as an activity to do.
I will definitely add a new method to give directions in the way you indicated.

@bobboteck bobboteck added this to To do in ISSUE Traking Jan 8, 2021
@kethan1
Copy link

kethan1 commented Mar 17, 2021

Being able to move in only 4 directions is great for a simple robot, but if you are building a more complicated robot and you want it to move in any direction, take a look at this question: https://robotics.stackexchange.com/q/2011/28178

@bobboteck bobboteck moved this from To do to In progress in ISSUE Traking Dec 21, 2021
@k2xl
Copy link

k2xl commented May 3, 2022

Any shortcuts in meantime?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
ISSUE Traking
  
In progress
Development

No branches or pull requests

4 participants