Skip to content

Commit d63cc54

Browse files
committed
Summit config working on laptop
1 parent 388011f commit d63cc54

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

config/summit_xl.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
rosbridge_ip: rap-2022-ws-staff-toff.k8s.init-lab.ch #rap-2022-ws-8.k8s.init-lab.ch
33
rosbridge_port: 443 #9090
44
use_wss: true
5+
use_CBOR: true
56
# Topics being published remotely to expose locally
67
remote_topics:
78
[
@@ -13,7 +14,7 @@ remote_topics:
1314
all_local_topics: false
1415
local_topics: [
1516
#/summit_xl/arm_camera/color/image_raw/compressed:
16-
# ["/summit_xl/scan_combined", "sensor_msgs/LaserScan"],
17+
["/summit_xl/scan_combined", "sensor_msgs/LaserScan"],
1718
# /summit_xl/move_base/current_goal:
1819
# - /summit_xl/move_base/GlobalPlanner/plan:
1920
# - /summit_xl/move_base/TebLocalPlannerROS/global_plan:
@@ -23,8 +24,8 @@ local_topics: [
2324
# - /summit_xl/move_base/TebLocalPlannerROS/local_plan:
2425
# - /summit_xl/joint_states:
2526
["/summit_xl/map", "nav_msgs/OccupancyGrid"],
26-
# ["/summit_xl/move_base/local_costmap/costmap", "nav_msgs/OccupancyGrid"],
27-
# ["/summit_xl/move_base/global_costmap/costmap", "nav_msgs/OccupancyGrid"]
27+
["/summit_xl/move_base/local_costmap/costmap", "nav_msgs/OccupancyGrid"],
28+
# ["/summit_xl/move_base/global_costmap/costmap", "nav_msgs/OccupancyGrid"]
2829
# ["/scan", "sensor_msgs/LaserScan"],
2930
# ["/odom", "nav_msgs/Odometry"],
3031
# ["/tf", "tf/tfMessage"],

src/rosduct/rosduct_bridge_autobahn.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from rosbridge_server.autobahn_websocket import IncomingQueue
2424
from rosbridge_library.util import json, bson
2525

26-
USE_CBOR=True
26+
USE_CBOR=False
2727

2828
"""
2929
Server to expose locally and externally
@@ -81,6 +81,8 @@ def __init__(self, node_handle):
8181
"bson_only_mode": False
8282
}
8383

84+
USE_CBOR = rospy.get_param('~use_CBOR', False)
85+
rospy.loginfo('Using CBOR: %s' % USE_CBOR)
8486
if USE_CBOR:
8587
parameters["compression"] = "cbor"
8688

0 commit comments

Comments
 (0)