179 Commits

Author SHA1 Message Date
Patrick Goebel
c8fe760785 Added error codes to arduino_driver.py to be used with ROS diagnostics 2016-06-01 06:11:29 -07:00
Patrick Goebel
d8dd6a5b13 Restored defaults to ROSArduinoBridge.ino 2016-06-01 05:52:48 -07:00
Patrick Goebel
f796a1a38f Updated README for master branch 2016-05-28 08:28:25 -07:00
Patrick Goebel
ee4485b966 Updated README for master branch 2016-05-28 08:27:54 -07:00
Patrick Goebel
bc93573f6b Updated README for master branch 2016-05-28 08:27:12 -07:00
Patrick Goebel
171ed94a31 Enforced float() type on wheel_track for dth calculation 2016-04-18 06:47:36 -07:00
Patrick Goebel
a43f33e1b6 Tweaked description for IMU sensor type 2016-04-18 06:46:36 -07:00
Patrick Goebel
0e04388b5d Added flushInput() and flushOutput() to execute() when timeout or error occurs 2016-04-18 06:45:52 -07:00
Patrick Goebel
8dd8a19d8c Updated sample arduino_params.yaml file 2016-04-18 06:44:48 -07:00
Patrick Goebel
cf51f8cea8 Added UpdatePID service and dynamic reconfigure support 2016-04-18 06:44:14 -07:00
Patrick Goebel
1373f49137 Fixed typo in comment 2016-04-18 06:36:06 -07:00
Patrick Goebel
2b4567ec08 Added resetPID() call when robot velocities are 0 to fix motion perserverance bug 2016-04-18 06:30:15 -07:00
Patrick Goebel
d03061ae60 Added missing resetEncoders() function to encoder_driver.ino 2016-04-18 06:29:00 -07:00
Patrick Goebel
97946646d2 Added initial IMU support to arduino_sensors and base_controller 2016-04-12 06:30:07 -07:00
Patrick Goebel
17d6a44e3e Removed print statement from update_pid() function 2016-04-12 06:28:00 -07:00
Patrick Goebel
79e5a3b1a8 Updated imu.h and imu.ino and increased command argv array size from 16 to 32 to handel PID update 2016-04-11 08:03:37 -07:00
Patrick Goebel
6234b9260a Added max_attempts loop to execute() function 2016-04-10 07:35:51 -07:00
Patrick Goebel
e99871c6b3 Updated execute() commands to use readline() instead of multiple read() calls 2016-04-10 07:22:05 -07:00
Patrick Goebel
e996d12280 Added get_imu_data function and cleaned up unused variables 2016-04-09 16:16:32 -07:00
Patrick Goebel
03b5666094 Modified the execute() and recv() functions to be more robust 2016-04-09 06:19:57 -07:00
Patrick Goebel
59488c7b36 Removed DOS-like CR/LF line terminators in arduino_driver.py 2016-04-06 06:43:30 -07:00
Patrick Goebel
142e529de9 Replaced all strings with F() macro in Serial.print statements 2016-04-06 06:29:51 -07:00
Patrick Goebel
9a84380e7c Replaced all strings with F() macro in Serial.print statements 2016-04-06 06:29:19 -07:00
Patrick Goebel
77f5963e05 Fixed bug in heartbeat check 2016-04-04 09:24:11 -07:00
Patrick Goebel
6adb1bde26 Added preliminary support for Adafruit 9-DOF IMU to firmware but not yet to ROS nodes 2016-04-04 08:45:51 -07:00
Patrick Goebel
77a5a9a4d5 Updated check for missing PID parameters 2016-04-02 19:50:18 -07:00
Patrick Goebel
4853533400 Added heart beat test for the serial connection which allows unplugging and plugging back in the serial line 2016-04-02 18:53:20 -07:00
Patrick Goebel
afad6f10d9 Added reset_odometry service to base controller 2016-03-27 20:14:34 -07:00
Patrick Goebel
6441cb5abe Added default covariance values for odometry message as well as use_imu_heading parameter 2016-03-27 19:35:10 -07:00
Patrick Goebel
1bb6bb8f52 Added odom_linear_scale_correction and odom_angular_scale_correction parameters to base_controller 2016-03-27 07:14:12 -07:00
Patrick Goebel
cc5fa475b3 Commented out follow_controller code since it is not yet ready 2016-03-20 18:31:00 -07:00
Patrick Goebel
63a3296007 Added error message for unsuccessful connection 2016-03-19 19:34:34 -07:00
Patrick Goebel
038e0cf9b4 Added support for Adafruit Motor Shield V2 and Arduino Motor Shield V3 2016-03-15 07:49:35 -07:00
Patrick Goebel
453eae91b5 Added blank line for readability in encoder_driver.ino 2016-03-15 07:47:23 -07:00
Patrick Goebel
bf88d3fa03 Fixed indentation in encoder_driver.h 2016-03-15 07:46:42 -07:00
Patrick Goebel
f7c01d41c5 Added support for Arduino Motor Shield R3 2016-01-27 06:26:10 -08:00
Patrick Goebel
5933239b70 Added support for RoboGaia 3-axis encoder shield 2016-01-27 06:25:41 -08:00
Patrick Goebel
b8b51d4714 Increased maxium delay value for setting servo speed 2016-01-09 09:31:11 -08:00
Patrick Goebel
fc3a4509fe Conditionalized sensor publisher on rate != 0 2016-01-09 08:26:30 -08:00
Patrick Goebel
fb24de4223 Reverted units back to degrees for raw servo commands 2016-01-09 08:25:36 -08:00
Patrick Goebel
2c71342827 Added pin mode services 2016-01-09 08:24:18 -08:00
Patrick Goebel
fcb662907e Fixed bug in Range sensor message type 2015-12-21 08:06:23 -08:00
Patrick Goebel
2de2028192 Added ROS services for reading and writing from/to all named sensors 2015-12-18 15:25:13 -08:00
Patrick Goebel
896e60d417 Added fix to arduino_driver.py so that serial port now opens consistently. 2015-12-18 14:42:59 -08:00
Patrick Goebel
6a8f9413b9 Added default for frame_id parameter 2015-12-18 07:34:38 -08:00
Patrick Goebel
c2614fc25e Removed min/max check on servo_write since the range 0-180 does not apply to all joint types 2015-12-17 16:20:52 -08:00
Patrick Goebel
3e6ab35cbf Replaced self.base_frame with params['frame_id'] for sensors 2015-12-17 16:19:44 -08:00
Patrick Goebel
7bcd5c461d Changed min_angle to min_position and max_angle to max_position in sweep_servo.py example 2015-12-17 16:18:16 -08:00
Patrick Goebel
489debcdd5 Changed min_angle to min_position and max_angle to max_position to allow for joint types other than servos 2015-12-17 16:17:25 -08:00
Patrick Goebel
1289091111 Updated formula for computing distance for the Sharp GP2D12 IR range sensor 2015-12-16 06:29:44 -08:00