Skip to content

Commit

Permalink
Merge release/k900 for 4.4.0 release (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
codygarver authored May 5, 2023
2 parents 1b909e4 + 5a85bc6 commit a356c1d
Show file tree
Hide file tree
Showing 45 changed files with 182 additions and 119 deletions.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ guidance:
- /guidance/plugins/platooning_tactical_plugin_node
- /guidance/plugins/yield_plugin
ros2_initial_plugins:
- /guidance/plugins/lci_strategic_plugin
- /guidance/plugins/inlanecruising_plugin
- /guidance/plugins/platoon_strategic_ihp_node
- /guidance/plugins/stop_and_wait_plugin
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,34 @@ CarmaJS.registerNamespace("CarmaJS.Config");

CarmaJS.Config = (function () {
//Private variables
var ip = '127.0.0.1';

var ip = '127.0.0.1'; //'192.168.88.10'; 192.168.32.146;
var refresh_interval = 30; //30 seconds
var ros_connect_wait = 5000; //5 miliseconds to wait for platform to launch and ros to connect.
var ros_connect_retry = 24; //# of times to wait. Total 2 minutes
var speed_limit = 30; //Default Speed Limit
//Private methods
//Creating functions to prevent access by reference to private variables
var getIP = function() {
return ip;
};

var getRefreshInterval = function(){
return refresh_interval;
};
var getRosConnectionWaitTime = function() {
return ros_connect_wait;
};
var getRosConnectionRetry = function() {
return ros_connect_retry;
};
var getSPEEDLIMIT = function() {
return speed_limit;
};
//Public API
return {
getIP: getIP
getIP: getIP,
getRefreshInterval: getRefreshInterval,
getRosConnectionWaitTime:getRosConnectionWaitTime,
getRosConnectionRetry:getRosConnectionRetry,
getSPEEDLIMIT: getSPEEDLIMIT
};
})();
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@

<!-- Include the detailed launch file and pass in new arguments -->
<include file="$(find carma)/launch/carma_src.launch" pass_all_args="true">
<arg name="simulation_mode" value="true"/>
<arg name='simulation_mode' value='$(arg simulation_mode)'/>
</include>
</launch>
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ services:
- /opt/carma/maps:/opt/carma/maps
- /opt/carma/routes:/opt/carma/routes
- /opt/carma/yolo:/opt/carma/yolo
command: bash -c 'wait-for-it.sh localhost:11311 -- roslaunch /opt/carma/vehicle/config/carma_docker.launch'
command: bash -c 'wait-for-it.sh localhost:11311 -- roslaunch /opt/carma/vehicle/config/carma_docker.launch simulation_mode:="true" '

platform_ros2:
image: usdotfhwastol/carma-platform:carma-system-4.2.0
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ guidance:
- /guidance/plugins/platooning_tactical_plugin_node
- /guidance/plugins/yield_plugin
ros2_initial_plugins:
- /guidance/plugins/lci_strategic_plugin
- /guidance/plugins/inlanecruising_plugin
- /guidance/plugins/platoon_strategic_ihp_node
- /guidance/plugins/stop_and_wait_plugin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ version: '2'

services:
web-ui:
image: usdotfhwastol/carma-web-ui:carma-system-4.3.0
image: usdotfhwastol/carma-web-ui:carma-system-4.4.0
network_mode: host
container_name: web-ui
environment:
Expand Down
20 changes: 10 additions & 10 deletions chrysler_pacifica_ehybrid_s_2019/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ version: '2'

services:
roscore:
image: usdotfhwastol/carma-base:carma-system-4.3.0
image: usdotfhwastol/carma-base:carma-system-4.4.0
network_mode: host
container_name: roscore
volumes_from:
Expand All @@ -31,7 +31,7 @@ services:
command: roscore

platform:
image: usdotfhwastol/carma-platform:carma-system-4.3.0
image: usdotfhwastol/carma-platform:carma-system-4.4.0
network_mode: host
container_name: platform
runtime: nvidia
Expand All @@ -50,7 +50,7 @@ services:
command: bash -c 'wait-for-it.sh localhost:11311 -- roslaunch /opt/carma/vehicle/config/carma_docker.launch'

platform_ros2:
image: usdotfhwastol/carma-platform:carma-system-4.3.0
image: usdotfhwastol/carma-platform:carma-system-4.4.0
network_mode: host
container_name: platform_ros2
volumes_from:
Expand All @@ -65,7 +65,7 @@ services:
command: bash -c 'source /opt/carma/install_ros2/setup.bash && ros2 launch /opt/carma/vehicle/config/carma_docker.launch.py'

ros1_bridge:
image: usdotfhwastol/carma-msgs:carma-system-4.3.0
image: usdotfhwastol/carma-msgs:carma-system-4.4.0
network_mode: host
container_name: ros1_bridge
volumes_from:
Expand All @@ -83,7 +83,7 @@ services:
command: bash -c 'wait-for-it.sh localhost:11311 -- rosparam load /opt/carma/vehicle/config/bridge.yml && source ~/.base-image/workspace/install/setup.bash && ros2 run ros1_bridge dynamic_bridge --multi-threads'

lightbar-driver:
image: usdotfhwastol/carma-lightbar-driver:carma-system-4.3.0
image: usdotfhwastol/carma-lightbar-driver:carma-system-4.4.0
network_mode: host
container_name: lightbar-driver
volumes_from:
Expand All @@ -97,7 +97,7 @@ services:
command: bash -c 'export ROS_NAMESPACE=$${CARMA_INTR_NS} && wait-for-it.sh localhost:11311 -- roslaunch /opt/carma/vehicle/config/drivers.launch drivers:=lightbar_driver'

cohda_dsrc_driver:
image: usdotfhwastol/carma-cohda-dsrc-driver:carma-system-4.3.0
image: usdotfhwastol/carma-cohda-dsrc-driver:carma-system-4.4.0
container_name: carma-cohda-dsrc-driver
network_mode: host
volumes_from:
Expand All @@ -108,7 +108,7 @@ services:
command: bash -c 'source /opt/carma/install/setup.bash && ros2 launch /opt/carma/vehicle/config/drivers.launch.py drivers:=dsrc_driver'

ssc_controller_driver:
image: usdotfhwastol/carma-ssc-interface-wrapper:carma-system-4.3.0
image: usdotfhwastol/carma-ssc-interface-wrapper:carma-system-4.4.0
container_name: ssc_controller_driver
network_mode: host
privileged: true # Grant access to usb for can data
Expand All @@ -123,7 +123,7 @@ services:
command: bash -c 'export ROS_NAMESPACE=$${CARMA_INTR_NS} && wait-for-it.sh localhost:11311 -- roslaunch /opt/carma/vehicle/config/drivers.launch drivers:=ssc_interface_wrapper'

novatel_gnss_imu_driver:
image: usdotfhwastol/carma-novatel-oem7-driver-wrapper:carma-system-4.3.0
image: usdotfhwastol/carma-novatel-oem7-driver-wrapper:carma-system-4.4.0
container_name: carma-novatel-oem7-driver-wrapper
network_mode: host
volumes_from:
Expand All @@ -135,7 +135,7 @@ services:
command: bash -c 'source /opt/carma/install/setup.bash && ros2 launch /opt/carma/vehicle/config/drivers.launch.py drivers:=carma_novatel_driver_wrapper'

velodyne_lidar_driver:
image: usdotfhwastol/carma-velodyne-lidar-driver:carma-system-4.3.0
image: usdotfhwastol/carma-velodyne-lidar-driver:carma-system-4.4.0
container_name: velodyne-lidar-driver
network_mode: host
volumes_from:
Expand All @@ -149,7 +149,7 @@ services:
# It is being used instead as camera input is currently not supported in the Autoware.Auto
# system integrated in release carma-system-4.0
mock-camera-driver:
image: usdotfhwastol/carma-platform:carma-system-4.3.0
image: usdotfhwastol/carma-platform:carma-system-4.4.0
network_mode: host
container_name: carma-mock-camera-driver
volumes_from:
Expand Down
1 change: 1 addition & 0 deletions development/SubsystemControllerParams.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ guidance:
- /guidance/plugins/platooning_tactical_plugin_node
- /guidance/plugins/yield_plugin
ros2_initial_plugins:
- /guidance/plugins/lci_strategic_plugin
- /guidance/plugins/inlanecruising_plugin
- /guidance/plugins/platoon_strategic_ihp_node
- /guidance/plugins/stop_and_wait_plugin
Expand Down
2 changes: 1 addition & 1 deletion development/docker-compose-background.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ version: '2'

services:
web-ui:
image: usdotfhwastol/carma-web-ui:carma-system-4.3.0
image: usdotfhwastol/carma-web-ui:carma-system-4.4.0
network_mode: host
container_name: carma-web-ui
environment:
Expand Down
28 changes: 14 additions & 14 deletions development/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ version: '2'

services:
roscore:
image: usdotfhwastol/carma-base:carma-system-4.3.0
image: usdotfhwastol/carma-base:carma-system-4.4.0
network_mode: host
container_name: roscore
volumes_from:
Expand All @@ -31,7 +31,7 @@ services:
command: roscore

platform:
image: usdotfhwastol/carma-platform:carma-system-4.3.0
image: usdotfhwastol/carma-platform:carma-system-4.4.0
network_mode: host
container_name: platform
volumes_from:
Expand All @@ -49,7 +49,7 @@ services:
command: bash -c 'wait-for-it.sh localhost:11311 -- roslaunch /opt/carma/vehicle/config/carma_docker.launch'

platform_ros2:
image: usdotfhwastol/carma-platform:carma-system-4.3.0
image: usdotfhwastol/carma-platform:carma-system-4.4.0
network_mode: host
container_name: platform_ros2
volumes_from:
Expand All @@ -64,7 +64,7 @@ services:
command: bash -c 'source /opt/carma/install_ros2/setup.bash && ros2 launch /opt/carma/vehicle/config/carma_docker.launch.py'

ros1_bridge:
image: usdotfhwastol/carma-msgs:carma-system-4.3.0
image: usdotfhwastol/carma-msgs:carma-system-4.4.0
network_mode: host
container_name: ros1_bridge
volumes_from:
Expand All @@ -82,7 +82,7 @@ services:
command: bash -c 'wait-for-it.sh localhost:11311 -- rosparam load /opt/carma/vehicle/config/bridge.yml && source ~/.base-image/workspace/install/setup.bash && ros2 run ros1_bridge dynamic_bridge --multi-threads'

mock-lightbar-driver:
image: usdotfhwastol/carma-platform:carma-system-4.3.0
image: usdotfhwastol/carma-platform:carma-system-4.4.0
network_mode: host
container_name: carma-mock-lightbar-driver
volumes_from:
Expand All @@ -97,7 +97,7 @@ services:
command: bash -c 'export ROS_NAMESPACE=$${CARMA_INTR_NS} && wait-for-it.sh localhost:11311 -- roslaunch carma mock_drivers.launch mock_drivers:="lightbar bag_parser"'

mock-can-driver:
image: usdotfhwastol/carma-platform:carma-system-4.3.0
image: usdotfhwastol/carma-platform:carma-system-4.4.0
network_mode: host
container_name: carma-mock-can-driver
volumes_from:
Expand All @@ -111,7 +111,7 @@ services:
command: bash -c 'export ROS_NAMESPACE=$${CARMA_INTR_NS} && wait-for-it.sh localhost:11311 -- roslaunch carma mock_drivers.launch mock_drivers:=can'

mock-comms-driver:
image: usdotfhwastol/carma-platform:carma-system-4.3.0
image: usdotfhwastol/carma-platform:carma-system-4.4.0
network_mode: host
container_name: carma-mock-comms-driver
volumes_from:
Expand All @@ -125,7 +125,7 @@ services:
command: bash -c 'export ROS_NAMESPACE=$${CARMA_INTR_NS} && wait-for-it.sh localhost:11311 -- roslaunch carma mock_drivers.launch mock_drivers:=comms'

mock-controller-driver:
image: usdotfhwastol/carma-platform:carma-system-4.3.0
image: usdotfhwastol/carma-platform:carma-system-4.4.0
network_mode: host
container_name: carma-srx-controller-driver
volumes_from:
Expand All @@ -139,7 +139,7 @@ services:
command: bash -c 'export ROS_NAMESPACE=$${CARMA_INTR_NS} && wait-for-it.sh localhost:11311 -- roslaunch carma mock_drivers.launch mock_drivers:=controller'

mock-radar-driver:
image: usdotfhwastol/carma-platform:carma-system-4.3.0
image: usdotfhwastol/carma-platform:carma-system-4.4.0
network_mode: host
container_name: carma-mock-radar-driver
volumes_from:
Expand All @@ -153,7 +153,7 @@ services:
command: bash -c 'export ROS_NAMESPACE=$${CARMA_INTR_NS} && wait-for-it.sh localhost:11311 -- roslaunch carma mock_drivers.launch mock_drivers:=radar'

mock-gnss-driver:
image: usdotfhwastol/carma-platform:carma-system-4.3.0
image: usdotfhwastol/carma-platform:carma-system-4.4.0
network_mode: host
container_name: carma-mock-gnss-driver
volumes_from:
Expand All @@ -167,7 +167,7 @@ services:
command: bash -c 'export ROS_NAMESPACE=$${CARMA_INTR_NS} && wait-for-it.sh localhost:11311 -- roslaunch carma mock_drivers.launch mock_drivers:=gnss'

mock-imu-driver:
image: usdotfhwastol/carma-platform:carma-system-4.3.0
image: usdotfhwastol/carma-platform:carma-system-4.4.0
network_mode: host
container_name: carma-mock-imu-driver
volumes_from:
Expand All @@ -181,7 +181,7 @@ services:
command: bash -c 'export ROS_NAMESPACE=$${CARMA_INTR_NS} && wait-for-it.sh localhost:11311 -- roslaunch carma mock_drivers.launch mock_drivers:=imu'

mock-lidar-driver:
image: usdotfhwastol/carma-platform:carma-system-4.3.0
image: usdotfhwastol/carma-platform:carma-system-4.4.0
network_mode: host
container_name: carma-mock-lidar-driver
volumes_from:
Expand All @@ -195,7 +195,7 @@ services:
command: bash -c 'export ROS_NAMESPACE=$${CARMA_INTR_NS} && wait-for-it.sh localhost:11311 -- roslaunch carma mock_drivers.launch mock_drivers:=lidar'

mock-camera-driver:
image: usdotfhwastol/carma-platform:carma-system-4.3.0
image: usdotfhwastol/carma-platform:carma-system-4.4.0
network_mode: host
container_name: carma-mock-camera-driver
volumes_from:
Expand All @@ -209,7 +209,7 @@ services:
command: bash -c 'export ROS_NAMESPACE=$${CARMA_INTR_NS} && wait-for-it.sh localhost:11311 -- roslaunch carma mock_drivers.launch mock_drivers:=camera'

mock-roadway-sensor-driver:
image: usdotfhwastol/carma-platform:carma-system-4.3.0
image: usdotfhwastol/carma-platform:carma-system-4.4.0
network_mode: host
container_name: carma-mock-roadway-sensor-driver
volumes_from:
Expand Down
1 change: 1 addition & 0 deletions ford_fusion_sehybrid_2019/SubsystemControllerParams.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ guidance:
- /guidance/plugins/platooning_tactical_plugin_node
- /guidance/plugins/yield_plugin
ros2_initial_plugins:
- /guidance/plugins/lci_strategic_plugin
- /guidance/plugins/inlanecruising_plugin
- /guidance/plugins/platoon_strategic_ihp_node
- /guidance/plugins/stop_and_wait_plugin
Expand Down
3 changes: 3 additions & 0 deletions ford_fusion_sehybrid_2019/carma.env
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ export RCUTILS_CONSOLE_OUTPUT_FORMAT='{time} | {severity} | {function_name}:{lin

export ROS_LOG_DIR="/opt/carma/logs" # Variable used in both ROS 1 and ROS 2

# configuration for CycloneDDS
export CYCLONEDDS_URI=/opt/carma/vehicle/calibration/telematics/cyclone_config.xml

###
# Namespaces
###
Expand Down
2 changes: 1 addition & 1 deletion ford_fusion_sehybrid_2019/docker-compose-background.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ version: '2'

services:
web-ui:
image: usdotfhwastol/carma-web-ui:carma-system-4.3.0
image: usdotfhwastol/carma-web-ui:carma-system-4.4.0
network_mode: host
container_name: web-ui
environment:
Expand Down
Loading

0 comments on commit a356c1d

Please sign in to comment.