Skip to content

Commit

Permalink
generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
neojaw committed Oct 26, 2023
1 parent 2cd564b commit 63b78fd
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <pilot/kinematics/differential/DriveState.hxx>
#include <pilot/kinematics/mecanum/DriveState.hxx>
#include <pilot/kinematics/omnidrive/DriveState.hxx>
#include <vnx/LogMsg.hxx>
#include <vnx/Module.h>
#include <vnx/Object.hpp>
#include <vnx/TopicPtr.hpp>
Expand Down
2 changes: 2 additions & 0 deletions generated/include/neo_relayboard_v3/RelayBoardV3Base.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <pilot/kinematics/differential/DriveState.hxx>
#include <pilot/kinematics/mecanum/DriveState.hxx>
#include <pilot/kinematics/omnidrive/DriveState.hxx>
#include <vnx/LogMsg.hxx>
#include <vnx/Module.h>
#include <vnx/Object.hpp>
#include <vnx/TopicPtr.hpp>
Expand Down Expand Up @@ -74,6 +75,7 @@ public:
protected:
using Super::handle;

virtual void handle(std::shared_ptr<const ::vnx::LogMsg> _value) {}
virtual void handle(std::shared_ptr<const ::pilot::SystemState> _value) {}
virtual void handle(std::shared_ptr<const ::pilot::SafetyState> _value) {}
virtual void handle(std::shared_ptr<const ::pilot::EmergencyState> _value) {}
Expand Down
1 change: 1 addition & 0 deletions generated/include/neo_relayboard_v3/RelayBoardV3Client.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <pilot/kinematics/differential/DriveState.hxx>
#include <pilot/kinematics/mecanum/DriveState.hxx>
#include <pilot/kinematics/omnidrive/DriveState.hxx>
#include <vnx/LogMsg.hxx>
#include <vnx/Module.h>
#include <vnx/Object.hpp>
#include <vnx/TopicPtr.hpp>
Expand Down
1 change: 1 addition & 0 deletions generated/src/RelayBoardV3AsyncClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <pilot/kinematics/differential/DriveState.hxx>
#include <pilot/kinematics/mecanum/DriveState.hxx>
#include <pilot/kinematics/omnidrive/DriveState.hxx>
#include <vnx/LogMsg.hxx>
#include <vnx/Module.h>
#include <vnx/ModuleInterface_vnx_get_config.hxx>
#include <vnx/ModuleInterface_vnx_get_config_return.hxx>
Expand Down
4 changes: 4 additions & 0 deletions generated/src/RelayBoardV3Base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <pilot/kinematics/differential/DriveState.hxx>
#include <pilot/kinematics/mecanum/DriveState.hxx>
#include <pilot/kinematics/omnidrive/DriveState.hxx>
#include <vnx/LogMsg.hxx>
#include <vnx/Module.h>
#include <vnx/ModuleInterface_vnx_get_config.hxx>
#include <vnx/ModuleInterface_vnx_get_config_return.hxx>
Expand Down Expand Up @@ -398,6 +399,9 @@ void RelayBoardV3Base::vnx_handle_switch(std::shared_ptr<const vnx::Value> _valu
case 0x735822e6960c247ull:
handle(std::static_pointer_cast<const ::pilot::kinematics::omnidrive::DriveState>(_value));
return;
case 0x2a13f6d072f9b852ull:
handle(std::static_pointer_cast<const ::vnx::LogMsg>(_value));
return;
default:
_type_code = _type_code->super;
}
Expand Down
1 change: 1 addition & 0 deletions generated/src/RelayBoardV3Client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <pilot/kinematics/differential/DriveState.hxx>
#include <pilot/kinematics/mecanum/DriveState.hxx>
#include <pilot/kinematics/omnidrive/DriveState.hxx>
#include <vnx/LogMsg.hxx>
#include <vnx/Module.h>
#include <vnx/ModuleInterface_vnx_get_config.hxx>
#include <vnx/ModuleInterface_vnx_get_config_return.hxx>
Expand Down

0 comments on commit 63b78fd

Please sign in to comment.