๐
This file contains hidden or 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
#!/usr/bin/python3 | |
import rclpy | |
from rclpy.node import Node | |
from geometry_msgs.msg import PoseStamped | |
from nav_msgs.msg import Path | |
from math import sin, cos, pi | |
from squaternion import Quaternion | |
class PathPublisher(Node): |
This file contains hidden or 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
#!/usr/bin/python3 | |
import rclpy | |
from rclpy.node import Node | |
import cv2 | |
import os | |
import sys | |
from sensor_msgs.msg import Image | |
from cv_bridge import CvBridge, CvBridgeError | |
class ImagePublisher(Node): |
This file contains hidden or 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
#include <ros/ros.h> | |
#include <iostream> | |
#include <behaviortree_cpp/bt_factory.h> | |
#include <behaviortree_cpp/behavior_tree.h> | |
#include <nav_msgs/Odometry.h> | |
#include <bits/stdc++.h> | |
#include <math.h> | |
using namespace BT; | |
std::pair<int,int> target (5, 5); |