Compare commits

..

3 Commits

Author SHA1 Message Date
c31c674ab2 some minor fixes 2019-08-12 12:12:23 +02:00
db615af775 small fixes 2019-08-12 12:10:52 +02:00
609a890572 fixed wrong import 2019-08-12 12:10:30 +02:00
4 changed files with 6 additions and 5 deletions

View File

@ -21,7 +21,7 @@ In addition you will need the following tools:
* Solder wire * Solder wire
* Heat shrink tube * Heat shrink tube
* Some wires * Some wires
* Battery connectors (female) * Battery connectors (fitting your battery)
* Velcro tape * Velcro tape
* Self adhesive tape * Self adhesive tape
* Isolation tape * Isolation tape
@ -68,7 +68,7 @@ In the next step we connect the battery connector pins of the battery shield to
| Heat the shrink tube with a lighter | ![I see fire](https://imaginaerraum.de/git/Telos4/RoboRally/raw/branch/master/docs/images/motor_battery_stack_6.jpeg) | | Heat the shrink tube with a lighter | ![I see fire](https://imaginaerraum.de/git/Telos4/RoboRally/raw/branch/master/docs/images/motor_battery_stack_6.jpeg) |
| This is how the battery shield should look like with the two wires | ![Two wires with heat shrink](https://imaginaerraum.de/git/Telos4/RoboRally/raw/branch/master/docs/images/motor_battery_stack_6.5.jpeg) | | This is how the battery shield should look like with the two wires | ![Two wires with heat shrink](https://imaginaerraum.de/git/Telos4/RoboRally/raw/branch/master/docs/images/motor_battery_stack_6.5.jpeg) |
- Next, we create a connector for the female JST 2-Pin connector for plugin in the battery: - Next, we create a connector for the battery. In my case the battery had a male JST 2-Pin connector, so I soldered a female JST 2-Pin connector for plugin it in:
| Description | Image| | Description | Image|
|--------------|---------------| |--------------|---------------|

View File

@ -123,7 +123,7 @@ You can control the robot by sending commands to the robot as a string containin
Have a look at the `keyboard_controller.py` script to see how this works in python. Have a look at the `keyboard_controller.py` script to see how this works in python.
### Isolating the electronics ### Isolating the electronics
Since the mounting plates of the robot are made of metal it is a good idea to put some isolation around the electronics. You can use some isolation tape to cover the exposed connections: Since the mounting plates of the robot are made of metal it is a good idea to put some isolation around the electronics. You can use some isolation tape to cover the exposed pins:
![Isolation tape](https://imaginaerraum.de/git/Telos4/RoboRally/raw/branch/master/docs/images/isolation_tape_2.JPG) ![Isolation tape](https://imaginaerraum.de/git/Telos4/RoboRally/raw/branch/master/docs/images/isolation_tape_2.JPG)
You can also add some velcro tape to the electronics, the battery and the robot to easily attach and remove the microcontroller from the robot. You can also add some velcro tape to the electronics, the battery and the robot to easily attach and remove the microcontroller from the robot.

View File

@ -121,7 +121,7 @@ $ roscore
- Plug in the camera and start the camera node: - Plug in the camera and start the camera node:
``` ```
$ rosparam set cv_camera/device_id 0 # make sure to set the correct device id for your camera! $ rosparam set cv_camera/device_id 0 # make sure to set the correct device id for your camera!
$ roslauch cv_camera cv_camera_node $ rosrun cv_camera cv_camera_node
``` ```
- Optional: Check if the camera works correctly; - Optional: Check if the camera works correctly;
@ -142,6 +142,7 @@ $ roslaunch aruco_detect aruco_detect.launch camera:=cv_camera image:=image_raw
$ rosrun image_view image_view image:=/fiducial_images $ rosrun image_view image_view image:=/fiducial_images
``` ```
Place a marker in the field of view of the camera and check if it gets correctly detected by the image detection, i.e. there is a border around the square of the marker and arrows indicating its orientation. Place a marker in the field of view of the camera and check if it gets correctly detected by the image detection, i.e. there is a border around the square of the marker and arrows indicating its orientation.
![fiducial_images output](https://imaginaerraum.de/git/Telos4/RoboRally/raw/branch/master/docs/images/image_view_3.jpg) ![fiducial_images output](https://imaginaerraum.de/git/Telos4/RoboRally/raw/branch/master/docs/images/image_view_3.jpg)
![fiducial_images output](https://imaginaerraum.de/git/Telos4/RoboRally/raw/branch/master/docs/images/image_view_4.jpg) ![fiducial_images output](https://imaginaerraum.de/git/Telos4/RoboRally/raw/branch/master/docs/images/image_view_4.jpg)
If the marker is not detected correctly, please check that you are using the correct dictionary, that you camera was calibrated and that you are launching the `aruco_detect` node with the correct parameters If the marker is not detected correctly, please check that you are using the correct dictionary, that you camera was calibrated and that you are launching the `aruco_detect` node with the correct parameters

View File

@ -1,7 +1,7 @@
import sys import sys
import rospy import rospy
from marker_pos_angle.msg import id_pos_angle from fiducial_transform.msg import id_pos_angle
from fiducial_msgs.msg import FiducialTransformArray from fiducial_msgs.msg import FiducialTransformArray
from tf.transformations import euler_from_quaternion from tf.transformations import euler_from_quaternion