Maisa, I assume you are trying to launch the Arduino IDE? That is going to require a desktop (or an X11 session I guess) to run properly. Can you describe your setup and exactly what you are doing?--On Dec 30, 2016 2:55 PM, "Griswald Brooks" <griswal...@gmail.com> wrote:The arduino cli is still linked to the ide, which needs to connect to an X11 session (a screen).There is a work around to redirect that, but I never got it to work,though it must work somehow, as there are travis implementations that use it.Maybe you can get some leads from this?--On 30 December 2016 at 11:23, Maisa Jazba <maisa...@gmail.com> wrote:when I typed arduino on the terminal it gave me an error :
Exception in thread "main" java.lang.ExceptionInInitializerError
at processing.app.Preferences.save(Preferences.java:735)
at processing.app.Preferences.init(Preferences.java:249)
at processing.app.Base.main(Base.java:117)
Caused by: java.awt.HeadlessException:No X11 DISPLAY variable was set, but this program performed an operation which requires it.at sun.awt.HeadlessToolkit.getMenuShortcutKeyMask(HeadlessToolkit.java:236)
at processing.core.PApplet.<clinit>(Unknown Source)
... 3 moreI googled about it but no solve for this issue2016-12-30 20:39 GMT+02:00 Mark Womack <mwo...@gmail.com>:M,Did any of that help? Are you able to pass ROS messages between your Pi and Mega?-MarkYou received this message because you are subscribed to a topic in the Google Groups "HomeBrew Robotics Club" group.--On Thu, Dec 29, 2016 at 4:35 PM, 'Camp Peavy' via HomeBrew Robotics Club <hbrob...@googlegroups.com> wrote:> Yes sure,I want to make robot do mapping by SLAM.I want to use arduino for low level control(to get the encoders value and determine the speed and velocity)A lot of us have standardized on the Neato Botvac platform with this ROS package: https://github.com/SV-ROS/intro_to_rosEnjoy,CampI've been using ros_serial with my Nomad project. With it I've been able to read my sensors and operate servos for the pan-tilt.--Jeffrey CicolaniPresident; The Robot Group; http://therobotgroup.orgChair; Chupacabracon; http://chupacabracon.comSee my most recent geekiness at www.cicolanistudios.com and http://nomadrobot.info
"Power to the people powerful enough to crush the other people" Joss Whedon"Always be yourself... unless you suck." Joss WhedonOn Wed, Dec 28, 2016 at 11:18 AM, M jz <maisa...@gmail.com> wrote:Yes sure,I want to make robot do mapping by SLAM.I want to use arduino for low level control(to get the encoders value and determine the speed and velocity)
بتاريخ الأربعاء، 28 ديسمبر، 2016 4:11:34 ص UTC+2، كتب Mark Womack:Well, one very simple goal is to be able to execute the HelloWorld example from the ros_arduino code. That will demonstrate that you have everything installed and functioning correctly. Then you can look at figuring out how to spin wheels. :-)1) I am assuming that you have ROS installed on your Pi.2) I am assuming that you have installed the Arduino IDE. I installed it on my Pi as well, I have the Ubuntu Mate desktop installed on it, so it makes it easy to run ROS and the Arduino IDE on it. And it just convenient to have everything to develop with on a single machine (the Pi). Actual deployment for real usage may differ after the development is done (wait, is it ever really 'done'? ~:0 )Assuming the above are true, you should follow the instructions here to install the ros_arduino:I did step 2.1.1 (using 'kinetic' instead of 'indigo' as shown in the example), skipped 2.1.2 (not needed), and then did 2.2. At the end of that, you should have the ros_lib installed in your Arduino IDE.At this point, I would connect your Mega to your Pi via a USB cable and make sure you can see it using the Arduino IDE. Try uploading the basic Blink example to it to make sure you can upload sketches to it. If you get an error like "Error opening serial port", then see the "Please read" section of this page: https://www.arduino.cc/en/Guid e/LinuxSo, now you have ROS installed. You have ros_lib installed on the Arduino IDE. You have your Mega attached to the Pi. Now you will want to try out the Hello World ros_arduino example.You should be able to open the ros_lib->HelloWorld example in the Arduino IDE. Upload the code and then try running it per the instruction on the HelloWorld link.If you can get it the HelloWorld running on the Mega to publish "hellow world!" to ROS running on the Pi, then you are up and running. You can move onto the Blink example to test out ROS subscribers:I hope this helps.-MarkOn Tue, Dec 27, 2016 at 4:31 PM, 'Camp Peavy' via HomeBrew Robotics Club <hbrob...@googlegroups.com> wrote:> I have downloaded ROS_arduino_bridge but I do not know what's the next step I must to do.I'm completely confusedDo you have a goal in mind? That is to "move wheels" or "monitor sensors"... without a goal it will never make sense.- Camp
I have downloaded ROS_arduino_bridge but I do not know what's the next step I must to do.I'm completely confused
بتاريخ الثلاثاء، 27 ديسمبر، 2016 1:52:05 ص UTC+2، كتب Griswald Brooks:ros_serialOn 25 December 2016 at 14:58, Mark Womack <mwo...@gmail.com> wrote:I have been using ros arduino with a Teensy and I just connected the Teensy to one of the USB ports of the Pi3. I imagine it would be something similar for the Mega? I guess another way would be to connect via the serial connection from the Pi3, but I have not attempted that.With the connection using the USB ports, I have been able to run all the ros arduino examples.Mark--On Dec 25, 2016 2:09 PM, "Chris Albertson" <alberts...@gmail.com> wrote:--Look here: http://wiki.ros.org/ros_ arduino_bridge
On Sun, Dec 25, 2016 at 9:25 AM, M jz <maisa...@gmail.com> wrote:
> Hi all,
> I am going to make a robot with Raspberry pi 3 and Arduino mega with ROS, I
> have installed ROS kinetic on both of Pi's and laptop.When I want to connect
> Arduino with Raspberry I stucked over there ,I read that the best way to
> connect them is using USB,but I do not know how to do that?Can any one help
> me?
--
Chris Albertson
Redondo Beach, California
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@ googlegroups.com.
To post to this group, send email to hbrob...@googlegroups.com.
Visit this group at https://groups.google.com/ group/hbrobotics.
For more options, visit https://groups.google.com/d/ optout.
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@ googlegroups.com.
To post to this group, send email to hbrob...@googlegroups.com.
Visit this group at https://groups.google.com/ group/hbrobotics.
For more options, visit https://groups.google.com/d/ optout.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups. com.--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To post to this group, send email to hbrob...@googlegroups.com.
Visit this group at https://groups.google.com/grou p/hbrobotics.
For more options, visit https://groups.google.com/d/op tout.--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups. com.
To post to this group, send email to hbrob...@googlegroups.com.
Visit this group at https://groups.google.com/grou p/hbrobotics.
For more options, visit https://groups.google.com/d/op tout.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+unsubscribe@ googlegroups.com.--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To post to this group, send email to hbrob...@googlegroups.com.
Visit this group at https://groups.google.com/ group/hbrobotics.
For more options, visit https://groups.google.com/d/ optout.
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+unsubscribe@googlegroups.com.
To post to this group, send email to hbrob...@googlegroups.com.
Visit this group at https://groups.google.com/group/hbrobotics.
For more options, visit https://groups.google.com/d/optout.--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+unsubscribe@googlegroups.com.
To post to this group, send email to hbrob...@googlegroups.com.
Visit this group at https://groups.google.com/group/hbrobotics.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/hbrobotics/KVtf0ognkJ4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to hbrobotics+unsubscribe@googlegroups.com.
To post to this group, send email to hbrob...@googlegroups.com.
Visit this group at https://groups.google.com/group/hbrobotics.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+unsubscribe@googlegroups.com.
To post to this group, send email to hbrob...@googlegroups.com.
Visit this group at https://groups.google.com/group/hbrobotics.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+unsubscribe@googlegroups.com.
To post to this group, send email to hbrob...@googlegroups.com.
Visit this group at https://groups.google.com/group/hbrobotics.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups.com.
To post to this group, send email to hbrob...@googlegroups.com.
Visit this group at https://groups.google.com/group/hbrobotics.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+unsubscribe@googlegroups.com.
To post to this group, send email to hbrob...@googlegroups.com.Visit this group at https://groups.google.com/group/hbrobotics.For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+unsubscribe@googlegroups.com.
To post to this group, send email to hbrob...@googlegroups.com.
Visit this group at https://groups.google.com/group/hbrobotics.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+unsubscribe@googlegroups.com.
To post to this group, send email to hbrob...@googlegroups.com.
Visit this group at https://groups.google.com/group/hbrobotics.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+unsubscribe@googlegroups.com.
To post to this group, send email to hbrob...@googlegroups.com.
Visit this group at https://groups.google.com/group/hbrobotics.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+unsubscribe@googlegroups.com.
To post to this group, send email to hbrob...@googlegroups.com.
Visit this group at https://groups.google.com/group/hbrobotics.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+unsubscribe@googlegroups.com.
To post to this group, send email to hbrob...@googlegroups.com.
Visit this group at https://groups.google.com/group/hbrobotics.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+unsubscribe@googlegroups.com.
To post to this group, send email to hbrob...@googlegroups.com.
Visit this group at https://groups.google.com/group/hbrobotics.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+unsubscribe@googlegroups.com.
To post to this group, send email to hbrob...@googlegroups.com.
Visit this group at https://groups.google.com/group/hbrobotics.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+unsubscribe@googlegroups.com.
Keep in mind the Pi3 also has a conflict with UART GPIO pins. The
Pi3 added a Blutooth interface and they used the same UART pins to
talk to it. There are various write-ups on how to disable the
Bluetooth so that you can use the UART on the GPIO pins. I haven't
actually tried any of this, but I think I got this right.
- Jeff Sampson
If you use the FTDI cable, you really should use the cable with the 3.3V I/O. The XV-11 has 3.3V I/O that is not 5 V tolerant (according to the spec sheet for the CPU chip that they used). Also keep this is in mind if you connect the XV-11 to any serial interface, make sure it is 3.3V logic or do your own level translation. (A standard Arduino is 5V logic)
And "these guys" (getSurreal) are part of this conversation... I
use that board. I like it. But I cut a trace and added a voltage
divider so it does not put 5V signal on the XV-11 3.3V input pin.
In case I ever want to send data to the XV-11 in the future...
- Jeff Sampson
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+unsubscribe@googlegroups.com.
To post to this group, send email to hbrob...@googlegroups.com.
Visit this group at https://groups.google.com/group/hbrobotics.
For more options, visit https://groups.google.com/d/optout.
Is it possible to get Linux on a Mac? I have a surreal board with a Lidar. Can't use setup till I get Linux on Mac. Any assistance