88 Commits

Author SHA1 Message Date
Patrick Goebel
e7bfde4b80 Added diagnostics, IMU and Gyro support to arduino_sensors 2016-09-12 06:03:54 -07:00
Patrick Goebel
8595db70b2 Added diagnostics dependencies to package.xml 2016-09-12 05:52:13 -07:00
Patrick Goebel
0fcdcd02e5 Updated arduino_node.py including adding a diagnostics rate parameters 2016-09-12 05:49:12 -07:00
Patrick Goebel
d0a61ed572 Updated servo_example_params.yaml 2016-09-12 05:45:30 -07:00
Patrick Goebel
9a6229656b Improved initial connection loop in arduino_driver.py 2016-06-27 07:05:17 -07:00
Patrick Goebel
6975ea2e74 Improved initial connection loop in arduino_driver.py 2016-06-27 05:50:38 -07:00
Patrick Goebel
82b2bbb546 Improved initial connection loop in arduino_driver.py 2016-06-26 18:43:21 -07:00
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
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
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
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
77f5963e05 Fixed bug in heartbeat check 2016-04-04 09:24:11 -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
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
Patrick Goebel
3f98ea4df8 Changed return value for GP2D12 IR sensor from max_range to NaN when raw values are out of range 2015-12-16 06:20:34 -08:00
Patrick Goebel
828984dd96 Fixed MaxEZ1 sensor type test to be case insensitive 2015-12-15 17:48:23 -08:00
Patrick Goebel
4297345cd4 Removed case-sensitive note for sensor type in example params file 2015-12-15 17:47:47 -08:00
Patrick Goebel
04712b6609 Made sensor type case insensitive since otherwise it is a pain to remember 2015-12-15 17:45:36 -08:00
Patrick Goebel
dc0a18b8b0 Removed extraneous set_target_position function 2015-12-15 06:48:07 -08:00
Patrick Goebel
dfebe5af8b Added have_joints variable to top of script to prevent error when exiting node 2015-12-15 06:47:31 -08:00