Difference between revisions of "raspiext"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
+ | =System= | ||
The system can be downloaded from the following link [] | The system can be downloaded from the following link [] | ||
Line 4: | Line 5: | ||
The system starts in console mode, to switch to desktop (LXDE) mode issue the command <code>startx</code>. | The system starts in console mode, to switch to desktop (LXDE) mode issue the command <code>startx</code>. | ||
− | The ROS workspace is located in <code>~/rosbots_catkin_ws/</code>< | + | =ROS= |
− | To start the e-puck2 ROS node issue the command: <code>roslaunch epuck_driver_cpp epuck_controller.launch epuck_id:='3000'</code> | + | The ROS workspace is located in <code>~/rosbots_catkin_ws/</code> |
+ | |||
+ | Before starting the e-puck2 ROS node, issue the following commands: | ||
+ | * <code>export ROS_IP=raspberry-ip</code> | ||
+ | * <code>export ROS_MASTER_URI=http://pc-ip:11311 | ||
+ | |||
+ | To start the e-puck2 ROS node issue the command:<br/> | ||
+ | <code>roslaunch epuck_driver_cpp epuck_controller.launch epuck_id:='3000'</code> | ||
+ | This launch file will start the e-puck2 node and the camera node. | ||
+ | |||
+ | On the PC side issue the following commands in one terminal: | ||
+ | * <code>export ROS_IP=pc-ip</code> | ||
+ | * <code>export ROS_MASTER_URI=http://pc-ip:11311 | ||
+ | * roscore | ||
+ | And then start rviz in another terminal: | ||
+ | * rviz rviz | ||
+ | * open the configuration file you find in the | ||
− | |||
e-puck2 firmware and selector on position 10... | e-puck2 firmware and selector on position 10... | ||
The last version of the e-puck2 ROS node can be downloaded from the git []. | The last version of the e-puck2 ROS node can be downloaded from the git []. |
Revision as of 13:00, 7 November 2018
1 System
The system can be downloaded from the following link []
user/pw: pi/raspberry
The system starts in console mode, to switch to desktop (LXDE) mode issue the command startx
.
2 ROS
The ROS workspace is located in ~/rosbots_catkin_ws/
Before starting the e-puck2 ROS node, issue the following commands:
export ROS_IP=raspberry-ip
export ROS_MASTER_URI=http://pc-ip:11311
To start the e-puck2 ROS node issue the command:
roslaunch epuck_driver_cpp epuck_controller.launch epuck_id:='3000'
This launch file will start the e-puck2 node and the camera node.
On the PC side issue the following commands in one terminal:
export ROS_IP=pc-ip
export ROS_MASTER_URI=http://pc-ip:11311
- roscore
And then start rviz in another terminal:
- rviz rviz
- open the configuration file you find in the
e-puck2 firmware and selector on position 10...
The last version of the e-puck2 ROS node can be downloaded from the git [].