8000 Develop by jabrena · Pull Request #1 · ev3dev-lang-java/docs · GitHub
[go: up one dir, main page]

Skip to content

Develop #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 70 commits into from
Nov 13, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
c3968e2
Migrating to asciidoctor
jabrena Jun 24, 2017
2373cbe
Minor change
jabrena Jun 24, 2017
1a40a74
Minor change
jabrena Jun 24, 2017
0bd4dd8
Removing a link for a external link
jabrena Jun 24, 2017
ae03d1b
Minor change
jabrena Jun 24, 2017
1df612d
Fixed problem with CSS.
jabrena Jun 24, 2017
421c24c
Minor change
jabrena Jun 24, 2017
7ca4c50
Delete 31313.png
jabrena Jun 24, 2017
25b45d5
Delete 45544.png
jabrena Jun 24, 2017
ade3bb5
Delete ColorSensorDemo.java
jabrena Jun 24, 2017
6c87749
Delete GyroSensorDemo.java
jabrena Jun 24, 2017
f08e715
Delete GyroSensorDemo2.java
jabrena Jun 24, 2017
7e94a0a
Delete GyroSensorDemo3.java
jabrena Jun 24, 2017
e69510d
Delete IRSensorDemo.java
jabrena Jun 24, 2017
3a8531e
Delete IRSensorDemo2.java
jabrena Jun 24, 2017
0d6aa17
Delete IRSensorDemo3.java
jabrena Jun 24, 2017
f22c71b
Delete TouchSensorDemo.java
jabrena Jun 24, 2017
1535b12
Delete ev3_gyro_sensor.png
jabrena Jun 24, 2017
ad83b69
Delete ev3_gyro_sensor_example1.png
jabrena Jun 24, 2017
396f1b2
Delete ev3_ir_sensor.png
jabrena Jun 24, 2017
05712dc
Delete ev3_ir_sensor_example1.png
jabrena Jun 24, 2017
031537c
Delete ev3_ir_sensor_example2.png
jabrena Jun 24, 2017
e1d581f
Delete ev3_ir_sensor_example3.png
jabrena Jun 24, 2017
85025f3
Delete ev3_large_motor.png
jabrena Jun 24, 2017
01f47d3
Delete ev3_large_motor_example1.png
jabrena Jun 24, 2017
6fdc3a7
Delete ev3_light_sensor.png
jabrena Jun 24, 2017
2910212
Delete ev3_light_sensor_example1.png
jabrena Jun 24, 2017
9a5a330
Delete ev3_touch_sensor.png
jabrena Jun 24, 2017
d9cbc27
Delete ev3_touch_sensor_example1.png
jabrena Jun 24, 2017
889181d
Delete ev3_touch_sensor_example2.png
jabrena Jun 24, 2017
efba38e
Delete ev3_touch_sensor_example3.png
jabrena Jun 24, 2017
068f0f8
Delete humanSenses.png
jabrena Jun 24, 2017
148f412
Better index
jabrena Jun 24, 2017
4d512b5
Minor change
jabrena Jun 24, 2017
358b78f
Minor change
jabrena Jun 24, 2017
b738c27
Minor change
jabrena Jun 24, 2017
d63746e
Adding GA
jabrena Jun 24, 2017
84e0f1c
Improving Gradle tasks
jabrena Jun 24, 2017
b1e1188
Fixed About Section
jabrena Jun 24, 2017
924e8b9
Review Getting Started
jabrena Jun 24, 2017
c3f8b1b
Minor change
jabrena Jun 24, 2017
5243793
Removing numbers
jabrena Jun 25, 2017
7b541d7
Minor change
jabrena Jun 25, 2017
86d9e98
Improving some sections about fundamentals.
jabrena Jun 25, 2017
62f19a1
Adding new pictures about Sensors
jabrena Jun 25, 2017
de068e9
Adding doc for EV3 US Sensor
jabrena Jun 25, 2017
c76ad7c
Adding GA manually
jabrena Jun 25, 2017
4509191
Minor change
jabrena Jun 25, 2017
7500431
New update
jabrena Jun 27, 2017
82a11ae
New docs
jabrena Jun 28, 2017
2a7c4a8
Adding example about Motors
jabrena Jun 28, 2017
f3b83a6
Adding motor section
jabrena Jun 28, 2017
aedd1b8
New update
jabrena Jun 30, 2017
19e7dbe
Improving documentation about Getting Started.
jabrena Jul 1, 2017
21958b9
More changes
jabrena Jul 1, 2017
04885e9
New update
jabrena Jul 3, 2017
a1f467e
Adding BNO055 in the section about IMU
jabrena Aug 13, 2017
5411cb6
Doc upgrade
jabrena Apr 24, 2018
05be296
Splitting section laptop by OS criteria.
jabrena Apr 26, 2018
1464203
Adding more granular information about Debian Jessie & Debian Stretch
jabrena Apr 26, 2018
da67f2b
8000 More granular JVM info. Not finished
jabrena Apr 26, 2018
058ac46
Improved the documentation about the Brick installation process
jabrena Apr 26, 2018
628fedf
Improving the organization of the Sensors with 2 big categories:
jabrena Apr 26, 2018
f9db3fd
Improving documentation about Getting Started
jabrena Apr 29, 2018
5139dee
Brick Review
jabrena Apr 29, 2018
027b81e
Improving the guide to use Template Project
jabrena Apr 29, 2018
4cfa7b7
Minor change
jabrena Apr 29, 2018
2e36bbd
About section upgraded
jabrena Apr 29, 2018
315c79a
Upgrading docs to unify the JVM to install on EV3
jabrena May 23, 2018
819fa45
Merge branch 'master' into develop
jabrena Nov 13, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Apply and reload
Prev Previous commit
Next Next commit
Review Getting Started
  • Loading branch information
jabrena committed Jun 24, 2017
commit 924e8b92ed95c04a04a88b0f0f1993cbd8d175b4
8 changes: 8 additions & 0 deletions src/main/asciidoc/getting_started/HelloWorld.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
public class HelloWorld {

public static void main(String[] args) {
// Prints "Hello, World" to the terminal window.
System.out.println("Hello, World");
}

}
18 changes: 9 additions & 9 deletions src/main/asciidoc/getting_started/brick.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ sudo apt-get dist-upgrade
sudo reboot
```

### 2. Install Java on your brick
## 2. Install Java on your brick

For this step exist 2 paths. One path is for EV3 Brick and another path for BrickPi users and PiStorms users.
For this step exists 2 paths. One path is for EV3 Brick and another path for BrickPi/PiStorms users.

**2.1 EV3 Brick:**
### 2.1 EV3 Brick

The EV3 Brick was designed with a SOC based on [ARM EABI](https://wiki.debian.org/ArmEabiPort)
and the best JVM option for that hardware architecture is the Oracle JRE 8 to install in the brick but, it is not possible to install directly in the brick
Expand All @@ -40,7 +40,7 @@ Once, you have the file on the brick, you can continue the Java installation wit

https://github.com/ev3dev-lang-java/installer

**Using the installer:**
#### Using the installer

```
cd /home/robot
Expand All @@ -52,7 +52,7 @@ sudo ./installer.sh help
sudo ./installer.sh
```

**Manual way:**
#### Manual way

```
tar -zxvf "/home/robot/ejdk-8-fcs-b132-linux-arm-sflt-03_mar_2014.tar.gz" -C /opt
Expand All @@ -62,7 +62,7 @@ java -version

Now, you have Java on your EV3 Brick

**2.2 BrickPi+ / PiStorms:**
### 2.2 BrickPi 3 / BrickPi+ / PiStorms

Using the installer, it is possible to automate everything:

Expand All @@ -78,11 +78,11 @@ sudo ./installer.sh help
sudo ./installer.sh
```

### 3. Create your first Project and deploy on your Brick
## 3. Create your first Project and deploy on your Brick

Once you have the required infrastructure on your Brick, it is possible to experiment with the libraries in some ways:

**3.1 Using a Gradle template project**
### 3.1 Using a Gradle template project

If you like, you can experiment with the project, using the following project template:

Expand Down Expand Up @@ -112,7 +112,7 @@ Besides, exist a task to provide access to a Profiling tool if you execute:
./gradlew deployAndProfilingRun
```

**3.2 Create a project from scratch:**
### 3.2 Create a project from scratch

Another alternative is the creation of a project from Scratch using Maven/Gradle.

Expand Down
37 changes: 26 additions & 11 deletions src/main/asciidoc/getting_started/laptop.adoc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
= Getting Started on your computer
# Getting Started on your computer

== 1. Install/Update your development environment
## 1. Install/Update your development environment

=== 1.1 Install Java
### 1.1 Install Java

To begin any Java development, you need to be installed Java.

Expand All @@ -17,7 +17,7 @@ brew install Caskroom/cask/java

Further information about Java: https://www.java.com/es/about/whatis_java.jsp[https://www.java.com/es/about/whatis_java.jsp]

=== 1.2 Install Maven/Gradle
### 1.2 Install Maven/Gradle

*OSX:*

Expand All @@ -31,18 +31,33 @@ Further information about Maven & Gradle:
https://maven.apache.org/[https://maven.apache.org/]
https://gradle.org/[https://gradle.org/]

=== 1.3 Install a Git Client
### 1.3 Install a Git Client

Install a visual Git Client to download this repository.
https://www.sourcetreeapp.com/[https://www.sourcetreeapp.com/]

=== 1.4 Install a Java IDE
### 1.4 Install a Java IDE

Install a Java IDE to use this repository with examples about
ev3dev-lang-java.
Install a Java IDE to develop Java Software
https://www.jetbrains.com/idea/[https://www.jetbrains.com/idea/]

=== 1.5 Download the repository on your computer
## 2. Test your local environment

Using SourceTree, try to donwload the repository on local. The address
about the repository is: https://github.com/ev3dev-lang-java/ev3dev-lang-java.git[https://github.com/ev3dev-lang-java/ev3dev-lang-java.git]
Once, you have installed everything, it is necessary to verify that everything goes well.

Create a file with the name of HelloWorld.java and copy and paste on it the following content:

[source,java]
----
include::./HelloWorld.java[]
----

Later, open a terminal and type:

``` java
javac HelloWorld.java
java HelloWorld
```

You should read: `HelloWorld` if the answer is **Yes**, your installation process on your
personal computer has finished.
21 changes: 7 additions & 14 deletions src/main/asciidoc/index.adoc
Original file line number Diff line number Diff line change
@@ -1,25 +1,18 @@
# EV3Dev-Java / docs

## About the project

Learn details about the project itself.

* link:./about/ev3dev-java.html[What is EV3Dev-java?]
* link:./about/ev3dev-compatibility.html[Compatibility table]

## Getting Started

Learn how to install the minimum Java infrastructure in your local computer
and the required requisites on your brick to develop Software for robots.

* link:./getting_started/laptop.html[Laptop]
* link:./getting_started/brick.html[Brick]
* link:./getting_started/laptop.html[Getting started with your Laptop]
* link:./getting_started/brick.html[Getting started with your Brick]

## Fundamentals of Robotics

Learn the basic concepts about Robotics.

* link:./introduction/whatIsARobot.html[What is a robot?]
* link:./architecture/index.html[The robot architecture]
* link:./actuators/index.html[Actuators]
* link:./sensors/index.html[Sensors]

## About the project

* link:./about/ev3dev-java.html[What is EV3Dev-java?]
* link:./about/ev3dev-compatibility.html[Compatibility table]
0