Cob Cmd
#! /bin/bash
url="http://192.169.7.32:9999"
file="joint_space.json"
declare -A cmd_map
cmd_map[1]="-h"
cmd_map[2]="--move-to"
cmd_map[3]="--tes...
Close_drag
{
"drag": false,
"mode": [
8,
8,
8,
8,
8,
8
]
}
Cart_to_jnt
{
"cart": [
0.070059925,
-0.35693141,
0.230572741,
-1.53232142,
-2.73160644,
0.056278602
],...
Algorithm Debug
#! /bin/bash
COB="./cob-cmd.sh --move-to "
${COB} ./joint_zero.json
${COB} ./joint_space.json
${COB} ./tcp_space.json
read -p "move to joint ...
Esp8266 Code
#include
// put function declarations here:
void InitLED()
{
pinMode(LED_BUILTIN, OUTPUT);
}
void ControlLED()
{
digitalWrite(LED_BUILTIN, ...
Build
#! /bin/bash +x
# independies_array=$(build-essential cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev python-dev...
Watch_space
#! /bin/bash
function CleanDocker()
{
container_id=$(docker ps -q)
echo ${container_id}
docker exec -it ${container_id} pkill mnc.ex...
Watch_frp
#!/bin/bash
PROCESS_NAME="frpc"
check_process() {
if pgrep -x "$PROCESS_NAME" >/dev/null; then
echo "Process $PROCESS_NAME is running...
Test_expect
#! /bin/bash -x
sudo -S bash -c 'whoami'
whoami
Ssh_detect
#! /bin/bash
username="root"
# remote_host="192.169.0.152"
arg1=" -o StrictHostKeyChecking=no "
remote_host="47.100.31.121"
# passwd="111111"
pas...