Hi guys, I'm about writing some ROS code in order to access Nokia N900 accelerometer. This is the first time I develop on top of ROS. The idea would be to both get sensor data, and use the phone to control robots (like turtles...). Accessing sensor data is easy, it's based on DBUS and well documented on N900 documentation (http://wiki.maemo.org/Accelerometers). Even if it seems to have a poor resolution, maybe it could be used to detect shocks, etc... Questions I have are mostly about how to flawlessly integrate such new code within ROS. As there are lots of existing code, it's quite hard to have the big picture, overview, and know where to put things, and what code to re-use. Maybe you could enlighten me... For now, what I have in mind is the following (inspired by existing wiimote package): - n900_accel_node.py: published accelerometer data - n900_accel_teleop.py: subscribe to accelerometer data and publish joy/Joy messages - no service About accelerometer data, should I use IMU data format ? (http://www.ros.org/doc/api/sensor_msgs/html/msg/Imu.html) ? Should I also publish raw data topics, as I sometime can see ? Wiimote package embeds everything related to the remote, accelerometer, LEDs, rumble, etc... When developing more code, should I create a (huge) N900 package, with accelerometers, camera, LEDs, sound recorder, etc... ? Should I define a stack for this purpose, with dedicated packages for each N900 "features" ? Thanks in advance for your help Cheers, Seb -- Sébastien Lelong http://www.sirloon.net http://sirbot.org -- View this message in context: http://ros-users.122217.n3.nabble.com/Implementing-a-new-sensor-N900-accelerometer-tp948709p948709.html Sent from the ROS-Users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ ros-users mailing list ros-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ros-users