Functions
bma180_node.cpp File Reference
#include <cmath>
#include <ros/ros.h>
#include <ros/time.h>
#include <bma180.hpp>
#include <sub20_interface.hpp>
#include <bma180_driver/bma180_measurement.h>
Include dependency graph for bma180_node.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)

Function Documentation

int main ( int  argc,
char **  argv 
)

This class is an example node that publishes the data from several BMA180s. In this case, the BMA180s are all connected on the same hardware interface, a sub20. However, multiple hardware interfaces can be instantiated. In this way, the user can create a node that publishes all BMA180 data regardless of the hardware interface that it is connected to.

The unique identifier for the hardware interface connecting the BMA180 sensors to the computer.

How many BMA180s are connected to the interface. In i2c mode, maximum is 2 on one device (using separate addresses). in SPI mode, maximum is # of chipselect lines on one device.

Definition at line 59 of file bma180_node.cpp.



bosch_drivers_basic_nodes
Author(s): Joshua Vasquez, Philip Roan. Maintained by Philip Roan
autogenerated on Mon Oct 6 2014 10:10:31