Skip to content

Instantly share code, notes, and snippets.

View ericjohnson97's full-sized avatar

Eric Johnson ericjohnson97

View GitHub Profile
@ericjohnson97
ericjohnson97 / cockpit_real.yml
Created February 11, 2024 02:24
cockpit with real drone
version: "3.3"
services:
mavlink2rest:
image: ericjohnson97/iq_sim_mavlink2rest:t0.11.19
network_mode: host
environment:
- MAVLINK_SRC=udpin:127.0.0.1:14551
- SERVER_PORT=0.0.0.0:6040
version: "3.3"
services:
mavlink2rest:
image: ericjohnson97/iq_sim_mavlink2rest:t0.11.19
network_mode: host
environment:
- MAVLINK_SRC=udpin:127.0.0.1:14551
- SERVER_PORT=0.0.0.0:6040
@ericjohnson97
ericjohnson97 / MAV_CMD_DO_REPOSITION.json
Created March 23, 2023 03:27
MAV_CMD_DO_REPOSITION
{
"header": {
"system_id": 255,
"component_id": 240,
"sequence": 0
},
"message": {
"type":"COMMAND_INT",
"target_system": 1,
"target_component": 1,
import requests
import argparse
import json
import time
def print_message(url, sysid=1, compid=1, message="GLOBAL_POSITION_INT"):