Added joystick_node for the new node_control system
It can also enable/disable altitude_node's thrust messages, and publishits own instead.
Moved mikrokopter package one folder deeper
The packages arduino and altitude_node aren't found inside anotherpackage directory, so this way they're both found and the repo is alittle more organized.
Added /altitude_node/enable topic to disable PID
Also, added node_control.cpp and Velocity2D.msg, which should have beencommited before but apparently weren't.
Added altitude_node and node_control
node_control listens to /mikrokopter/thrust, yaw, and velocity, andpublishes control messages using nav_lib. altitude_node publishes to/mikrokopter/thrust using PID_control on barometer values.
Improved the README in mikrokopter/arduino
Changed max thrust in nav_lib and set thrust to 0 in mk_wrapper
Tested joystick_control with the quadrotor, and it works! And it now hasenough thrust to get it off the ground.
Modified nav_lib to cap input for set_velocity and set_yaw between -1 and 1. Also modified CoordToPID to pass timestamp to PID.
Created file CoordToPID. It takes the simulates coordinates from Tom's simulator and plugs them into Priya's pid to come up with mikrokopter controls.
Fixed params not loading correctly
Fixed problem in joystick.launch
View revisions
Also available in: Atom