Hello everyone, this is my first post in this forum. I work a lot with ROS (Robot Operating System) and so far I've been using a bunch of arduinos to get the job done. But I need more horsepower so I jumped on the mbed wagon.
The main issue here is to have these boards communicate through serial with ROS, for which a package called "rosserial_mbed" is used (http://wiki.ros.org/rosserial_mbed).
I have both an NXP-LPC1768 and a EFM32 Wonder Gecko. The NXP board has worked out of the box and communicates without any issues with ROS, when loading a simple example program like this one: https://developer.mbed.org/users/garyservin/code/rosserial_mbed_hello_world_publisher/
With the Gecko however, I first had to update the firmware using Simplicity Studio to have the board appear as a Mass Storage Device. After this, the board did show up as it it was a USB stick and contained files linking to the mbed website, and a README specifying that the "Virtual COM port speed is currently fixed at 115200 bps".
At that point I just compiled and flashed the same program, but I can't seem to be able to establish a serial connection with the board with rosserial. The command "rosrun rosserial_python serial_node.py /dev/ttyACM0 _baud:=115200" just says that it is unable to sync with the device.
At this point I am asking myself if this board is actually capable of doing this. In the mbed website, if you filter by "mbed enabled" the EFM32 Wonder Gecko isn't listed. However in the board website (https://developer.mbed.org/platforms/EFM32-Wonder-Gecko/) there is a huge sign saying "Mbed enabled"....
What I am missing here? Any ideas what am I doing wrong ?
Thanks in advance,
Pedro
Hello everyone, this is my first post in this forum. I work a lot with ROS (Robot Operating System) and so far I've been using a bunch of arduinos to get the job done. But I need more horsepower so I jumped on the mbed wagon. The main issue here is to have these boards communicate through serial with ROS, for which a package called "rosserial_mbed" is used (http://wiki.ros.org/rosserial_mbed).
I have both an NXP-LPC1768 and a EFM32 Wonder Gecko. The NXP board has worked out of the box and communicates without any issues with ROS, when loading a simple example program like this one: https://developer.mbed.org/users/garyservin/code/rosserial_mbed_hello_world_publisher/
With the Gecko however, I first had to update the firmware using Simplicity Studio to have the board appear as a Mass Storage Device. After this, the board did show up as it it was a USB stick and contained files linking to the mbed website, and a README specifying that the "Virtual COM port speed is currently fixed at 115200 bps". At that point I just compiled and flashed the same program, but I can't seem to be able to establish a serial connection with the board with rosserial. The command "rosrun rosserial_python serial_node.py /dev/ttyACM0 _baud:=115200" just says that it is unable to sync with the device.
At this point I am asking myself if this board is actually capable of doing this. In the mbed website, if you filter by "mbed enabled" the EFM32 Wonder Gecko isn't listed. However in the board website (https://developer.mbed.org/platforms/EFM32-Wonder-Gecko/) there is a huge sign saying "Mbed enabled"....
What I am missing here? Any ideas what am I doing wrong ?
Thanks in advance,
Pedro