-
Notifications
You must be signed in to change notification settings - Fork 8
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 pause_function to Speed Dreams robots #13
base: ACC
Are you sure you want to change the base?
Conversation
src/drivers/human/human.cpp
Outdated
@@ -39,10 +39,64 @@ | |||
*/ | |||
|
|||
#include <humandriver.h> | |||
#include <standardgame.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could be deleted
gps.update(car); | ||
vec2 myPos = gps.getPosition(); | ||
printf("Players's position according to GPS is (%f, %f)\n", myPos.x, myPos.y); | ||
//printf("Players's position according to GPS is (%f, %f)\n", myPos.x, myPos.y); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could be readded
src/drivers/human/human.cpp
Outdated
@@ -237,9 +291,18 @@ drive_mt(int index, tCarElt* car, tSituation *s) | |||
static void | |||
drive_at(int index, tCarElt* car, tSituation *s) | |||
{ | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
following code is an example for functionality, please substitute
No description provided.