Commit Graph

723 Commits

Author SHA1 Message Date
Ken Conley 8092d94e3c roslib.substitution_args: lower-level support for . Not exposed in roslaunch yet 2010-04-22 18:50:08 +00:00
Bhaskara Marthi f0e7a87c2f Adding unadvertise function
Author: Daniel Hewlett
2010-04-22 16:54:44 +00:00
Bhaskara Marthi e92009c550 Take the __log argument into account when choosing log location 2010-04-22 16:42:28 +00:00
Bhaskara Marthi 88ef34e588 Decrease level of warning when connection to service client is dropped 2010-04-22 16:40:10 +00:00
Ken Conley 2e8ebfa453 fixing broken tests 2010-04-22 07:40:15 +00:00
Josh Faust 3cc9a8d0e0 didn't need the includes_length argument anymore 2010-04-22 01:40:40 +00:00
Brian Gerkey 11ccd6caad Use rostest to run gtests and pyunits; still need to expose timeouts 2010-04-22 00:34:11 +00:00
Ken Conley ad16c1f0c6 minor cleanup. TCPServer is new-style class now, switched to with 2010-04-22 00:26:56 +00:00
Ken Conley 110ce768d3 mild cleanup of notes in rospy.udpros to explore how much effort it will be to implement 2010-04-22 00:26:03 +00:00
Josh Faust 9165888bfa Fix fixed-size arrays of strings (#2640) 2010-04-21 18:48:41 +00:00
Ken Conley d0e3a6b91a roslib: #2638 patch from bhaskara 2010-04-21 00:45:06 +00:00
Bhaskara Marthi 68ba3c5d8c Correct handling of log location
Following the policy introduced in Ros 0.10.0, with the addition that if the lisp variable *ros-log-location* is set, that has the highest priority
2010-04-20 20:47:47 +00:00
Josh Faust 478cd3ddf4 Add __getServerMD5Sum() and __s_getServerMD5Sum() methods required for service backwards compatibility (#2622) 2010-04-19 18:34:50 +00:00
Bhaskara Marthi 4010259952 Update documentation 2010-04-17 01:19:50 +00:00
Bhaskara Marthi c9de90113c fixed bug in previous commit that made it very verbose 2010-04-17 00:57:51 +00:00
Bhaskara Marthi 5af98e21c3 Allow debug levels to be set when node is not running
When node starts, the debug levels read from the ros parameters have precedence over the once that were locally set
2010-04-17 00:28:32 +00:00
Josh Faust c5758f5f71 fix ServiceClientLink disconnect 2010-04-16 22:52:08 +00:00
Josh Faust 602209098a Validate parameters to subscribe() and advertise(), including now strictly enforcing that you cannot advertise with * as the datatype/md5sum 2010-04-16 22:39:17 +00:00
Josh Faust 63cdef698c * Make *-md5sum subscribers decay to real types when they are available (either a 2nd concrete subscriber in the same node or once a publisher connects with a non-* md5sum)
* Fix bug where multiple subscribers on the same topic with different md5sums would silently succeed but not work in some cases
 * Fix UDPROS to fail the connection if the md5sums don't match (do the same validation TCPROS does)
 * Fix possible infinite loop in TransportUDP
 * Remove subscriber-side disconnect on publisherUpdate b/c it does not match rospy's behavior
 * Fix sending of header errors to not disconnect before the error is sent
2010-04-16 19:58:15 +00:00
Lorenz Moesenlechner e725c5456f roslisp stand-alone scripts use sbcl ros package now. 2010-04-16 00:29:27 +00:00
Lorenz Moesenlechner 845e14ec1d Added recompilation of FASL files if they have wrong version to roslisp-sbcl-init-slime. 2010-04-16 00:06:10 +00:00
Lorenz Moesenlechner 67b474ead2 Removed apparently unused file and added sbcl config to be used with slime. 2010-04-15 23:35:36 +00:00
Bhaskara Marthi 9d8c6d0bd2 moving tests to the roslisp_test package 2010-04-15 03:20:18 +00:00
Ken Conley 266d350439 fixed roslib.vcs legacy support 2010-04-15 02:18:50 +00:00
Lorenz Moesenlechner b8ca7bd7e0 Ignore thread termination errors when the subscriber thread is already dead. 2010-04-15 02:17:33 +00:00
Ken Conley 8993d05311 preparing ROS 1.1.2 2010-04-15 02:13:49 +00:00
Ken Conley 0fcab4f899 cleaning up roslisp 2010-04-15 02:13:39 +00:00
Ken Conley 7e9a1301b1 moving roslisp to be part of ROS 1.1.x 2010-04-15 01:43:02 +00:00
Ken Conley adc5d139c3 moving to new componentized vcs library from roslib2 2010-04-15 01:18:32 +00:00
Ken Conley 75fc36d36f another fix for distro.py on OS X 2010-04-15 00:48:13 +00:00
Ken Conley b4c8d3c967 fixing distro test for non Ubuntu systems 2010-04-15 00:24:21 +00:00
Romain Thibaux 3bc6cc0a6b Simply renamed epsilon as age_penalty, which is clearer 2010-04-14 20:13:26 +00:00
Ken Conley 7bea267170 new distro.py file from roslib2 2010-04-14 01:59:07 +00:00
Ken Conley e790afb45a removed stale comment 2010-04-14 01:33:07 +00:00
Ken Conley bc5e17e7b8 got rid of lazy import of traceback 2010-04-09 22:32:20 +00:00
Ken Conley 55b28052cf roslib: #2551 python messages now pickleable 2010-04-09 20:43:31 +00:00
Ken Conley 05826c3834 rospy: #1807 #2579 performance tuning of serializers. About 10% faster 2010-04-09 01:08:47 +00:00
Ken Conley 3380c09820 rospy: updated to use gensrv_py.py directly and removed symlinks 2010-04-09 00:41:13 +00:00
Ken Conley e4d8e40503 rospy: targetting genmsg_py.py directly as otherwise cmake doesn't seem to pick up file update 2010-04-09 00:40:10 +00:00
Josh Faust 25910de540 don't always log the fact that a timer is getting reset (#2585) 2010-04-08 22:29:15 +00:00
Ken Conley 16b7d68a5c roslib.message: prepping #1807 2010-04-08 22:28:12 +00:00
Brian Gerkey cc882f3a05 Added macro for testing roslaunch files, #2153. 2010-04-08 21:07:50 +00:00
Ken Conley 7b37cf0444 roslib.message should be raising ValueError instead of ROSMessageException in invalid type cases 2010-04-08 17:32:31 +00:00
Ken Conley b24601eec9 rospy: #2584 changed instance check to md5sum check so it works for dyngen instances 2010-04-08 02:20:10 +00:00
Ken Conley a8dffc8b27 rospy: #2587 bad doc 2010-04-08 01:32:59 +00:00
Ken Conley 36443bd94f rospy: #2347 implemented ServiceProxy.wait_for_service(). Required restructuring of libraries in submodules. Also includes tests 2010-04-07 23:34:46 +00:00
Ken Conley 41fbfd5f53 genpy: converted to epydoc comments 2010-04-07 22:04:39 +00:00
Ken Conley 55be496c44 rospy: touching message generator to force update 2010-04-07 21:40:10 +00:00
Ken Conley 4e8d810c24 roslib: #2074 change _get_types() accessor to use self instead of static accessor so it will work for dyngen cases 2010-04-07 21:19:56 +00:00
Josh Faust 8b3c98ca26 missed some forward declarations 2010-04-06 20:43:14 +00:00
Josh Faust 52a1b634fe Break ROS_DECLARE_MESSAGE/etc. into a separate header 2010-04-06 20:38:18 +00:00
Josh Faust a77d8567f4 Fix waitForMessage() timeout to not return immediately, and fix unit test to actually test against it 2010-04-05 23:01:27 +00:00
Ken Conley cbf74fd2d4 merging jamesb's patch for string deser speed, approx 10% 2010-04-02 18:31:58 +00:00
Ken Conley 85da4d0582 genpy: patch from jamesb to fix performance issues with Message construction 2010-04-02 18:18:02 +00:00
Ken Conley f7231c2aa7 roslaunch: redoing/updating node name logic for rosh. new guarantees on node name assignment and changing return value of launch_nodes to be externally useful 2010-04-02 00:58:08 +00:00
Josh Faust 578494ac1d Fix ros::service::call() with ~ names, which was incorrectly throwing an exception 2010-03-29 18:52:41 +00:00
Josh Faust be019b07ac remove invalid md5sum member from TopicInfo 2010-03-27 20:53:15 +00:00
Lorenz Moesenlechner 939bc836a9 Lisp messages use the ASDF::ROSLISP-MSG-SOURCE-FILE component class now.
That means they are compiled into $ROS_HOME/roslisp/...
2010-03-25 20:02:42 +00:00
Josh Faust 4863a670d3 Provide callOne result -- needed for the nodelet callback queue manager 2010-03-24 21:46:29 +00:00
Josh Faust 026c6824a4 fix exception catching from services to not assert 2010-03-24 20:20:15 +00:00
Ken Conley a8ac62fa2d removed deprecated note for ROS_HOSTNAME 2010-03-24 20:07:36 +00:00
Brian Gerkey e2537b9313 Added -pthread to link line, #2490 2010-03-24 01:13:33 +00:00
Josh Faust 08f60be9f7 ROS_ENABLE_DEBUG -> ROSCPP_ENABLE_DEBUG 2010-03-23 21:57:51 +00:00
Josh Faust 24b64c87fb switch the tls callbacks back to a deque 2010-03-23 03:40:14 +00:00
Josh Faust 7b680f04ec only meant to make the tls callbacks into a list 2010-03-22 23:48:11 +00:00
Josh Faust eba64923b6 * Make CallbackQueue::callAvailable()/callOne() reentrant, i.e. you can now call into them from within a callback being called from the same queue (#2500)
* Add callback queue unit tests
2010-03-22 23:21:25 +00:00
Josh Faust 249cc7c104 Fix invalid memory reads 2010-03-22 23:15:57 +00:00
Ken Conley 43f4c568d2 roslib.is_interactive/set_interactive flags 2010-03-22 22:30:04 +00:00
Ken Conley f601266455 roslib: removing old rosdeb support for setup_default_environment 2010-03-22 22:03:42 +00:00
Ken Conley 4b3dd77568 rosmaster: turning of LOG_API 2010-03-22 20:34:17 +00:00
Josh Faust d75005c3dd service servers for non-persistent services now close their connections after sending the response 2010-03-22 18:44:23 +00:00
Josh Faust 891344fa71 Fix invalid char* equality comparison (#2548) 2010-03-22 18:38:51 +00:00
Romain Thibaux 615e226f70 Added a warning (fires only once) when messages do not respect the provided lower bound on inter-message arrival time 2010-03-20 06:42:11 +00:00
Romain Thibaux 3888637b28 You can now provide a lower bound on the inter-message interval, which allows ApproximateTime to prove optimality of a match early, which does not change the output but removes delays. Plus more unit tests 2010-03-20 01:21:21 +00:00
Romain Thibaux 3ceea39a90 More unit tests again 2010-03-19 21:24:10 +00:00
Romain Thibaux be5f2853d4 More unit tests 2010-03-19 21:03:40 +00:00
Romain Thibaux 83b79f9195 Now ApproximateTime can use bounds to declare a match optimal early, in particular it outputs a match immediately when the time stamps exactly match 2010-03-19 20:14:04 +00:00
Romain Thibaux c9c9559a53 Added maximum queue length to ApproximateTime. It was trickier than I thought. I added basic unit tests but I should add some more. 2010-03-19 08:17:14 +00:00
Romain Thibaux dc12a2ad4c Correcting a bug where only messages of the first 3 topics were being forwarded, the others contained NULL 2010-03-18 23:45:55 +00:00
Ken Conley 328943c1f7 roslib: #2542 removed roslib/Time.msg 2010-03-18 21:25:43 +00:00
Josh Faust 5c2e07a140 remove deprecated /time topic 2010-03-18 21:07:39 +00:00
Ken Conley 53a446ba29 rospy: removing /time support 2010-03-18 21:01:06 +00:00
Ken Conley 8233619f4c rospy: #2536 bug fix for on_shutdown failing. Reworked shutdown logic to have separate list for client shutdown hooks 2010-03-18 20:26:41 +00:00
Ken Conley 6b947cca65 rosmaster: adding getTopicTypes in order to support subscribers declaring types 2010-03-18 20:17:47 +00:00
Josh Faust 26d0d3c165 update for release 1.1.1 2010-03-18 20:14:39 +00:00
Josh Faust dd17e9272f fix build on osx 2010-03-18 18:40:34 +00:00
Josh Faust e24ce63d9e fix for gold linker 2010-03-18 18:16:09 +00:00
Josh Faust 65ef2aae4c Fix concurrent running of gensrv_cpp on the same package 2010-03-18 18:05:05 +00:00
Ken Conley 56c251aad3 updating version number files to reflect the fact that trunk is ros 1.1 series 2010-03-18 01:40:05 +00:00
Ken Conley cdf028dbe0 roslisp: removing from ros core now, probably make its own stack 2010-03-18 01:26:28 +00:00
Ken Conley 5c7694fd03 roslisp: now part of ROS core 2010-03-18 01:04:37 +00:00
Ken Conley 9a2469219b roslisp is now part of ROS 2010-03-18 01:03:21 +00:00
Josh Faust 9318186e70 Rename some badly-named macros 2010-03-17 22:34:43 +00:00
Josh Faust 8384bc66af Fix race conditions on shutdown exacerbated by retry 2010-03-17 18:46:15 +00:00
Josh Faust 32747d8478 Don't retry if there was a header error (e.g. mismatched md5sum) 2010-03-16 18:38:21 +00:00
Ken Conley 7852a1679a roslib: #2501 attempting to resolve issue by checking perms first before attempting operation 2010-03-16 02:54:32 +00:00
Josh Faust f181a97b86 sync_exact_time.h -> sync_policies/exact_time.h
sync_approximate_time.h -> sync_policies/approximate_time.h
2010-03-16 00:18:46 +00:00
Josh Faust 78ecda7053 sync::Synchronizer -> Synchronizer
sync namespace -> sync_policies namespace
2010-03-16 00:10:42 +00:00
Ken Conley aacd79220f test_roslib: #2514 added ps tests, plus refactored to make it shorter and more readable 2010-03-15 22:56:27 +00:00
Josh Faust 7a1d5be224 Move drop callback into the exact time policy (since it will look different for other policies) 2010-03-15 22:52:43 +00:00
Josh Faust 9d6aca1ff1 * Move PassThrough filter to its own header
* Fix TimeSynchronizer's connecting constructors and add test for it
2010-03-15 22:46:55 +00:00
Josh Faust 3cf9ee07b0 synchro -> sync. This didn't compile somewhere, let's find out where. 2010-03-15 22:24:27 +00:00
Josh Faust 12517c5629 Fix message definition 2010-03-15 20:33:10 +00:00
Josh Faust 3715220f69 Fix ServiceClientLink race condition 2010-03-13 04:23:09 +00:00
Josh Faust e2f293fab2 Add ros::console::formatToBuffer() and ros::console::formatToString() (#2403) 2010-03-13 02:03:10 +00:00
Ken Conley 1aeef532a5 roslib.message: added reload_on_error for rosh 2010-03-13 01:19:37 +00:00
Ken Conley 57aa18a38f added _reinit to roslib.masterapi 2010-03-13 01:19:23 +00:00
Josh Faust 8c37b94118 Fix compilation of createTimer() with const member-functions (#2521) 2010-03-12 23:55:47 +00:00
Josh Faust 8c08fd0e8f Merge subscription retry to trunk 2010-03-12 23:27:34 +00:00
Ken Conley eaa161be4d rosmaster: #2518 fixed hanging on shutdown 2010-03-12 08:52:59 +00:00
Ken Conley 4dcf9b5083 roslib.masterapi: param server support, plus doc cleanup 2010-03-10 23:50:05 +00:00
Ken Conley a8eb2af5b4 roslib.message: repr now returns str form 2010-03-10 02:57:57 +00:00
Josh Faust 323b760333 Fix uint32_t/size_t mismatch, incorrect warning in synchronizer test 2010-03-10 01:44:44 +00:00
Ken Conley f003412a14 roslib: fixing tests 2010-03-06 00:55:59 +00:00
Ken Conley df75ad5941 switching to rospyerr 2010-03-06 00:27:14 +00:00
Ken Conley 7cb7dda606 roslib.masterapi: support for getUri, plus an is_online check 2010-03-05 23:59:35 +00:00
Ken Conley 4325d4b2e1 removing unused validators 2010-03-05 23:40:51 +00:00
Ken Conley 28f06c233d code cleanup and doc fixes 2010-03-05 23:40:37 +00:00
Ken Conley b50f44ccca removing unused validators 2010-03-05 23:40:21 +00:00
Ken Conley f7ab60c439 removing old master code 2010-03-05 23:40:08 +00:00
Josh Faust cbf9412b6f switch constant integral values to enums to avoid linker errors with some versions of gcc 2010-03-05 22:57:12 +00:00
Josh Faust 1503ee053e Add getSubscriber() method to message_filters::Subscriber 2010-03-05 22:45:05 +00:00
Josh Faust cdadb20fbe Pass along remappings from parent node handles (#2454) 2010-03-05 22:37:06 +00:00
Josh Faust 4b32097f0f Correct initialization of constant floating point and string values (#2478) 2010-03-05 22:18:50 +00:00
Josh Faust 9e7b50b545 Change name to full_name in MsgSpec (#2420) 2010-03-05 21:49:07 +00:00
Josh Faust 6f710aa146 Add factory function argument to SubscribeOptions::init 2010-03-03 20:45:26 +00:00
Josh Faust b19b5b932d move Synchronizer/policies into synchro namespace (cannot use the name sync because of the sync() function in unistd) 2010-03-02 01:14:02 +00:00
Josh Faust fe145e5b08 fix approximate policy 2010-03-02 00:53:00 +00:00
Josh Faust b41dd27c46 Long-running timers should no longer be able to starve other callbacks when doing multithreaded spinning (#2470) 2010-03-02 00:28:21 +00:00
Ken Conley c874939a44 roslib.rosdistro: library for process distros. Copied from build_release. Have to merge in capabilities from release.py as well 2010-02-27 01:16:02 +00:00
Bhaskara Marthi 6572481fad fixed type specifiers for roslisp compound messages 2010-02-25 19:39:57 +00:00
Josh Faust 8a533debbb Fix compilation on OSX (and hopefully ubuntu hardy/anything else with gcc < 4.3) 2010-02-25 06:24:41 +00:00
Josh Faust ff8f464959 fix non-virtual destructor warnings 2010-02-25 05:49:07 +00:00
Josh Faust eda3954443 Refactor TimeSynchronizer into a policy-based Synchronizer class + ExactTime policy. Also integrate Romain's ApproximateTimeSynchronizer as ApproximateTime, but the tests are disabled as they are not passing yet.
TimeSynchronizer itself remains for backwards compatibility, but is not implemented as a subclass of Synchronizer<ExactTime<> >...
2010-02-24 23:43:40 +00:00
Josh Faust b7d2f5af73 add operator<< for messages (#2461) 2010-02-23 19:16:50 +00:00
Josh Faust 7339063b57 update docstrings 2010-02-22 23:40:30 +00:00
Josh Faust 35d4b08726 * Add new members to MsgSpec, SrvSpec: name, short_name, package
* Add new roslib.msgs.Field class, which contains name, type, base_type, is_array, array_len, is_header, is_builtin
 * Add MsgSpec.parsed_fields() which returns a list of Fields
 * Rework roscpp genmsg/gensrv code to work w/new members
 * Rework roscpp gensrv code to generate MsgRequest/MsgResponse classes that get put outside the service struct, and typedef'd in
2010-02-22 22:53:13 +00:00
Josh Faust faca051145 cached parameters no longer hit parameter server every time if the parameter did not exist (#2455) 2010-02-22 18:47:58 +00:00
Ken Conley 5332b0cf6f rosdoc: attempting to add in repo info to stack manifest, as well as vcs info 2010-02-22 04:01:24 +00:00
Ken Conley e35a86e57b roslib.vcs: bug fix to guess_vcs_uri 2010-02-20 10:26:42 +00:00
Ken Conley b6eb93059f roslib.vcs: added get_svn_url to help fix #2456 2010-02-20 10:04:18 +00:00
Ken Conley e46600dce2 rosdoc.yaml 2010-02-20 08:53:45 +00:00
Ken Conley bb226b4dea roslib.vcs: adding common checkout routine 2010-02-20 07:11:58 +00:00
Ken Conley 99a8e7bd24 roslib.vcs: new module for collection version-control routines 2010-02-20 06:52:23 +00:00
Josh Faust 27386d0ba2 docstrings 2010-02-19 03:31:05 +00:00
Brian Gerkey 4e0dde65ca Added missing callerid header field to publisher's XML/RPC response for UDPROS 2010-02-19 02:27:48 +00:00
Josh Faust a69c8b7b49 Better fix for #1520, which also fixes #2444 2010-02-19 01:32:23 +00:00
Josh Faust 0a0a13e348 fix shedloads of compile warnings 2010-02-19 01:03:06 +00:00
Josh Faust e789e6ac7a Merge message_overhaul branch to trunk 2010-02-18 22:22:20 +00:00
Ken Conley 03f2627151 adding suggestion when make package_source fails 2010-02-18 02:14:43 +00:00