Skip to content

Instantly share code, notes, and snippets.

View naveenrobo's full-sized avatar
👋

Naveen Sakthivel naveenrobo

👋
View GitHub Profile
{
"building_name": "new_site",
"levels": {
"l1": {
"lanes": [
[
2,
3,
{
"speed_limit": 0
{
"building_name": "new_site",
"levels": {
"l0": {
"lanes": [
[
4,
5,
{
"speed_limit": 0
{
"levels": {
"level1": {
"lanes": [
[7, 12, { "speed_limit": 0 }],
[12, 7, { "speed_limit": 0 }],
[8, 9, { "speed_limit": 0 }],
[9, 8, { "speed_limit": 0 }],
[0, 4, { "speed_limit": 0 }],
[4, 0, { "speed_limit": 0 }],
@naveenrobo
naveenrobo / imu_bosch.py
Last active July 3, 2024 07:50
imu_bosch.py
#!/usr/bin/env python3
import rclpy
from rclpy.node import Node
from std_msgs.msg import Float32
from tf_transformations import euler_from_quaternion
from sensor_msgs.msg import Imu, MagneticField
from geometry_msgs.msg import Vector3Stamped
from math import radians
from numpy import sign
import socket
echo "123"
@naveenrobo
naveenrobo / index.html
Created March 2, 2024 06:20
Sample HTML file for loading existing site
<html>
<head>
<meta charset="utf-8">
<title>The RMF Site Editor</title>
<style>
body {
background-color: #101010;
margin: 0;
padding: 0;
@naveenrobo
naveenrobo / presigned.py
Created August 19, 2023 08:51
Generate S3 persigned url
import boto3
from botocore.client import Config
from flask import Flask, request, jsonify
app = Flask(__name__)
AWS_ACCESS_KEY = ""
AWS_SECRET_KEY = ""
BUCKET_NAME = ""
@naveenrobo
naveenrobo / client.cs
Created August 8, 2022 17:10
Send file from TCP Client to TCP Server in C#
using System;
using System.IO;
using System.Net.Sockets;
namespace SlingshotTcpClient
{
class Program
{
static void Main(string[] args)
{
.bg
canvas#hero-lightpass
#container
h1 AirPods Pro
.container-hero
div.h1 Active Noise Cancellation for immersive sound.
div.h1 Transparency mode for hearing what’s happening around you.
div.h1 A customizable fit for all-day comfort.
div.h1 Magic like you’ve never heard.
package dev.dotworld.mdm.ui.videocall
import android.annotation.TargetApi
import android.content.Context
import android.graphics.ImageFormat
import android.hardware.camera2.CameraCharacteristics
import android.hardware.camera2.CameraManager
import android.hardware.camera2.CameraMetadata
import android.os.Build
import android.util.Log