This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.8' # Specifies the version of the Docker Compose file format | |
services: | |
ros: # Service name | |
#image: osrf/ros:humble-desktop # Specifies the Docker image to use for this service | |
image: ros-noetic-full-gpu # Specifies the Docker image to use for this service | |
container_name: ros # Sets the container name to "ros" | |
network_mode: host # Uses the host's networking stack (container shares the host's network) | |
volumes: | |
- /tmp/.X11-unix:/tmp/.X11-unix # Mounts the X11 Unix socket for GUI applications |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import plotly as pl | |
import plotly.graph_objects as pl_go | |
class PlotlyUtils: | |
def __init__(self): | |
self.figure = pl.graph_objs.Figure() | |
def insert_line(self, data, **kwargs): | |
obj = pl_go.Scatter(data, mode='lines+markers', *kwargs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Sample launch file for using RealSense R200 camera with default configurations --> | |
<launch> | |
<arg name="camera" default="camera" /> | |
<arg name="camera_type" default="R200" /> <!-- Type of camera --> | |
<arg name="serial_no" default="" /> | |
<arg name="usb_port_id" default="" /> <!-- USB "Bus#-Port#" --> | |
<arg name="manager" default="nodelet_manager" /> | |
<!-- These 'arg' tags are just place-holders for passing values from test files. | |
The recommended way is to pass the values directly into the 'param' tags. --> |