Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
I have been working on implementing services and thought it would be nice to get some feedback. This is still a work in progress, so this should not be merged.
Check out the new tests in Tests/MsgGen.hs, and Tests/ServiceClientTests/ServiceClientTest.hs (instructions in comments). Right now it can generate Haskell types for service messages (tested by MsgGen), and call ROS services without any error handling (tested by ServiceClientTest).
Service message generation is not yet integrated into the executable.
Service Haskell types are just like message types except that they are also instances of SrvInfo. The generated Haskell message type files should be the same as before except they might have an extra newline at the end.
Except for MsgGen, changes to existing code are minimal: there is some code extraction and changes suggested by hlint.
…n be generated simultaneously. The gen tests now pass, still need to update md5 specific tests.
…in enough information.
…ieve the return values.
…te (in progress), add add_two_ints_server.py as a local file for servicetest.