Difference between revisions of "IGVC Software"
Jump to navigation
Jump to search
(→igvc_utils) |
(→NodeUtils) |
||
Line 43: | Line 43: | ||
====Serial==== | ====Serial==== | ||
====NodeUtils==== | ====NodeUtils==== | ||
− | NodeUtils is a utility class which contains methods that are generally | + | NodeUtils is a utility class which contains methods that are generally useful to nodes: |
− | + | ; <code>igvc::param(const ros::NodeHandle pNh, const std::string ¶m_name, T ¶m_val, const T &default_val)</code> | |
+ | : Calls <code>pNh.param</code> with the provided parameters, outputting to <code>ROS_ERROR_STREAM</code> if the parameter is not provided and set from the default value | ||
+ | |||
+ | ; <code>igvc::getParam(const ros::NodeHandle &pNh, const std::string ¶m_name, T ¶m_val)</code> | ||
+ | : Calls <code>pNh.getParam</code> with the provided parameters, outputting to <code>ROS_ERROR_STREAM</code> if the parameter is not provided, then calls <code>ros::shutdown()</code> to exit. | ||
===igvc_msgs=== | ===igvc_msgs=== | ||
[[Category:IGVC]] | [[Category:IGVC]] |
Revision as of 23:37, 30 November 2018
Contents
General Information
Our software team uses Robot Operating System (ROS) to develop our code. ROS is a flexible framework developed for quickly prototyping of code for robotic applications. There are many libraries of code that use ROS which allow us to integrate them into our code base with ease.
Quick Links
Installation Instructions
Management
How To Guides
Package Overview
igvc_description
igvc_gazebo
Gazebo Interface
igvc_perception
Filter Lidar
Vision
Path Planner
Path Follower
State Estimator
Mapper
Waypoint
Wheel Odometer
igvc_platform
Motor Controller
IMU
Joystick Driver
System Stats
igvc_rviz_plugins
RVIZ plugins
igvc_utils
Serial
NodeUtils
NodeUtils is a utility class which contains methods that are generally useful to nodes:
igvc::param(const ros::NodeHandle pNh, const std::string ¶m_name, T ¶m_val, const T &default_val)
- Calls
pNh.param
with the provided parameters, outputting toROS_ERROR_STREAM
if the parameter is not provided and set from the default value
igvc::getParam(const ros::NodeHandle &pNh, const std::string ¶m_name, T ¶m_val)
- Calls
pNh.getParam
with the provided parameters, outputting toROS_ERROR_STREAM
if the parameter is not provided, then callsros::shutdown()
to exit.