Skip to content

Instantly share code, notes, and snippets.

View arjo129's full-sized avatar
💭
🦀

Arjo Chakravarty arjo129

💭
🦀
View GitHub Profile
@arjo129
arjo129 / mapf_T_cross_not_working.yaml
Created September 13, 2024 15:27
Scenario where mapf is unable to solve .
agents:
A:
start:
- 2
- -16
yaw: 0.0
goal:
- 1
- -16
radius: 0.45
from smart_cart_api_server.models.token import Credentials, TokenResponse
from smart_cart_api_server.models.cart_authorization import (
AuthorizationRequest,
AuthorizationResponse,
)
from smart_cart_api_server.models.cart_status import CartStatus
from smart_cart_api_server.models.destination_complete import DestinationComplete
from smart_cart_api_server.models.robot_status import RobotStatus
from smart_cart_api_server.models.task_status import TaskStatus
@arjo129
arjo129 / rmf_reservation.repos
Created November 8, 2023 02:27
RMF Playground
repositories:
demonstrations/rmf_demos:
type: git
url: [email protected]:open-rmf/rmf_demos.git
version: arjo/throwaway/reservation_demo
rmf/ament_cmake_catch2:
type: git
url: https://github.com/open-rmf/ament_cmake_catch2.git
version: main
rmf/rmf_api_msgs:
@arjo129
arjo129 / Dockerfile
Created January 12, 2023 05:06
ROS 2 Build docker file
FROM ubuntu:22.04
RUN locale # check for UTF-8
RUN apt update && apt install -y locales
RUN locale-gen en_US en_US.UTF-8
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
RUN export LANG=en_US.UTF-8
ENV DEBIAN_FRONTEND=noninteractive

Note: These instructions are set up for using Qemu/KVM. If you have virtualbox installed, you cannot have kvm installed at the same time. It's possible to run mininet via the

Step 1: Download QEMU/KVM

  sudo apt-get -y -qq install \
                   kvmtool cloud-utils genisoimage qemu-kvm qemu-utils \
                   moreutils mtools
@arjo129
arjo129 / buoyancy_test_rotated.sdf
Last active January 24, 2022 02:10
Test case to reproduce transformation error in buoyancy plugin in the graded mode. Based on test in gazebosim/gz-sim#1302.
<?xml version="1.0" ?>
<sdf version="1.6">
<world name="center_of_volume">
<physics name="fast" type="ignored">
<real_time_factor>0</real_time_factor>
</physics>
<plugin
filename="libignition-gazebo-physics-system.so"
name="ignition::gazebo::systems::Physics">
@arjo129
arjo129 / buoyancy_restoring_moments_test.sdf
Created January 18, 2022 01:29
Simple restoring moments test for ignition gazebo
<sdf version="1.6">
<world name="buoyancy">
<physics name="1ms" type="ode">
<max_step_size>0.001</max_step_size>
<real_time_factor>1</real_time_factor>
</physics>
<plugin
filename="ignition-gazebo-physics-system"
name="ignition::gazebo::systems::Physics">
@arjo129
arjo129 / openrmf.repos
Created June 18, 2021 02:46
Openrmf ssh repos file
repositories:
rmf/rmf_battery:
type: git
url: [email protected]:open-rmf/rmf_battery.git
version: main
rmf/rmf_internal_msgs:
type: git
url: [email protected]:open-rmf/rmf_internal_msgs.git
version: main
rmf/rmf_ros2:
@arjo129
arjo129 / dynamixel_three_motor_teach_repeat.ino
Created February 21, 2021 01:19
A test bench which allows a dynamixel motors to learn and playback motion.
#include <DynamixelWorkbench.h>
#if defined(__OPENCM904__)
#define DEVICE_NAME "3" //Dynamixel on Serial3(USART3) <-OpenCM 485EXP
#elif defined(__OPENCR__)
#define DEVICE_NAME ""
#endif
#define BAUDRATE 57600
#define DXL_ID 1
#!/usr/bin/env python3
import rclpy
from rclpy.node import Node
from rclpy.duration import Duration
from rmf_fleet_msgs.msg import PathRequest, Location
rclpy.init(args=None)
node = Node("test_slotcar")