Daniel Smith
850b011a55
Implement methods for getting overcurrent status. ( #57 )
2020-11-01 17:42:57 -08:00
Stefan Krupop
ccf6d0cdc0
Use OC_MOTORS instead of OC_MOTORS_PWM on V_1 models ( #55 )
...
SCI for older Roombas (V_1) did not include OC_MOTORS_PWM, but only OC_MOTORS. Use that instead of OC_MOTORS_PWM for V_1, interpeting values != 0 as "on"
2019-12-03 16:20:35 -08:00
Jacob Perron
f9f3aa9d3d
2.0.0
2019-09-02 14:12:10 -07:00
Jacob Perron
dff0308b1b
Cleanup examples
...
Signed-off-by: Jacob Perron <jacobmperron@gmail.com>
2019-09-02 12:30:45 -07:00
Jacob Perron
eaeea24a21
Use std::chrono instead of custom timestamp function
...
Signed-off-by: Jacob Perron <jacobmperron@gmail.com>
2019-09-02 12:09:43 -07:00
Jacob Perron
111b062251
Remove Trusty CI job
...
Since it is EOL.
Signed-off-by: Jacob Perron <jacobmperron@gmail.com>
2019-09-02 12:09:43 -07:00
Jacob Perron
5348a9ab7a
Default to C++11
...
Signed-off-by: Jacob Perron <jacobmperron@gmail.com>
2019-09-02 12:09:43 -07:00
Jacob Perron
dce7336bbe
Add compiler flags '-Wall -Wextra -Wpedantic'
...
Fix warnings as a result.
Signed-off-by: Jacob Perron <jacobmperron@gmail.com>
2019-09-02 12:09:43 -07:00
Jacob Perron
c1c0ce6ea9
Refactor travis.yml
...
Shorten by using matrix key and add -Werror compiler flag.
Signed-off-by: Jacob Perron <jacobmperron@gmail.com>
2019-08-30 00:54:50 -07:00
Jacob Perron
f5044c7ec8
Disconnect from serial cleanly on SIGINT
...
Send the STOP opcode before exiting the program to ensure the robot is not left in a state that could potentially drain the battery.
Signed-off-by: Jacob Perron <jacobmperron@gmail.com>
2019-08-27 00:47:49 -07:00
Ryota Suzuki
04ab2ccd80
add initializer of a variable for compiler compatibility
2019-08-26 22:43:29 -07:00
Ryota Suzuki
b42565be8e
add other serial communication options
...
Otherwize, it can be happened that Operation "7" (0x07) turns to be "135" (0x87)
2019-08-26 22:43:29 -07:00
Jacob Perron
9b3e77d0fe
Update README
...
Signed-off-by: Jacob Perron <jacobmperron@gmail.com>
2019-08-26 22:15:00 -07:00
Jacob Perron
6c36bca74f
Add cliff sensor example
...
Signed-off-by: Jacob Perron <jacobmperron@gmail.com>
2019-08-26 21:21:07 -07:00
Jacob Perron
cafe0c5e56
Add API for getting left and right cliff detections
...
Signed-off-by: Jacob Perron <jacobmperron@gmail.com>
2019-08-26 21:21:07 -07:00
Jacob Perron
fd2f05047e
Update wheeldrop example
...
Now prints status of each wheel to screen.
Signed-off-by: Jacob Perron <jacobmperron@gmail.com>
2019-08-26 21:21:00 -07:00
Jacob Perron
4a0f8ad72b
Add API for getting left and right wheeldrop
...
Signed-off-by: Jacob Perron <jacobmperron@gmail.com>
2019-08-26 21:21:00 -07:00
Jacob Perron
df149bdc12
Update maintainer info
...
Signed-off-by: Jacob Perron <jacobmperron@gmail.com>
2019-08-26 20:16:43 -07:00
Jacob Perron
a5dfda66c9
Use travis bionic image
...
Signed-off-by: Jacob Perron <jacobmperron@gmail.com>
2019-08-26 19:53:39 -07:00
Yutaka Kondo
2442ba209c
Use shared pointer when binding callback for serial read ( #38 )
...
* Resolves an issue with ROS Melodic on 18.04.
2019-08-19 10:32:00 -07:00
Anton Gerasimov
070550e655
Fix for compatibility with Boost 1.66
...
Compatibility with at least as early as Boost 1.58 still persists
Signed-off-by: Anton Gerasimov <tossel@gmail.com>
2019-06-04 00:49:40 -07:00
Jacob Perron
5723673141
Update wheel diameter for Create 2
...
Now matches the spec from iRobot.
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
2019-06-04 00:45:30 -07:00
Jacob Perron
5779d0bf3b
Add Bionic CI job
...
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
2019-06-04 00:30:40 -07:00
Jacob Perron
4e8d497024
Add static cast to fix compiler warnings
...
Signed-off-by: Jacob Perron <jacobmperron@gmail.com>
2019-03-26 22:03:10 -07:00
Jacob Perron
4d9f0e891a
Use package.xml format 3
...
Make catkin dependency conditional on ROS 1.
Signed-off-by: Jacob Perron <jacobmperron@gmail.com>
2019-03-12 09:59:24 -07:00
Jacob Perron
228f9d6997
Add Xenial build to CI
...
Signed-off-by: Jacob Perron <jacobmperron@gmail.com>
2019-03-11 23:41:53 -07:00
Jacob Perron
6037b8c3bb
Remove std::cout statement
2018-12-01 23:01:33 -08:00
jacobperron
a8c5bf2747
1.6.1
2018-04-21 00:17:39 -07:00
jacobperron
b69d2b830d
Update Changelog
2018-04-21 00:16:05 -07:00
Jacob Perron
764981444a
Build and install gtest as part of CI
2018-04-19 14:24:54 -07:00
Jacob Perron
8b019092f6
Update README with instructions for building and running unit tests
2018-04-19 14:00:34 -07:00
Jacob Perron
08da39e16e
Remove external cmake project for gtest
...
Now only build tests if a gtest installation already exists on the system. This should expedite time to build for users that do not care about building/running unit tests and also eliminates the need for internet access when building.
2018-04-19 13:49:53 -07:00
Jacob Perron
ec61febe20
Add test depend to gtest in package.xml
2018-04-19 13:40:31 -07:00
Jacob Perron
7ee03b3d54
1.6.0
2018-04-07 17:46:55 -07:00
Jacob Perron
bb284be503
Update Changelog
2018-04-07 17:25:25 -07:00
Jacob Perron
c7e111d8ec
Add git as catkin build depend
...
Needed for downloading gtest as external CMake project
2018-04-07 11:08:14 -07:00
Jacob Perron
59fcc041d9
Run unit tests as part of CI
2018-04-06 21:44:28 -07:00
Jacob Perron
3fca0c5798
Add unit tests (gtests)
...
Testing as much as we can without hardware
2018-04-06 21:44:28 -07:00
Jacob Perron
a70dee6605
Refactor Packet API
...
Declare setData member as protected
Rename 'setTempData' to 'setDataToValidate'
2018-04-06 21:44:28 -07:00
Jacob Perron
6a8702f4e1
Remove redundant packets from Data constructor
2018-04-06 21:44:28 -07:00
Jacob Perron
f243987b29
Merge pull request #33 from kmoriarty/master
...
updated setDigits function API comments
2018-04-04 22:28:30 -07:00
K.Moriarty
360b8c2599
updated setDigits function API comments
...
-added HTML to adjust for spacing in diagram, showing the proper ordering of segments.
-note that if this doesn't work, you may need to add asterisks back to each line, and try a more manual approach (using  , <br>).
For the API documentation parsing procedure used by ROS for C++ packages, refer to:
http://www.stack.nl/~dimitri/doxygen/manual/htmlcmds.html
2018-04-04 22:25:43 -07:00
jacobperron
14da9aed9a
Update examples
...
More concise and focusing on individual features:
* Battery level
* Bumpers
* Drive circle
* LEDs
* Serial packets
* Play song
* Wheeldrop
2018-03-28 21:12:03 -07:00
jacobperron
771e350305
Update README
2018-03-24 16:03:24 -07:00
Jacob Perron
ddd41c1b6e
Refactor cmake files
2017-12-17 18:37:08 -08:00
Jacob Perron
3a607544bf
1.5.0
2017-12-17 18:34:18 -08:00
Jacob Perron
fc8b1f300a
Update Changelog
2017-12-17 18:29:57 -08:00
Jacob Perron
cec664bfef
Merge pull request #31 from schemborerik/feat-wheels-pwm-measured-vel
...
Feat wheels pwm measured vel
2017-12-17 15:36:03 -08:00
Erik Schembor
5bc4d85177
Add apis for getting the measured velocities of the wheels
2017-12-13 22:04:22 -05:00
Erik Schembor
3906d7954d
Add ability to drive the wheels with direct pwm duty
2017-12-13 21:58:18 -05:00