-
 
No version for distro humble. Known supported distros are highlighted in the buttons above.
No version for distro iron. Known supported distros are highlighted in the buttons above.
No version for distro jazzy. Known supported distros are highlighted in the buttons above.
No version for distro rolling. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 1.0.0
License Apache License, Version 2.0
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/nasa/astrobee.git
VCS Type git
VCS Version master
Last Updated 2024-07-03
Dev Status UNMAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Package for ff nodelet stuff

Additional Links

No additional links.

Maintainers

  • Astrobee Flight Software

Authors

  • Astrobee Flight Software

\page config_reader Config Reader

This library assists in reading values from Lua config files. It also provides a way to check if files have been changed so that a program can reload the config values if desired.

Usage

To use this library, specify the config files needed by using the add files function. After all the files have been added, call the read files function to load the variables into Lua.

For the purpose of this config reader, Lua is made up of four basic types: booleans, numbers, strings, and tables. Use the getter functions along with the variable names to read these types out of Lua. The getter functions will return true if the value was successfully read or it will return false if the variable name doesn’t exist or if the wrong type getter was used. For instance, if a value is of type int and the GetBool function is used, the function will fail. A check value exists function is provide so that a programmer can check to see if a value exists before trying to read it.

A table class is provide to help read data out of Lua tables. Lua tables can be either an array (meaning the value in the table can be extracted using an index), a map (meaning the value in the table can be extracted using a variable name), or both. The get size function can be used to get the size of a table that is an array or the size of the array portion of a table.

If a timer is setup to call the check file updated function, the config reader will periodically check to see if the files added to it have been modified. Be sure to pass a reload function to the check file updated function so that your reload function will be called when a file is modified. Also, you must call the read files function in the reload function so that the values can be reloaded into Lua.

CHANGELOG
No CHANGELOG found.

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged config_reader at Robotics Stack Exchange

No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.
No version for distro eloquent. Known supported distros are highlighted in the buttons above.
No version for distro dashing. Known supported distros are highlighted in the buttons above.
No version for distro galactic. Known supported distros are highlighted in the buttons above.
No version for distro foxy. Known supported distros are highlighted in the buttons above.
No version for distro lunar. Known supported distros are highlighted in the buttons above.
No version for distro jade. Known supported distros are highlighted in the buttons above.
No version for distro indigo. Known supported distros are highlighted in the buttons above.
No version for distro hydro. Known supported distros are highlighted in the buttons above.
No version for distro kinetic. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 1.0.0
License Apache License, Version 2.0
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/nasa/astrobee.git
VCS Type git
VCS Version master
Last Updated 2024-07-03
Dev Status UNMAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Package for ff nodelet stuff

Additional Links

No additional links.

Maintainers

  • Astrobee Flight Software

Authors

  • Astrobee Flight Software

\page config_reader Config Reader

This library assists in reading values from Lua config files. It also provides a way to check if files have been changed so that a program can reload the config values if desired.

Usage

To use this library, specify the config files needed by using the add files function. After all the files have been added, call the read files function to load the variables into Lua.

For the purpose of this config reader, Lua is made up of four basic types: booleans, numbers, strings, and tables. Use the getter functions along with the variable names to read these types out of Lua. The getter functions will return true if the value was successfully read or it will return false if the variable name doesn’t exist or if the wrong type getter was used. For instance, if a value is of type int and the GetBool function is used, the function will fail. A check value exists function is provide so that a programmer can check to see if a value exists before trying to read it.

A table class is provide to help read data out of Lua tables. Lua tables can be either an array (meaning the value in the table can be extracted using an index), a map (meaning the value in the table can be extracted using a variable name), or both. The get size function can be used to get the size of a table that is an array or the size of the array portion of a table.

If a timer is setup to call the check file updated function, the config reader will periodically check to see if the files added to it have been modified. Be sure to pass a reload function to the check file updated function so that your reload function will be called when a file is modified. Also, you must call the read files function in the reload function so that the values can be reloaded into Lua.

CHANGELOG
No CHANGELOG found.

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged config_reader at Robotics Stack Exchange