Skip to content

Conversation

@AshFungor
Copy link
Collaborator

This is an initial PR for requested and awaited switch. There's still much more work to do here, I'll post it so others may track progress.

@AshFungor AshFungor self-assigned this Oct 21, 2025
Copy link
Owner

@riebl riebl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the tools/testing stuff should be a separate PR because it is not directly related to the libtraci switch.

# to the existing SUMO instance is only possible with slower libtraci API.
# Switching both options to OFF disables SUMO integration.
option(WITH_LIBTRACI "Build Artery with SUMO support via libtraci" ON)
option(WITH_LIBSUMO "Build Artery with SUMO support via libsumo" OFF)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No libsumo for the moment, right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only one of those should be set at once :)

@AshFungor
Copy link
Collaborator Author

AshFungor commented Jan 12, 2026

Hey, @riebl!

I wanted to discuss the cpp looks a little. I know you don't like identing namespaces, but how about base classes? I'm used to this

class A
    : public B,
    , public C {
    /* contents */
};

Which currently formats as

class A : public B, public C {
};

The first one looks cleaner I guess

@AshFungor
Copy link
Collaborator Author

Also, I've looked into variable cache - it seems still useful (even with libsumo), but I've switched to more template-heavy implementation. Can you have a look? Keep in mind, I have not even compiled it yet, so I wish you could just give your overall impression.

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.

2 participants