tangobot icon indicating copy to clipboard operation
tangobot copied to clipboard

Node configuration

Open jubeira opened this issue 8 years ago • 5 comments

Many nodes of the Nav Stack (mainly move_base, but also others like robot state publishers with its descriptions) require to have access to several configuration parameters. In Linux, this problem is addressed using launchfiles, which are not available in Android environments. Then, some other way of configuring nodes has to be implemented in Android to solve this problem.

One possible option is to create a node that reads configuration files and updates the parameter server, emulating launchfiles. Another option is to configure the nodes by using code directly (perhaps faster to implement, but less flexible).

jubeira avatar Jan 24 '17 21:01 jubeira

@jubeira in the past we had written some code to read a yaml file and upload it to the parameter server. I don't know where that ended up but it wasn't very complicated. IIRC we would store the configuration in a yaml file in the application resource directory as a raw resource.

adamantivm avatar Jan 24 '17 21:01 adamantivm

@adamantivm I think you mean the library mentioned in #21. This is certainly a good candidate to solve this problem, I will look into it soon.

jubeira avatar Jan 30 '17 20:01 jubeira

UPDATE: SnakeYaml library was added as a RosJava node in #24 . Node configuration shall be done using this tool.

jubeira avatar Feb 03 '17 19:02 jubeira

Update: with #31, the local and global costmap common parameters are configured as in the Turtlebot example. Planners and navcore parameters pending.

jubeira avatar Feb 17 '17 14:02 jubeira

Update: #40 adds the default navstack configuration for a turtlebot. See #43; this configuration with the current libraries used according to roscpp_android doesn't archive the exact same behavior on Linux / Android.

jubeira avatar Mar 10 '17 14:03 jubeira