Comments (3)
http://redmine.yujin.com/issues/1671
from kobuki.
1 data.gp_adc[0] = mpuAdc()( gpADC_0 );
2 data.gp_adc[1] = mpuAdc()( gpADC_1 );
3 data.gp_adc[2] = mpuAdc()( gpADC_2 );
4 data.gp_adc[3] = mpuAdc()( gpADC_3 );
5 data.gp_adc[4] = mpuAdc()( gpADC_4 );
6 data.gp_adc[5] = 0; //mpuAdc()( gpADC_5 );
7 data.gp_adc[6] = 0; //mpuAdc()( gpADC_6 );
8
9 data.gp_input = 0;
10 data.gp_input |= read_gpi(gpioDI_0) ? 1 : 0;
11 data.gp_input |= read_gpi(gpioDI_1) ? 2 : 0;
12 data.gp_input |= read_gpi(gpioDI_2) ? 4 : 0;
13 data.gp_input |= read_gpi(gpioDI_3) ? 8 : 0;
14 data.gp_input |= read_gpi(gpioDI_4) ? 16 : 0;
15
16 data.gp_input |= 0; // read_gpi(gpioRobotOnOff) ? 32 : 0; // robot on-off
17 data.gp_input |= read_gpi(gpioDI_5) ? 64 : 0;
command_id
16 bits for gp inputs
7 ADC value (unsigned short int)
from kobuki.
It's publishing fine on core sensors. I just trimmed back the vector a little to remove the two redundant zeros at the end. Also why is there a fifth analog value???
from kobuki.
Related Issues (20)
- Rebuild applications with trees HOT 1
- ROS2 port yocs_cmd_vel mux - TODO
- ROS2 port yocs_velocity_smoother - TODO
- Unable to build from source after 'eloquent message variable name refactor' HOT 3
- To simulate multiple Kobuki robots HOT 2
- Kobuki odometry in world frame HOT 1
- Does the topic /odom published by kobuki_node use imu or wheel encoder? HOT 1
- error: ‘KEYCODE_RIGHT’ is not a member of ‘kobuki_msgs::KeyboardInput {aka kobuki_msgs::KeyboardInput_<std::allocator<void> >}’ case kobuki_msgs::KeyboardInput::KEYCODE_RIGHT: HOT 7
- Change default base_link_frame so no error is thrown tf HOT 1
- Can not connect to the file server to download the The Flashing Utility stm32flash-0.4.tar.gz HOT 2
- No response on kobuki_testsuite test_rotation.py and test_translation.py HOT 2
- Updating Firmware HOT 1
- Custodians for the ROS1 Kobuki Repositories HOT 1
- melodic release for apt install in Ubuntu 18 HOT 2
- Odom topic position.Y remains zero HOT 1
- Is a release for ROS Noetic planned anytime soon? HOT 3
- OpenCV library stdlib.h missing in colcon build of kobuki sim
- ..
- No way to calibrate gyro
- Cliff event is not firing in gazebo simulation [melodic]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kobuki.