Skip to content

Instantly share code, notes, and snippets.

View tlpss's full-sized avatar
🤖

Thomas Lips tlpss

🤖
View GitHub Profile
"""minimal script to show the difference between retrieving a pointcloud from the zed camera and manually creating one from the depth image and rgb image."""
import pyzed.sl as sl
import numpy as np
# import rerun
# rerun.init("test",spawn=True)
resolution = sl.RESOLUTION.HD720
fps = 30
depth_mode = sl.DEPTH_MODE.NEURAL
#include <rclcpp/rclcpp.hpp>
#include <moveit/move_group_interface/move_group_interface.h>
#include <moveit/planning_scene_interface/planning_scene_interface.h>
#include <moveit_msgs/msg/display_robot_state.hpp>
#include <moveit_msgs/msg/display_trajectory.hpp>
#include <moveit_msgs/msg/attached_collision_object.hpp>
#include <moveit_msgs/msg/collision_object.hpp>