Skip to content

Commit

Permalink
Bug Fix. Access the correct ptr afVehicleComm object
Browse files Browse the repository at this point in the history
  • Loading branch information
adnanmunawar committed Mar 27, 2023
1 parent 0613909 commit 0dbd001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ambf_plugins/core/ros_comm_plugin/ObjectCommPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ int afObjectCommunicationPlugin::init(const afBaseObjectPtr a_afObjectPtr, const
case afType::VEHICLE:
{
m_vehicleCommPtr.reset(new ambf_comm::Vehicle(objName, objNamespace, minFreq, maxFreq, timeOut));
m_actuatorCommPtr->set_identifier(objQualifiedIdentifier);
m_vehicleCommPtr->set_identifier(objQualifiedIdentifier);
success = true;
}
break;
Expand Down

0 comments on commit 0dbd001

Please sign in to comment.