Skip to content

Commit

Permalink
modified: src/v2i-hub/PedestrianPlugin/src/PedestrianPlugin.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
jwillmartin committed Aug 12, 2024
1 parent d54f07e commit 40c34c3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/v2i-hub/PedestrianPlugin/src/PedestrianPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ void PedestrianPlugin::StopWebSocket()

void PedestrianPlugin::checkXML()
{
// std::jthread checkXML;
//if a new psm xml has been generated the FLIR web socket, send it to the BroadcastPSM function
while (true)
{
Expand Down Expand Up @@ -223,7 +222,6 @@ void PedestrianPlugin::UpdateConfigSettings()
void PedestrianPlugin::OnConfigChanged(const char *key, const char *value)
{
PluginClient::OnConfigChanged(key, value);
// UpdateConfigSettings();
}

void PedestrianPlugin::OnStateChange(IvpPluginState state)
Expand All @@ -237,7 +235,7 @@ void PedestrianPlugin::OnStateChange(IvpPluginState state)
}

void PedestrianPlugin::BroadcastPsm(const std::string &psmJson)
{ //overloaded
{

PsmMessage psmmessage;
PsmEncodedMessage psmENC;
Expand All @@ -251,7 +249,6 @@ void PedestrianPlugin::BroadcastPsm(const std::string &psmJson)

psmENC.encode_j2735_message(psmmessage);

// std::unique_ptr<PsmEncodedMessage> msg;
auto msg = std::make_unique<PsmEncodedMessage>();
msg.reset();
msg.reset(dynamic_cast<PsmEncodedMessage*>(factory.NewMessage(api::MSGSUBTYPE_PERSONALSAFETYMESSAGE_STRING)));
Expand Down

0 comments on commit 40c34c3

Please sign in to comment.