Skip to content

Commit

Permalink
[VT]: Add Virtual Terminal Object Classes
Browse files Browse the repository at this point in the history
Added classes to represent most VT objects.
This is intended to be used with a VT server (coming soon) or
with an object pool editor program.
  • Loading branch information
ad3154 committed Nov 17, 2023
1 parent 6fb8fd8 commit b08b553
Show file tree
Hide file tree
Showing 6 changed files with 11,123 additions and 2 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ if(BUILD_TESTING)
test/guidance_tests.cpp
test/speed_distance_message_tests.cpp
test/maintain_power_tests.cpp
test/vt_object_tests.cpp
test/nmea2000_message_tests.cpp)

add_executable(unit_tests ${TEST_SRC})
Expand Down
2 changes: 2 additions & 0 deletions isobus/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ set(ISOBUS_SRC
"isobus_guidance_interface.cpp"
"isobus_speed_distance_messages.cpp"
"isobus_maintain_power_interface.cpp"
"isobus_virtual_terminal_objects.cpp"
"nmea2000_message_definitions.cpp"
"nmea2000_message_interface.cpp")

Expand Down Expand Up @@ -79,6 +80,7 @@ set(ISOBUS_INCLUDE
"isobus_functionalities.hpp"
"isobus_speed_distance_messages.hpp"
"isobus_maintain_power_interface.hpp"
"isobus_virtual_terminal_objects.hpp"
"nmea2000_message_definitions.hpp"
"nmea2000_message_interface.hpp")
# Prepend the include directory path to all the include files
Expand Down
2 changes: 2 additions & 0 deletions isobus/include/isobus/isobus/can_constants.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#ifndef CAN_CONSTANTS_HPP
#define CAN_CONSTANTS_HPP

#include <cstdint>

namespace isobus
{
constexpr std::uint64_t DEFAULT_NAME = 0xFFFFFFFFFFFFFFFF; ///< An invalid NAME used as a default
Expand Down
Loading

0 comments on commit b08b553

Please sign in to comment.