Browse Source

Merge a81a2a545d into e312817b6f

pull/1933/merge
Adam Williamson GitHub 1 month ago
parent
commit
05ded2d162
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 22 additions and 10 deletions
  1. +22
    -10
      source/frontend/carla_host_control.py

+ 22
- 10
source/frontend/carla_host_control.py View File

@@ -23,16 +23,28 @@ from carla_host import *
# ------------------------------------------------------------------------------------------------------------
# Imports (liblo)

from liblo import (
Address,
AddressError,
ServerError,
Server,
make_method,
send as lo_send,
TCP as LO_TCP,
UDP as LO_UDP,
)
try:
from pyliblo3 import (
Address,
AddressError,
ServerError,
Server,
make_method,
send as lo_send,
TCP as LO_TCP,
UDP as LO_UDP,
)
except ModuleNotFoundError:
from liblo import (
Address,
AddressError,
ServerError,
Server,
make_method,
send as lo_send,
TCP as LO_TCP,
UDP as LO_UDP,
)

from random import random



Loading…
Cancel
Save