Skip to content

Commit a8fb764

Browse files
authored
Merge branch 'master' into docs/rotation-quat
2 parents d7701a1 + d7640ca commit a8fb764

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

open_simulation_interface-config.cmake.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ find_dependency(Protobuf)
66
if(NOT TARGET @PROJECT_NAME@ AND NOT @PROJECT_NAME@_BINARY_DIR)
77
set_and_check(OPEN_SIMULATION_INTERFACE_INCLUDE_DIRS "@PACKAGE_OSI_INSTALL_INCLUDE_DIR@")
88
set(OPEN_SIMULATION_INTERFACE_LIBRARIES "@PROJECT_NAME@")
9-
include("${CMAKE_CURRENT_LIST_DIR}/open_simulation_interface_targets.cmake")
9+
include("${CMAKE_CURRENT_LIST_DIR}/open_simulation_interface-targets.cmake")
1010
endif()

osi_object.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -954,6 +954,10 @@ message MovingObject
954954
//
955955
optional GenericLightState reversing_light = 6;
956956

957+
// State of the tail light (rear position light).
958+
//
959+
optional GenericLightState tail_light = 11;
960+
957961
// State of the brake lights.
958962
//
959963
optional BrakeLightState brake_light_state = 7;

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@ def generate(self):
116116
for source in self.osi_files:
117117
sys.stdout.write("Protobuf-compiling " + source + "\n")
118118
source_path = os.path.join(package_name, source)
119-
subprocess.check_call([self.find_protoc(), "--python_out=.", source_path])
119+
subprocess.check_call(
120+
[self.find_protoc(), "--python_out=.", "--pyi_out=.", source_path]
121+
)
120122

121123
def maybe_generate(self):
122124
if os.path.exists("osi_version.proto.in"):

0 commit comments

Comments
 (0)