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

Location of function GettingStartedScenario #22

Open
hosseinihalimeh opened this issue Dec 3, 2024 · 0 comments
Open

Location of function GettingStartedScenario #22

hosseinihalimeh opened this issue Dec 3, 2024 · 0 comments

Comments

@hosseinihalimeh
Copy link

hosseinihalimeh commented Dec 3, 2024

According to the link below, can you help me in which file should I put this code?
https://plexe.car2x.org/tutorial/example7/

void GettingStartedScenario::handleMessage(cMessage* msg)
{
if (msg == startBraking) {
// Increase CACC Constant Spacing (set it to 15m)
plexeTraciVehicle->setCACCConstantSpacing(15.0);
traciVehicle->setColor(TraCIColor(100, 100, 100, 255));
// then start checking when we reach that 15m distance
scheduleAt(simTime() + 0.1, checkDistance);
@michele-segata
Hello
Do you know a YouTube channel or website for education that you can recommend to me?
Thank you very much

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

No branches or pull requests

1 participant