Skip to content

Instantly share code, notes, and snippets.

View Maik93's full-sized avatar
🌮

Michael Mugnai Maik93

🌮
View GitHub Profile
@Maik93
Maik93 / base_plotly.py
Created March 8, 2024 09:45
Basic Plotly usage for lines and scatters, that can be both interactively shown or stored
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)
@Maik93
Maik93 / r200_nodelet_pointcloud_xyzrgb.launch
Last active November 29, 2018 15:43
ROS launcher for Intel Relalsense R200 that uses depth_image_proc for the RGB point cloud composition.
<!-- 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. -->