From 4a8cc7cd61cbb6fed0934634f2a102eb41695a1e Mon Sep 17 00:00:00 2001 From: Tommy Persson <tommy.persson@liu.se> Date: Tue, 15 Nov 2022 20:44:21 +0100 Subject: [PATCH] Work on gazebo dockers. --- doc/docker_interfacing.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/docker_interfacing.md b/doc/docker_interfacing.md index 944c8c1..47899ab 100644 --- a/doc/docker_interfacing.md +++ b/doc/docker_interfacing.md @@ -264,7 +264,7 @@ usb-Logitech_Wireless_Gamepad_F710_2CAE9E79-joystick Start the ROS driver for a joystick: ```bash -rosrun joy joy_node _dev:=/dev/input/by-id/${JOY_EXTRA0} _deadzone:=0.05 _autorepeat_rate:=50 _coalesce_interval:=0.1 __ns:=/extra0 +rosrun joy joy_node _dev:=/dev/input/by-id/${JOY_EXTRA0} _deadzone:=0.05 _autorepeat_rate:=50 _coalesce_interval:=0.1 __ns:=/dji0 ``` Set up the simulation: @@ -275,7 +275,7 @@ wexec roslaunch lrs_launch djisimtst.launch dynamics:=true publish_pose:=true mp Start the joystick controller: ```bash -wexec rosrun lrs_dji_sim joypose.py __ns:=/dji0 +wexec rosrun lrs_dji joypose.py __ns:=/dji0 ``` @@ -284,6 +284,8 @@ Start rviz: wexec roslaunch lrs_launch rviz_outside.launch ``` +Do take-off before flying. If take-off not done the altitude control does not work. + On the GamePad: - Green Button: Manual Mode, fly with gamepad - Red Button: Auto -- GitLab