Functions | |
def | add_arguments |
def | main |
Variables | |
string | bagname = 'robot.bag' |
dictionary | commands |
tuple | devnull = open(os.devnull, 'w+') |
string | fileroot = "debug_snapshot" |
string | help_text = "Take a debug snapshot of a running robot" |
string | name = "debug-snapshot" |
string | rosbash = 'source /opt/ros/indigo/setup.bash;' |
string | snapshot_version = "0.0.1" |
list | topics |
The snapshot command creates a zip file of relevant robot debug info. Copyright 2016 Fetch Robotics Inc. Author: Aaron Blasdel
def fetch_tools.commands.debug_snapshot.add_arguments | ( | parser | ) |
Definition at line 115 of file debug_snapshot.py.
def fetch_tools.commands.debug_snapshot.main | ( | args | ) |
Definition at line 68 of file debug_snapshot.py.
string fetch_tools::commands::debug_snapshot::bagname = 'robot.bag' |
Definition at line 24 of file debug_snapshot.py.
00001 {"dpkg_fetch":"COLUMNS=200 dpkg -l ros-indigo-fetch-*", 00002 "dpkg_all":"COLUMNS=200 dpkg -l", 00003 "lsusb":"lsusb -v", 00004 "lspci":"lspci -vv", 00005 "roswtf":rosbash + "roswtf", 00006 "rosnode_list":rosbash + "rosnode list", 00007 "rostopic_list":rosbash + "rostopic list", 00008 "rossrv_list":rosbash + "rosservice list", 00009 "rosparam_list":rosbash + "rosparam list", 00010 "rosparam_dump":rosbash + "rosparam get /", 00011 "dmesg":"dmesg", 00012 "date":"date", 00013 "meminfo":"cat /proc/meminfo", 00014 "ip_route":"ip route", 00015 "ifconfig":"ifconfig -a", 00016 "iwconfig":"iwconfig", 00017 "network_interfaces":"cat /etc/network/interfaces", 00018 "hosts":"cat /etc/hosts", 00019 "env":"env", 00020 "roscore.conf":"cat /etc/init/roscore.conf", 00021 "robot.conf":"cat /etc/init/robot.conf", 00022 "sixad.conf":"cat /etc/init/sixad.conf", 00023 "soundplay.conf":"cat /etc/init/soundplay.conf", 00024 "joystick_monitor.conf":"cat /etc/init/joystick_monitor.conf", 00025 "read_board_charger": rosbash + "rosrun fetch_drivers read_board 0x3f", 00026 "read_board_mainboard": rosbash + "rosrun fetch_drivers read_board 0x00", 00027 "read_board_wheel_left": rosbash + "rosrun fetch_drivers read_board 0x11", 00028 "read_board_wheel_right": rosbash + "rosrun fetch_drivers read_board 0x12", 00029 "top": "top -n 1 -b", 00030 }
Definition at line 36 of file debug_snapshot.py.
tuple fetch_tools::commands::debug_snapshot::devnull = open(os.devnull, 'w+') |
Definition at line 28 of file debug_snapshot.py.
string fetch_tools::commands::debug_snapshot::fileroot = "debug_snapshot" |
Definition at line 21 of file debug_snapshot.py.
string fetch_tools::commands::debug_snapshot::help_text = "Take a debug snapshot of a running robot" |
Definition at line 17 of file debug_snapshot.py.
string fetch_tools::commands::debug_snapshot::name = "debug-snapshot" |
Definition at line 16 of file debug_snapshot.py.
string fetch_tools::commands::debug_snapshot::rosbash = 'source /opt/ros/indigo/setup.bash;' |
Definition at line 27 of file debug_snapshot.py.
string fetch_tools::commands::debug_snapshot::snapshot_version = "0.0.1" |
Definition at line 19 of file debug_snapshot.py.
00001 ["/robot_state", 00002 "/diagnostics", 00003 "/diagnostics_agg", 00004 "/battery_state"]
Definition at line 30 of file debug_snapshot.py.