I now got the code working for the Neato XV11 Lidar scanner, so I can add it to my TeddyRobot, and include it into the ROS NavStack.


Sometimes the solution would be easy….
…damn I swapped Rx and Tx and everything went fine,
and I was so sure I connected, documented and even checked multiple times that all is as it should.
At first I thought the level shifter isn’t working, but my brand new Open Workbench Logic Sniffer showed signals, same signals before and after shifting, and was even able to autobaudrate guess my GPS defaults which is 38400.
As I 3D printed a case for the cubieboard I needed to remove the board from the robot anyway so I had the chance to look at the tiny pin headers again, oh and yes I swapped the cables for Rx and Tx there…. damn.
Meanwhile ROS hydro has it’s own gscam modules released, so I migrated from my own compiled module and also reconfigured the topic remapping.
ptzcam.launch file:
<?xml version=”1″ encoding=”utf-8″?>
<launch>
<node pkg=”gscam” type=”gscam” name=”gscamptz” cwd=”node” respawn=”true”>
<env name=”GSCAM_CONFIG” value=”v4l2src device=/dev/video0 always-copy=false ! video/x-raw-yuv,width=320,height=240,framerate=15/1 ! ffmpegcolorspace”/>
<remap from=”camera/image_raw” to=”/camera/ptz/image_raw” />
<remap from=”camera/camera_info” to=”/camera/ptz/camera_info” />
</node>
</launch>
|
|
|
|
Enabled ROS GPS on Cubieboard
Experimenting with the ATtiny2313 to get my 4 HC-SR04 sonic range finders queried from my bigger Arduino via I2C.
Got ir running using evry single byte in the FLASH of the TINY, but couldn’t implement a on/off control due to this memory limit.
ROS IMU/Websocket/MjpegServer on Cubieboard
finished wrote minimuahrs for i2c on cubie
mjpegserver on cubie / gscam stereo cams
rosws1 on cubie / OpenNI testing with Asus xTion Pro / rgbdslam