sudo mkdir -p /etc/systemd/system/docker.service.d
sudo nano /etc/systemd/system/docker.service.d/http-proxy.confВ файл запишите как минимум следующее:
[Service]
Environment="HTTP_PROXY=http://10.128.0.90:8080"
Environment="HTTPS_PROXY=http://10.128.0.90:8080"
Environment="NO_PROXY=localhost,127.0.0.1"
После выполните
sudo systemctl daemon-reload
sudo systemctl restart dockerПроверка:
sudo systemctl show --property=Environment dockerterminate called after throwing an instance of 'c10::CUDAError' what(): CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Как проверить, не работает ли сетевое соединение или удаленный ROS Master? Запуск rtabmap из докера
добавить пользователея в группу tty
sudo usermod -a -G dialout $USERlogout or reboot Проверить есть ли пользователь в groups
groups/dev/v4l/by-path/pci-0000:00:14.0-usb-0:1.1:1.0-video-index0 удев для камер по path
https://askubuntu.com/questions/421822/jstest-gtk-not-saving-profile Для сохрания текущей конфигурации jscal-store При подключении вызывается jscal-restore Удалить конфиг можно из папки /var/lib/joystick
pip install -r /path/to/requirements.txtВ то время как вы подключены и терминал явно указывает, что текущая эвм -- Бортовой компьютер
sudo shutdown nowДополнительная информация о настройке автозапуска
rosrun robot_upstart install nuke_software/launch/full_robot_start.launch --job nuke_robot_ros --symlink --logdir /home/alakey/upstart_logs
sudo systemctl start nuke_robot_ros # запустить вручную
sudo systemctl stop nuke_robot_ros
rosrun robot_upstart uninstall nuke_robot_ros
sudo systemctl disable my_robot_ros.service # выключить автозапуск
sudo systemctl enable my_robot_ros.serviceДля запуска на нескольких машинах переходим в /usr/sbin/nuke_robot_ros-start и меняем ROS_HOSTNAME.
Папка для записи логов должна находится в папке HOME. Для уточнения папки можно открыть файл /usr/sbin/nuke_robot_ros-start и посмотреть переменную log_path в 12 строке. После смены папки выполнить sudo systemctl daemon-reload
Очередь запуска: clearpathrobotics/robot_upstart#71 Автозапуск по подключению USB или вроде того
- Connect this PC and onboard one to the same network,
- Set up a network to onboard device to have
192.168.50.154Static IP addres, - Set up a network to this device to have
192.168.50.XXXStatic IP addres,
- Set up a network to onboard device to have
- SSH to onboard PC with alias
connect-robot, - Execute
rosatom-pcalias (leads to full_robot_start.launch), - On this PC execute
rosatomto launch gui.
instructions to test partly/full
DO
sudo nano ~/.zshrcat the very botom find ROS related export and coment out shoud' be:
export ROS_HOSTNAME=192.168.50.155
export ROS_MASTER_URI=http://192.168.50.155:11311After that you'll be able to run test purpose launch file
roslaunch nuke_software full_robot_start.launchlocaly with out second PC and UI
If can node reports error 3 (No device or smth) try:
- CHK if device connected
- connect and restart PC
- IF 2 is not an option:
- execute
sudo systemctl start I7CAN
- chk it with comand below, u should see SUCSESS word with reacent date
systemctl status I7CAN
- chk if new /dev/ttyUSB* device arived
rostopic pub /joy/f710 sensor_msgs/Joy '{ header: {seq: 10, stamp: {secs: 1431222430, nsecs: 345678}, frame_id: "3"}, axes: [0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 0.0, 0.0], buttons: [0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0]}'
python3 -m pip install PyQt5v4l2-ctl --list-devicesalso
ll /dev/v4l/by-path | grep index0https://ubuntu.com/core/docs/networkmanager/configure-wifi-connections
nmcli d wifi list
sudo nmcli d wifi rescan
nmcli d wifi connect RDMTSG
nmcli d wifi connect ASUS_DEMO_NEThttps://stackoverflow.com/questions/21857935/pyqt-segmentation-fault-sometimes
https://www.cyberciti.biz/howto/how-to-install-and-edit-desktop-files-on-linux-desktop-entries/
https://askubuntu.com/questions/1299067/ubuntu-20-04-no-driver-loaded-for-intel-iris-xe-graphics https://askubuntu.com/questions/1521777/graphics-drivers-with-ubuntu-20-04