parent
b09e5227d0
commit
50d5434a9f
|
@ -11,7 +11,7 @@ class Conversions:
|
|||
MS_TO_KNOTS = 1.9438
|
||||
KNOTS_TO_MS = 1. / MS_TO_KNOTS
|
||||
#Angle
|
||||
DEG_TO_RAD = np.pi/180.
|
||||
DEG_TO_RAD = np.pi / 180.
|
||||
RAD_TO_DEG = 1. / DEG_TO_RAD
|
||||
#Mass
|
||||
LB_TO_KG = 0.453592
|
||||
|
@ -22,8 +22,8 @@ RADAR_TO_CAMERA = 1.52 # RADAR is ~ 1.5m ahead from center of mesh frame
|
|||
|
||||
class UIParams:
|
||||
lidar_x, lidar_y, lidar_zoom = 384, 960, 6
|
||||
lidar_car_x, lidar_car_y = lidar_x/2., lidar_y/1.1
|
||||
car_hwidth = 1.7272/2 * lidar_zoom
|
||||
lidar_car_x, lidar_car_y = lidar_x / 2., lidar_y / 1.1
|
||||
car_hwidth = 1.7272 / 2 * lidar_zoom
|
||||
car_front = 2.6924 * lidar_zoom
|
||||
car_back = 1.8796 * lidar_zoom
|
||||
car_color = 110
|
||||
|
|
|
@ -28,7 +28,7 @@ openpilot tools and the following setup steps are developed and tested on Ubuntu
|
|||
|
||||
Setup
|
||||
============
|
||||
1. Run `ubuntu_setup.sh` or `mac_setup.sh`, make sure everything completed correctly
|
||||
1. Run `ubuntu_setup.sh` or `mac_setup.sh`, and make sure that everything completed correctly
|
||||
|
||||
2. Compile openpilot by running ```scons``` in the openpilot directory
|
||||
or alternatively run ```./openpilot_build.sh``` (uses a pre-configured docker container)
|
||||
|
|
Loading…
Reference in New Issue