Skip to content

HerveFrezza-Buet/demo-teleop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

demo-teleop

key_teleop.py is very simple ROS keyboard teleop. We also provide a teleop dedicated for controlling a drone (safe_drone_teleop.py). This teleop catches cmd_vel commands, allowing to interupt an external control with the keybord.

examples for key_teleop.py

rosrun demo_teleop key_teleop.py

rosrun demo_teleop key_teleop.py --persist

rosrun demo_teleop key_teleop.py /cmd_vel:=/some_input_cmdvel_topic

examples for safe_drone_teleop.py

rosrun demo_teleop safe_drone_teleop.py reset:=/thedrone/reset takeoff:=/thedrone/takeoff land:=/thedrone/land cmd_vel_in:=/dronecontroller/cmd_vel cmd_vel_out:=/thedrone/cmd_vel

The keyboard allows for taking off and land. When it flyes, the controller controls the drone, but only if no key has been pressed during the last second. You can read the status of the safe_drone_teleop :

rostopic echo status

The node parameters can be managed by rqt_reconfigure (i.e. dynamic reconfigure support).

About

very simple ROS keyboard teleop

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published