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
# FLEET CONFIG ================================================================= | |
# RMF Fleet parameters | |
rmf_fleet: | |
name: "originbot" | |
fleet_manager: | |
prefix: "http://127.0.0.1:8000" | |
user: "some_user" | |
password: "some_password" | |
limits: |
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
<?xml version='1.0' ?> | |
<launch> | |
<arg name="use_sim_time" default="true"/> | |
<arg name="failover_mode" default="false"/> | |
<arg name="map_name" default="lab07" description="Name of the rmf_gazebo map to simulate" /> | |
<!-- Common launch --> | |
<include file="$(find-pkg-share rmf_demos)/common.launch.xml"> | |
<arg name="use_sim_time" value="$(var use_sim_time)"/> |
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
# Copyright 2021 Open Source Robotics Foundation, Inc. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
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/env python3 | |
import sys | |
import math | |
import threading | |
import rclpy | |
import uvicorn | |
from fastapi import FastAPI | |
from rclpy.node import Node | |
from rclpy.qos import qos_profile_system_default | |
from rclpy.qos import ReliabilityPolicy, QoSProfile |
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/env python3 | |
from tf_transformations import quaternion_from_euler | |
from tf_transformations import euler_from_quaternion | |
from rclpy.qos import ReliabilityPolicy, QoSProfile, HistoryPolicy, DurabilityPolicy | |
from rmf_fleet_msgs.msg import PathRequest | |
from rmf_fleet_msgs.msg import Location | |
from sensor_msgs.msg import BatteryState | |
import rclpy | |
from rclpy.action import ActionClient |
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/env python3 | |
from tf_transformations import quaternion_from_euler | |
from tf_transformations import euler_from_quaternion | |
from rclpy.qos import ReliabilityPolicy, QoSProfile, HistoryPolicy, DurabilityPolicy | |
from rmf_fleet_msgs.msg import PathRequest | |
from rmf_fleet_msgs.msg import Location | |
from sensor_msgs.msg import BatteryState | |
import rclpy | |
from rclpy.action import ActionClient |
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/env python3 | |
from tf_transformations import quaternion_from_euler | |
from tf_transformations import euler_from_quaternion | |
from rclpy.qos import ReliabilityPolicy, QoSProfile, HistoryPolicy, DurabilityPolicy | |
from rmf_fleet_msgs.msg import PathRequest | |
from rmf_fleet_msgs.msg import Location | |
from sensor_msgs.msg import BatteryState | |
import rclpy | |
from rclpy.action import ActionClient |